Build 5899
SVN-
Fix addlogvar command, broken in r5835.
Nickname SVN e nomi Git sono unificati per persona.
Fix addlogvar command, broken in r5835.
Fix the return command within events, broken since r5097.
Fix VM_ScriptInfo so that it never reads before the beginning of the bytecode.
Correct handling of size-zero gamearrays: Prevent a crash upon loading a savegame containing them, and allow resizearray to zero.
Fix a harmless "Internal compiler error" warning when using quick structure access on userdef.
fix 'resizearray' after r4735: copy over old values, zero-init new ones.
Make lunatic/test/gamearray.con run in C-CON, too.
Really fix get/setprojectile.
Fix a mistake in r5086 that broke get/setprojectile.
Fix processing the bytecode in an incorrect order when executing setplayer on a member with a second parameter, a missed instance of a consideration from r5086.
fix 'writearraytofile' for 64-bit platforms.
fix 'readgamearray' and 'resizearray' on Windows.
We must not use Xrealloc(), since gamearrays are now allocated with Xaligned_alloc(). NOTE: I did not check all potential problematic cases, only those to get LNGA3 up and running.
fix 'readgamearray' on 64-bit platforms.
Also prettify P_DisplaySpit().
fix possible crash when a CON error is raised due to access of invalid sprite.
For example, in CON_ERRPRINTF("invalid target sprite (%d) %d %d\n", iActor, vm.g_i, TrackerCast(vm.g_sp->picnum)); vm.g_i can be -1 and vm.g_sp can be NULL then. (Not anymore.) DONT_BUILD.
scan label names according to stricter LunaCON rules instead of char blacklist.
These ones: http://lunatic.eduke32.com/lunacon.html#_ambiguous_lexical_elements Seriously, defining a token kind by excluding certain characters (instead of allowing a given set) is really, really broken.
fix 'copy' on 64-bit archs.