donnierussellii
donnierussellii
Items can't be spawned, the cheat command is simply writing over the inventory structure. This is a hard problem; we'd have to load the level where a certain weapon is,...
Since weapons acquired with the cheat command are not "world" objects, they aren't handled properly in some obscure ways. I think what's causing the strange ammo type behavior is that,...
Maybe I'm wrong (it's been a long time since I went digging into the code), but I don't think that would fix it, since an energy weapon can be in...
My idea is to use the pointer to the last byte of the bmp, keeping the hash at 64 bits.
I think we could just use a 64-bit hash for all platforms (on 32-bit cpus, slower, though), but if it's a 32-bit pointer simply cast it to a 64-bit value,...
I'm far from a Linux expert, but maybe a library is corrupt, missing or Linux can't find it. Maybe try sudo ldconfig or specify a path to the library LD_LIBRARY_PATH=...
The va_list type is probably implemented differently between the two distros' C libraries.
va_list is only supposed to be used with the other va_macros. The code assumes we're adding an integer offset to a stack ptr. This should be rewritten compliant with stdarg.
Fix in my PR #378