Add some test CON files to source/lunatic/test.
The code is mostly by other people, who are credited in the CON files.
29 marzo 2013 · 5 commit di 1 autore · SVN
------------------------------------------------------------------------
r3627 | helixhorned | 2013-03-29 08:59:26 -0700 (Fri, 29 Mar 2013) | 3 lines
Add some test CON files to source/lunatic/test.
The code is mostly by other people, who are credited in the CON files.
------------------------------------------------------------------------
r3626 | helixhorned | 2013-03-29 08:59:23 -0700 (Fri, 29 Mar 2013) | 9 lines
Return early from A_IncurDamage() if actor[].picnum ("htpicnum" in CON) is < 0.
With this change, it is impossible for negative values to be used as array
indices inside this function, and I believe that it is also impossible that
they escape to somewhere they might be used as such.
For Lunatic, allow setting actor[].picnum to negative values and in the
translator, add (commented out) code to warn whenever it is set to a constant
negative value. Also, fix a _sound call in _addphealth in control.lua.
------------------------------------------------------------------------
r3625 | helixhorned | 2013-03-29 08:59:20 -0700 (Fri, 29 Mar 2013) | 1 line
Windows: make the crash log file named eduke32_or_mapster32.crash.log.
------------------------------------------------------------------------
r3624 | helixhorned | 2013-03-29 08:59:17 -0700 (Fri, 29 Mar 2013) | 1 line
Don't output an empty SelectedGRP entry into the cfg, fixing bare EDuke32 build.
------------------------------------------------------------------------
r3623 | helixhorned | 2013-03-29 08:59:14 -0700 (Fri, 29 Mar 2013) | 1 line
Mapster32: factor out 3x computing "alwaysshowgray", but don't change anything.
------------------------------------------------------------------------
The code is mostly by other people, who are credited in the CON files.
With this change, it is impossible for negative values to be used as array indices inside this function, and I believe that it is also impossible that they escape to somewhere they might be used as such. For Lunatic, allow setting actor[].picnum to negative values and in the translator, add (commented out) code to warn whenever it is set to a constant negative value. Also, fix a _sound call in _addphealth in control.lua.