yquake2remaster/src
Yamagi Burmeister e137ff1168 Fix stupid bug in brush model indix block size calculations.
We're taking indices and converting them to pointer relative to the
hunks base. Yes, that's dirty. Since the indices are stored as 32 bit
values and hunks are generally small using 32 bit pointers is enough,
even on 64 bit platforms. So the code took the size of void* / 2...
See the problem? Yes, that's not a good idea on 32 bit platforms. Bite
the bullet and just take the size of void*. Shouldn't be a problem,
because the indices are the first thing that's loaded and the hunk is
trimmed right after it anyways. If, and just if, we really need each and
every byte in the early stages of map loading we need two cases. One for
64 bit and one for 32 bit.

This fixes issue #346. Kudos to @ricardosdl for the analysis.
2018-11-22 17:41:55 +01:00
..
backends Fix Windows build. 2018-11-22 16:55:08 +01:00
client Fix stupid bug in brush model indix block size calculations. 2018-11-22 17:41:55 +01:00
common Fix lost time calculation. 2018-11-12 22:17:10 +01:00
game cppcheck fixes. 2018-11-12 22:59:10 +02:00
server Some small cleanups to entity file support. 2018-10-07 09:51:19 +02:00
win-wrapper Convert the quake2.exe wrapper to a Windows GUI application. 2018-02-04 11:35:10 +01:00