gzdoom-gles/wadsrc/static
Christoph Oelckers ac86a535e7 - fixed: State labels were resolved in the calling function's context instead of the called function one's.
This could cause problems with functions that take states as parameters but use them to set them internally instead of passing them through the A_Jump interface back to the caller, like A_Chase or A_LookEx.
This required some quite significant refactoring because the entire state resolution logic had been baked into the compiler which turned out to be a major maintenance problem.
Fixed this by adding a new builtin type 'statelabel'. This is an opaque identifier representing a state, with the actual data either directly encoded into the number for single label state or an index into a state information table.
The state resolution is now the task of the called function as it should always have remained. Note, that this required giving back the 'action' qualifier to most state jumping functions.

- refactored most A_Jump checkers to a two stage setup with a pure checker that returns a boolean and a scripted A_Jump wrapper, for some simpler checks the checker function was entirely omitted and calculated inline in the A_Jump function. It is strongly recommended to use the boolean checkers unless using an inline function invocation in a state as they lead to vastly clearer code and offer more flexibility.

- let Min() and Max() use the OP_MIN and OP_MAX opcodes. Although these were present, these function were implemented using some grossly inefficient branching tests.
- the DECORATE 'state' cast kludge will now actually call ResolveState because a state label is not a state and needs conversion.
2016-11-14 14:12:27 +01:00
..
filter Split ANIMATED into three parts, filtered by game that uses them 2016-10-15 21:40:24 -05:00
graphics Move extra font characters into filter directories 2016-02-04 13:23:36 -06:00
maparrows Normalize line endings 2016-03-01 09:47:10 -06:00
mapinfo - converted the rest of actors/shared. 2016-10-14 10:46:15 +02:00
sbarinfo Normalize line endings 2016-03-01 09:47:10 -06:00
shaders/d3d Normalize line endings 2016-03-01 09:47:10 -06:00
sounds - Reprocess all sounds with flac 1.2.1. 2009-09-15 01:55:36 +00:00
sprites - added pickup sprite for Chex Quest's Mini Zorcher (i.e. pistol replacement.) 2015-04-27 10:24:49 +02:00
textures About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
xlat - update xlat/eternity.txt for reference. 2016-08-03 13:16:14 +02:00
zscript - fixed: State labels were resolved in the calling function's context instead of the called function one's. 2016-11-14 14:12:27 +01:00
althudcf.txt Normalize line endings 2016-03-01 09:47:10 -06:00
animdefs.txt Normalize line endings 2016-03-01 09:47:10 -06:00
compatibility.txt - made disabling the push window check a real compatibility option. 2016-08-09 20:15:13 +02:00
confont.lmp Updated console font by GFD. 2016-02-14 09:27:20 +01:00
dbigfont.lmp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
decaldef.txt Normalize line endings 2016-03-01 09:47:10 -06:00
defbinds.txt Externalized default key bindings 2015-04-05 21:40:53 -05:00
dehsupp.txt Normalize line endings 2016-03-01 09:47:10 -06:00
etc.h.txt Normalize line endings 2016-03-01 09:47:10 -06:00
fontdefs.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_epi1.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_epi2.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_epi3.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_htc1.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_htc2.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_htc3.txt Normalize line endings 2016-03-01 09:47:10 -06:00
indexfont - fixed some incorrect file names in the new WADSRC directory and deleted obsolete makefiles. 2008-07-23 15:32:18 +00:00
iwadinfo.txt - added identification for delaweare.wad to the list of supported IWADs. 2016-06-02 12:04:35 +02:00
language.eng - moved bobbing menu strings into the correct file. 2016-08-16 11:20:22 +02:00
language.enu Added a slider to control the intensity of underwater screen blending. 2016-11-11 17:18:39 +08:00
language.fr Normalize line endings 2016-03-01 09:47:10 -06:00
language.ita Normalize line endings 2016-03-01 09:47:10 -06:00
language.ptb Normalize line endings 2016-03-01 09:47:10 -06:00
lockdefs.txt Adds //%Title property to all locks to make parsing LOCKDEFS by map editors more feasible. 2016-07-12 23:52:04 +02:00
menudef.txt Added a slider to control the intensity of underwater screen blending. 2016-11-11 17:18:39 +08:00
netnotch.dat - added Gez's patch to move Hexen's startup notches out of the EXE. 2010-03-27 21:12:08 +00:00
notch.dat - added Gez's patch to move Hexen's startup notches out of the EXE. 2010-03-27 21:12:08 +00:00
reverbs.txt Normalize line endings 2016-03-01 09:47:10 -06:00
sbarinfo.txt Normalize line endings 2016-03-01 09:47:10 -06:00
sbigfont.lmp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
sndinfo.txt Normalize line endings 2016-03-01 09:47:10 -06:00
sndseq.txt Normalize line endings 2016-03-01 09:47:10 -06:00
spaldoom.lmp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
spalhtic.lmp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
teaminfo.txt Normalize line endings 2016-03-01 09:47:10 -06:00
terrain.txt Normalize line endings 2016-03-01 09:47:10 -06:00
textcolors.txt Normalize line endings 2016-03-01 09:47:10 -06:00
textures.txt Normalize line endings 2016-03-01 09:47:10 -06:00
things.h.txt Normalize line endings 2016-03-01 09:47:10 -06:00
vga-rom-font.16 About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
x11r6rgb.txt Normalize line endings 2016-03-01 09:47:10 -06:00
xhairs.txt Normalize line endings 2016-03-01 09:47:10 -06:00
zscript.txt - fixed: State labels were resolved in the calling function's context instead of the called function one's. 2016-11-14 14:12:27 +01:00