Dicembre 2018
-
Generale
Move the debug_break() call in the default case of VM_Execute() to after the call to VM_ScriptInfo().
-
Generale
Fix error building the transpal utility
-
Generale
After some refactoring, several CON error checks done at runtime stood out as things that could be determined at script compile time. They have been moved.
-
Generale
Attempting to compile a CON with something stupid like "mul var 0" or "div var 0" in it now throws an error
-
Generale
cmenu console command now opens the menu if it isn't already open
-
Generale
Comment out actor and player versions of gamevar manipulation opcodes as they aren't performant with our current switch-based method of processing instructions. This also tweaks the beginning of VM_Execute() to gain a little more performance.
-
Generale
WIP work on fixing CON_DIVVAR/CON_MULVAR optimization
-
Generale
Implement individual opcodes for all the gamevar if checks and the functions that do math on vars
-
Generale
Global var opcodes for common conditional statements. Decent performance gain!
-
Generale
Change goofy check for g_errorCnt and g_warningCnt in gamedef
-
Generale
Use separate instructions in the bytecode for manipulating global variables versus more complex variable types. The optimization that transforms CON_DIVVAR and CON_MULVAR into CON_SHIFTVARR and CON_SHIFTVARL plus CON_INV has been disabled for now until I can debug a problem with it.
-
Generale
Replace pointer with reference in VM_Execute()
-
Generale
CON cleanup/tweaks. This improves the game update time by about 5% in some of my test scenarios.
-
Generale
Use reference to clean up CON_QSPRINTF
-
Generale
CON cleanups
-
Generale
Fix setvar console command, and add a line of output so you know it did something
-
Generale
This just shuffles some things around and these aren't (or shouldn't be) functional changes.
-
Generale
Set AllowShortCaseLabelsOnASingleLine to false and AlignAfterOpenBracket to Align in _clang-format
-
Generale
Initialize rottile values to -1 with a loop like this instead, because doing it the C++ way increases the binary size by like 120KB
-
Generale
This is a cool CON compiler optimization that replaces all of the "varvar" commands and conditional checks in the compiled code with the "var" version if the value supplied to the function is a constant
-
Generale
I'm pretty sure this is a bug
-
Generale
Move CON_STARTTRACK in gamedef.cpp so it isn't in between the related CON_IFXXX stuff nearby
-
Generale
Include build.h from player.h to satisfy the need for MAXPLAYERS and compat.h stuff that build.h pulls in
-
Generale
Bump MAXANGVEL and MAXHORIZ
-
Generale
Use LINE_NUMBER macro in gamedef.cpp
-
Generale
More minor CON parser cleanup. This commit is not incredibly meaningful.
-
Generale
This fixes a small oversight with r7238
-
Generale
Add bounds check to C_GetNextLabelName(). This isn't really necessary because the extra writes to the label buffer are immediately overwritten by the next label found, but I could see it causing a crash in an edge case where somehow the maximum number of labels had been defined.
-
Generale
Convert *(g_scriptPtr-x) syntax in gamedef.cpp to g_scriptPtr[-x], as it should ultimately be more readable and less prone to programming errors.
-
Generale
This was worth a couple fps in classic mode for me with particularly heavy CON scripts
-
Generale
Remove unnecessary spriteNum argument from P_Submerge() and P_Emerge()
-
Generale
- Packet code implementation (merge from private c/s repo), world updates are now synced through snapshots. See tag SVN_SyncPoint_Dec2018 on master of the other repo.
Mostra dettagli
- "Scratch pad" sprites implementation, to avoid desyncs in sprite indexes, clients will insert temporary sprites which are cleared out when they receive the next snapshot from the server. - Patches from Striker which fix player stomping frag counts, the accept button when hosting a game through the menu, and a "noffire" command line parameter. - Patches from NY00123: t_data sync optimizations to improve some jittery behavior on the client side.
Novembre 2018
-
Generale
macOS build fix
-
Generale
Fix oversight with wall texture rotation on tile 0
-
Generale
Fix issue with a couple symbols from cmdline.h sometimes picking up different linkage due to accidental double definition in game.h
-
Generale
CON syntax extension: the empty "[]" shortcut for accessing a struct at index THISACTOR can now be omitted.
Mostra dettagli
This allows cleaner syntax such as "geta .x temp", "ife sprite.x temp", etc.
-
Generale
Add unsigned access to actor .htmovflag through actor .htumovflag
-
Generale
Misc CON fixups
-
Generale
Further clean up C_SetScriptSize(). This also fixes a bug in the function where when expanding the buffer size, most of the extra space was left uninitialized due to bad parameters passed to memset().
-
Generale
Clean up A_InsertSprite() and the beginning of A_Spawn()
-
Generale
Shuffle things around so most of the script structure access stuff actually resides in gamestructures.cpp
-
Generale
Minor CON compiler cleanup
-
Generale
This should improve the reliability of CON_SWITCH, and maybe allow nesting them to work.
-
Generale
Small cleanup in gameexec
-
Generale
This is a little bit more readable
-
Generale
Fix Gv_GetArrayOrStruct() error message
-
Generale
EDUKE32_STANDALONE guard some more Duke3D-specific behavior
-
Generale
WIP wall texture rotation bit
-
Generale
Update libcompat-to-msvc.a for 32-bit so we can link against SDL 2.0.9
-
Generale
Compile without -fno-strict-aliasing.