Jump to content

Hacking on PrBoom+ and ran into a visual error


Phytolizer

Recommended Posts

Hello,

I have been hacking on Prboom+ for a while now, adding and changing things that I personally wanted. One of these things is colored blood, a la Crispy Doom. (I don't use Crispy Doom because it isn't MBF-compatible.) I added some code from crispy to r_things.c and the colored blood works in GL and software renderers (!) but I also have this strange artifact showing up on my weapon sprite:
image.png.354fe96cc6f8edd3f8db442c3478cdfa.png

It's fairly rare to observe (at least on MAP01), and only occurs when looking in specific places. I haven't worked with the Doom source code extensively enough to know what that means, other than I messed up translation tables somehow by introducing this to the vissprite_s class. Attached is a full diff of my changes from GZ's GitHub repo.

fulldiff.7z

 

EDIT: Because git diff missed it, here's the contents of v_trans.h and v_trans.c.

v_trans.7z

 

EDIT2: It's on GitHub now. https://github.com/onContentStop/prboom-plus/commit/f9134b06df5091016ac6787210d8afcfc08faaf3

Edited by Phytolizer

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...