In G_LoadAddon(), remove inner 'struct grpfile *grp', fixing uninited access.
... four lines later. I don't know if that is the intended semantics for this function, but nasal demons is clearly not what we want. Please review!
25 aprile 2013 · 4 commit di 1 autore · SVN
------------------------------------------------------------------------ r3712 | helixhorned | 2013-04-25 14:10:29 -0700 (Thu, 25 Apr 2013) | 5 lines In G_LoadAddon(), remove inner 'struct grpfile *grp', fixing uninited access. ... four lines later. I don't know if that is the intended semantics for this function, but nasal demons is clearly not what we want. Please review! ------------------------------------------------------------------------ r3711 | helixhorned | 2013-04-25 14:10:25 -0700 (Thu, 25 Apr 2013) | 3 lines Fix two harmless warnings and reindent one switch block. Also, make G_LoadAddon() local to game.c. ------------------------------------------------------------------------ r3710 | helixhorned | 2013-04-25 14:10:22 -0700 (Thu, 25 Apr 2013) | 1 line Lunatic (map-int VX) build: implement loading <V7 maps. ------------------------------------------------------------------------ r3709 | helixhorned | 2013-04-25 14:10:15 -0700 (Thu, 25 Apr 2013) | 5 lines Engine: auto-detect LameDuke's PALETTE.DAT and read tables accordingly. LameDuke's shade table has 32 gradients of shade, like Duke3D. For the translucency table though, only the diagonal + one half is stored because it's symmetric (50/50 translucency). ------------------------------------------------------------------------
... four lines later. I don't know if that is the intended semantics for this function, but nasal demons is clearly not what we want. Please review!
Also, make G_LoadAddon() local to game.c.
LameDuke's shade table has 32 gradients of shade, like Duke3D. For the translucency table though, only the diagonal + one half is stored because it's symmetric (50/50 translucency).