Build 9279
GIT-
Generale
Duke3D/CON: fix for disallowing digits at the start of var labels
Nickname SVN e nomi Git sono unificati per persona.
Duke3D/CON: fix for disallowing digits at the start of var labels
remove INTERNAL ERROR messages from Gv_GetVarIndex() and Gv_GetArrayIndex()
This is only ever used for refreshing pointers to certain special gamevars and for checking if variables in savegames exist in the currently running script--it doesn't need to print errors to the console.
get rid of separate check for common gamevar types before the switches in getvar__ and setvar__
It wasn't any faster.
Expose newgamecustom menu and submenu index to CON (read-only).
New userdef struct members: ud.m_newgamecustom, ud.m_newgamecustomsub
Merge branch 'goodbye_lunatic' into 'master'
Remove Lunatic-related code This removes almost anything related to Lunatic, not just LunaCON. It may remove a bit more than desired, e.g., functions that can be used as possible hooks (I believe that this was one purpose of LUNATIC_EXTERN, now replaced with static anywhere). Some bits like the optional fix for software rendering of walls with non-POT tile heights remain, albeit they're still compile-time disabled. As previously written, I still know that Philipp Kutin was spending a lot of time on this.
source/duke3d/src/gamevars.cpp: Remove LUNATIC definition of ADDWEAPONVAR
source/duke3d/src/gamevars.cpp: Remove POSTADDWEAPONVAR, since this
is a no-op in non-LUNATIC builds, which will be the only ones to stay.
mark compiled CON_MOVE/CON_AI/CON_ACTION with a trailing value
This is so I can tell the difference between actor .t_data[] values that are actually set to something defined in CON versus bullshit arbitrary internal usage of the same variable, which I need for a future commit.
remove extraneous call to videoNextPage() when handling savegames initiated from CON
use timerGetPerformanceCounter() instead of timerGetHiTicks() for CON performance profiling
this is intended to fix an issue where CON VM errors within a CON_FOR loop could cause an infinite loop
Fix off-by-one error in various CON text truncation warnings
Add missing diagnostic information for getactor/setactor
Internally, there are several different permutations of the opcodes that implement CON_GETACTOR and CON_SETACTOR. This maps the internal opcodes back to the external keywords that generated them and makes sure they all have the script line number attached to them for use in diagnostic warning and error messages.
Add getarraysequence and setarraysequence
Patch from Fox.
Factor out implementations of setarray and resizearray commands
Patch from Fox.
Mostly clean up the codebase in preparation for tspritetype != uspritetype
Remaining exceptions: SW - ConnectCopySprite CON and M32Script - pSprite/pUSprite
Fix -Wfallthrough error in gamevars.h