mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-29 11:40:37 +00:00
Build engine port backed by GZDoom tech. Currently supports Duke Nukem 3D, Blood, Shadow Warrior, Redneck Rampage and Powerslave/Exhumed.
a19dcdc48e
The story: Duke3D 1.5 source had "short frags[MAXPLAYERS][MAXPLAYERS]" and "clearbufbyte(&frags[0][0],(MAXPLAYERS*MAXPLAYERS)<<1,0L);". In r1625, g_player[].frags[MAXPLAYERS] was changed from an array of int32_t to one of uint8_t, but the clearing code ("clearbufbyte(&g_player[i].frags[0],MAXPLAYERS<<1,0L);") stayed. In r2201, I rewrote clearfrags() under the assumption that it really is supposed to clear stuff beyond .frags[]. The moral: 1. Write clean code. 2. Use sizeof. 3. Write clean code! git-svn-id: https://svn.eduke32.com/eduke32@2878 1a8010ca-5511-0410-912e-c29ae57300e0 |
||
---|---|---|
polymer | ||
polymer-perf | ||
.gitignore |