EDuke32 Changelog Archivio non ufficiale

Build 7657

18 maggio 2019 · 30 commit di 1 autore · SVN

Build per mese 100 build

File di log originale · 20190518-7657.txt
------------------------------------------------------------------------
r7657 | terminx | 2019-05-18 20:54:56 -0700 (Sat, 18 May 2019) | 3 lines

CON_USE_COMPUTED_GOTO eval macro micro-optimization

This is almost as fast as ditching the bounds check here entirely.
------------------------------------------------------------------------
r7656 | terminx | 2019-05-18 20:54:52 -0700 (Sat, 18 May 2019) | 1 line

Neat Polymost y-shearing patch from Nuke.YKT
------------------------------------------------------------------------
r7655 | terminx | 2019-05-18 20:54:48 -0700 (Sat, 18 May 2019) | 1 line

Fix old issue with VM_CONDITIONAL macro
------------------------------------------------------------------------
r7654 | terminx | 2019-05-18 20:54:44 -0700 (Sat, 18 May 2019) | 1 line

Rename Gv_GetArrayCountFromFile() to Gv_GetArrayCountForAllocSize()
------------------------------------------------------------------------
r7653 | terminx | 2019-05-18 20:54:40 -0700 (Sat, 18 May 2019) | 1 line

Rename Gv_SetVarX() to Gv_SetVar() (overloaded)
------------------------------------------------------------------------
r7652 | terminx | 2019-05-18 20:54:35 -0700 (Sat, 18 May 2019) | 1 line

Rename Gv_GetVarX() to Gv_GetVar() (overloaded)
------------------------------------------------------------------------
r7651 | terminx | 2019-05-18 20:54:29 -0700 (Sat, 18 May 2019) | 1 line

Fix a bunch of boolean cvars that weren't flagged as CVAR_BOOL, preventing them from working with the "toggle" console command
------------------------------------------------------------------------
r7650 | terminx | 2019-05-18 20:54:24 -0700 (Sat, 18 May 2019) | 1 line

Polymost shade table interpolation patch from Nuke.YKT
------------------------------------------------------------------------
r7649 | terminx | 2019-05-18 20:54:21 -0700 (Sat, 18 May 2019) | 1 line

Fix buffer overflow in polymost_drawrooms
------------------------------------------------------------------------
r7648 | terminx | 2019-05-18 20:54:17 -0700 (Sat, 18 May 2019) | 1 line

const correctness that I didn't have another commit to squash into
------------------------------------------------------------------------
r7647 | terminx | 2019-05-18 20:54:12 -0700 (Sat, 18 May 2019) | 3 lines

Rename "loopcnt" to "vm_execution_depth" and CON_DIRECT_THREADING_DISPATCH to CON_USE_COMPUTED_GOTO

Also removes a redundant "break" statement in builds not using CON_USE_COMPUTED_GOTO.
------------------------------------------------------------------------
r7646 | terminx | 2019-05-18 20:54:08 -0700 (Sat, 18 May 2019) | 3 lines

Simplify the beginning of VM_Execute()

This also moves the loop control stuff into #ifndef CON_DIRECT_THREADING_DISPATCH blocks, since we don't actually need a loop anymore when using the computed goto stuff.
------------------------------------------------------------------------
r7645 | terminx | 2019-05-18 20:54:04 -0700 (Sat, 18 May 2019) | 3 lines

Minor changes similar to the VM_Execute() maintenance commit

No user-facing changes.
------------------------------------------------------------------------
r7644 | terminx | 2019-05-18 20:54:00 -0700 (Sat, 18 May 2019) | 3 lines

Fix a potentially funny bug in the CON parser

I don't think anyone actually ran into this.
------------------------------------------------------------------------
r7643 | terminx | 2019-05-18 20:53:56 -0700 (Sat, 18 May 2019) | 3 lines

Organize Polymost cvars a little bit

This intentionally adds CVAR_NOSAVE to r_npotwallmode so that the recently added mode 2 can be more thoroughly tested by users with existing configuration files.
------------------------------------------------------------------------
r7642 | terminx | 2019-05-18 20:53:52 -0700 (Sat, 18 May 2019) | 1 line

VS project file updates
------------------------------------------------------------------------
r7641 | terminx | 2019-05-18 20:53:46 -0700 (Sat, 18 May 2019) | 1 line

Simplify CON_FINDNEARACTOR family of functions and restore the original behavior of returning the nearest sprite instead of any sprite that satisfies the condition
------------------------------------------------------------------------
r7640 | terminx | 2019-05-18 20:53:42 -0700 (Sat, 18 May 2019) | 1 line

Fix errant "continue" found remaining in the CON_FINDNEARACTOR family of functions
------------------------------------------------------------------------
r7639 | terminx | 2019-05-18 20:53:38 -0700 (Sat, 18 May 2019) | 3 lines

Replace a handful of accesses to sprite[vm.spriteNum] with accesses to vm.pSprite

It looks like these were simply missed when vm.pSprite was initially added.
------------------------------------------------------------------------
r7638 | terminx | 2019-05-18 20:53:34 -0700 (Sat, 18 May 2019) | 3 lines

Add VM_ASSERT() macro for handling VM error conditions

This is for errors that simply check a condition (surrounded with EDUKE32_PREDICT_FALSE) and bail out with CON_ERRPRINTF() and abort_after_error(). Not everything that fits this description has been transitioned to use the new macro yet.
------------------------------------------------------------------------
r7637 | terminx | 2019-05-18 20:53:30 -0700 (Sat, 18 May 2019) | 1 line

Tweak inlined VM_OnEvent() internals, biggest change being the removal of two instances of EDUKE32_PREDICT_FALSE
------------------------------------------------------------------------
r7636 | terminx | 2019-05-18 20:53:25 -0700 (Sat, 18 May 2019) | 1 line

Use function overloading to clean up some of the CON event execution function names
------------------------------------------------------------------------
r7635 | terminx | 2019-05-18 20:53:20 -0700 (Sat, 18 May 2019) | 1 line

Optimize A_Execute() control flow
------------------------------------------------------------------------
r7634 | terminx | 2019-05-18 20:53:16 -0700 (Sat, 18 May 2019) | 1 line

Better VM_DummySprite()
------------------------------------------------------------------------
r7633 | terminx | 2019-05-18 20:53:11 -0700 (Sat, 18 May 2019) | 1 line

Clean up Lunatic stuff in VM_AlterAng()/VM_Move()/VM_UpdateAnim()/A_Execute()
------------------------------------------------------------------------
r7632 | terminx | 2019-05-18 20:53:07 -0700 (Sat, 18 May 2019) | 1 line

Add EDUKE32_PREDICT_FALSE to EVENT_ANIMATESPRITES check in G_SaveMapState() and G_RestoreMapState()
------------------------------------------------------------------------
r7631 | terminx | 2019-05-18 20:53:03 -0700 (Sat, 18 May 2019) | 1 line

Minor VM_Execute() maintenance
------------------------------------------------------------------------
r7630 | terminx | 2019-05-18 20:52:59 -0700 (Sat, 18 May 2019) | 1 line

Temporary voxel VBO fix
------------------------------------------------------------------------
r7629 | terminx | 2019-05-18 20:52:54 -0700 (Sat, 18 May 2019) | 1 line

Templatize bfirst_search_init() and bfirst_search_try() so they can be used with types other than int16_t
------------------------------------------------------------------------
r7628 | terminx | 2019-05-18 20:52:47 -0700 (Sat, 18 May 2019) | 3 lines

This is more efficient

This commit brought to you by 4/20.
------------------------------------------------------------------------
See http://svn.eduke32.com/listing.php?repname=eduke32 for more details.

CON_USE_COMPUTED_GOTO eval macro micro-optimization

Richard Gobeille (TerminX) 18 mag 2019, 20:54 UTC−7 r7657

This is almost as fast as ditching the bounds check here entirely.

Fix

Fix a bunch of boolean cvars that weren't flagged as CVAR_BOOL, preventing them from working with the "toggle" console command

Richard Gobeille (TerminX) 18 mag 2019, 20:54 UTC−7 r7651

Rename "loopcnt" to "vm_execution_depth" and CON_DIRECT_THREADING_DISPATCH to CON_USE_COMPUTED_GOTO

Richard Gobeille (TerminX) 18 mag 2019, 20:54 UTC−7 r7647

Also removes a redundant "break" statement in builds not using CON_USE_COMPUTED_GOTO.

Simplify the beginning of VM_Execute()

Richard Gobeille (TerminX) 18 mag 2019, 20:54 UTC−7 r7646

This also moves the loop control stuff into #ifndef CON_DIRECT_THREADING_DISPATCH blocks, since we don't actually need a loop anymore when using the computed goto stuff.

Engine

Organize Polymost cvars a little bit

Richard Gobeille (TerminX) 18 mag 2019, 20:53 UTC−7 r7643

This intentionally adds CVAR_NOSAVE to r_npotwallmode so that the recently added mode 2 can be more thoroughly tested by users with existing configuration files.

Engine

Simplify CON_FINDNEARACTOR family of functions and restore the original behavior of returning the nearest sprite instead of any sprite that satisfies the condition

Richard Gobeille (TerminX) 18 mag 2019, 20:53 UTC−7 r7641
Engine

Replace a handful of accesses to sprite[vm.spriteNum] with accesses to vm.pSprite

Richard Gobeille (TerminX) 18 mag 2019, 20:53 UTC−7 r7639

It looks like these were simply missed when vm.pSprite was initially added.

Add VM_ASSERT() macro for handling VM error conditions

Richard Gobeille (TerminX) 18 mag 2019, 20:53 UTC−7 r7638

This is for errors that simply check a condition (surrounded with EDUKE32_PREDICT_FALSE) and bail out with CON_ERRPRINTF() and abort_after_error(). Not everything that fits this description has been transitioned to use the new macro yet.

Tweak inlined VM_OnEvent() internals, biggest change being the removal of two instances of EDUKE32_PREDICT_FALSE

Richard Gobeille (TerminX) 18 mag 2019, 20:53 UTC−7 r7637
CON

Add EDUKE32_PREDICT_FALSE to EVENT_ANIMATESPRITES check in G_SaveMapState() and G_RestoreMapState()

Richard Gobeille (TerminX) 18 mag 2019, 20:53 UTC−7 r7632

Templatize bfirst_search_init() and bfirst_search_try() so they can be used with types other than int16_t

Richard Gobeille (TerminX) 18 mag 2019, 20:52 UTC−7 r7629