mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
ac86a535e7
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.
181 lines
4.8 KiB
Text
181 lines
4.8 KiB
Text
zscript/base.txt
|
|
zscript/constants.txt
|
|
zscript/actor.txt
|
|
zscript/actor_checks.txt
|
|
|
|
zscript/shared/inventory.txt
|
|
zscript/shared/player.txt
|
|
zscript/shared/morph.txt
|
|
zscript/shared/botstuff.txt
|
|
zscript/shared/sharedmisc.txt
|
|
zscript/shared/blood.txt
|
|
zscript/shared/debris.txt
|
|
zscript/shared/decal.txt
|
|
zscript/shared/splashes.txt
|
|
zscript/shared/pickups.txt
|
|
zscript/shared/fountain.txt
|
|
zscript/shared/spark.txt
|
|
zscript/shared/soundsequence.txt
|
|
zscript/shared/soundenvironment.txt
|
|
zscript/shared/bridge.txt
|
|
zscript/shared/specialspot.txt
|
|
zscript/shared/teleport.txt
|
|
zscript/shared/camera.txt
|
|
zscript/shared/movingcamera.txt
|
|
zscript/shared/mapmarker.txt
|
|
zscript/shared/waterzone.txt
|
|
zscript/shared/skies.txt
|
|
zscript/shared/hatetarget.txt
|
|
zscript/shared/secrettrigger.txt
|
|
zscript/shared/setcolor.txt
|
|
zscript/shared/sectoraction.txt
|
|
zscript/shared/ice.txt
|
|
zscript/shared/dog.txt
|
|
|
|
zscript/doom/doomplayer.txt
|
|
zscript/doom/possessed.txt
|
|
zscript/doom/doomimp.txt
|
|
zscript/doom/demon.txt
|
|
zscript/doom/lostsoul.txt
|
|
zscript/doom/cacodemon.txt
|
|
zscript/doom/bruiser.txt
|
|
zscript/doom/revenant.txt
|
|
zscript/doom/arachnotron.txt
|
|
zscript/doom/fatso.txt
|
|
zscript/doom/painelemental.txt
|
|
zscript/doom/archvile.txt
|
|
zscript/doom/cyberdemon.txt
|
|
zscript/doom/spidermaster.txt
|
|
zscript/doom/keen.txt
|
|
zscript/doom/bossbrain.txt
|
|
|
|
zscript/doom/deadthings.txt
|
|
zscript/doom/doomammo.txt
|
|
zscript/doom/doomarmor.txt
|
|
zscript/doom/doomartifacts.txt
|
|
zscript/doom/doomhealth.txt
|
|
zscript/doom/doomkeys.txt
|
|
zscript/doom/doommisc.txt
|
|
zscript/doom/doomdecorations.txt
|
|
zscript/doom/doomweapons.txt
|
|
zscript/doom/stealthmonsters.txt
|
|
zscript/doom/scriptedmarine.txt
|
|
|
|
zscript/raven/artiegg.txt
|
|
zscript/raven/artitele.txt
|
|
zscript/raven/ravenartifacts.txt
|
|
zscript/raven/ravenhealth.txt
|
|
zscript/raven/ravenambient.txt
|
|
zscript/raven/minotaur.txt
|
|
|
|
zscript/heretic/hereticplayer.txt
|
|
zscript/heretic/hereticammo.txt
|
|
zscript/heretic/hereticarmor.txt
|
|
zscript/heretic/hereticartifacts.txt
|
|
zscript/heretic/heretickeys.txt
|
|
zscript/heretic/hereticdecorations.txt
|
|
zscript/heretic/hereticmisc.txt
|
|
zscript/heretic/hereticweaps.txt
|
|
zscript/heretic/mummy.txt
|
|
zscript/heretic/clink.txt
|
|
zscript/heretic/beast.txt
|
|
zscript/heretic/snake.txt
|
|
zscript/heretic/hereticimp.txt
|
|
zscript/heretic/knight.txt
|
|
zscript/heretic/wizard.txt
|
|
zscript/heretic/ironlich.txt
|
|
zscript/heretic/dsparil.txt
|
|
zscript/heretic/chicken.txt
|
|
|
|
zscript/hexen/baseweapons.txt
|
|
zscript/hexen/korax.txt
|
|
zscript/hexen/fighterplayer.txt
|
|
zscript/hexen/clericplayer.txt
|
|
zscript/hexen/mageplayer.txt
|
|
zscript/hexen/pig.txt
|
|
zscript/hexen/flame.txt
|
|
zscript/hexen/flies.txt
|
|
zscript/hexen/hexenarmor.txt
|
|
zscript/hexen/hexendecorations.txt
|
|
zscript/hexen/hexenkeys.txt
|
|
zscript/hexen/hexenspecialdecs.txt
|
|
zscript/hexen/mana.txt
|
|
zscript/hexen/puzzleitems.txt
|
|
zscript/hexen/scriptprojectiles.txt
|
|
zscript/hexen/speedboots.txt
|
|
zscript/hexen/ettin.txt
|
|
zscript/hexen/centaur.txt
|
|
zscript/hexen/demons.txt
|
|
zscript/hexen/firedemon.txt
|
|
zscript/hexen/fog.txt
|
|
zscript/hexen/summon.txt
|
|
zscript/hexen/flechette.txt
|
|
zscript/hexen/clericboss.txt
|
|
zscript/hexen/fighterboss.txt
|
|
zscript/hexen/mageboss.txt
|
|
zscript/hexen/bats.txt
|
|
zscript/hexen/bishop.txt
|
|
zscript/hexen/blastradius.txt
|
|
zscript/hexen/boostarmor.txt
|
|
zscript/hexen/clericmace.txt
|
|
zscript/hexen/clericflame.txt
|
|
zscript/hexen/clericholy.txt
|
|
zscript/hexen/clericstaff.txt
|
|
zscript/hexen/magewand.txt
|
|
zscript/hexen/magecone.txt
|
|
zscript/hexen/magelightning.txt
|
|
zscript/hexen/magestaff.txt
|
|
zscript/hexen/fighterfist.txt
|
|
zscript/hexen/fighteraxe.txt
|
|
zscript/hexen/fighterhammer.txt
|
|
zscript/hexen/fighterquietus.txt
|
|
zscript/hexen/dragon.txt
|
|
zscript/hexen/healingradius.txt
|
|
zscript/hexen/teleportother.txt
|
|
zscript/hexen/iceguy.txt
|
|
zscript/hexen/serpent.txt
|
|
zscript/hexen/spike.txt
|
|
zscript/hexen/wraith.txt
|
|
zscript/hexen/heresiarch.txt
|
|
|
|
zscript/strife/strifehumanoid.txt
|
|
zscript/strife/strifeplayer.txt
|
|
zscript/strife/strifeweapons.txt
|
|
zscript/strife/spectral.txt
|
|
zscript/strife/acolyte.txt
|
|
zscript/strife/alienspectres.txt
|
|
zscript/strife/beggars.txt
|
|
zscript/strife/coin.txt
|
|
zscript/strife/crusader.txt
|
|
zscript/strife/entityboss.txt
|
|
zscript/strife/inquisitor.txt
|
|
zscript/strife/loremaster.txt
|
|
zscript/strife/macil.txt
|
|
zscript/strife/merchants.txt
|
|
zscript/strife/peasants.txt
|
|
zscript/strife/strifebishop.txt
|
|
zscript/strife/oracle.txt
|
|
zscript/strife/programmer.txt
|
|
zscript/strife/questitems.txt
|
|
zscript/strife/ratbuddy.txt
|
|
zscript/strife/rebels.txt
|
|
zscript/strife/reaver.txt
|
|
zscript/strife/sentinel.txt
|
|
zscript/strife/stalker.txt
|
|
zscript/strife/strifeammo.txt
|
|
zscript/strife/strifearmor.txt
|
|
zscript/strife/strifeitems.txt
|
|
zscript/strife/strifekeys.txt
|
|
zscript/strife/strifestuff.txt
|
|
zscript/strife/thingstoblowup.txt
|
|
zscript/strife/templar.txt
|
|
zscript/strife/zombie.txt
|
|
zscript/strife/sigil.txt
|
|
|
|
zscript/chex/chexmonsters.txt
|
|
zscript/chex/chexkeys.txt
|
|
zscript/chex/chexammo.txt
|
|
zscript/chex/chexweapons.txt
|
|
zscript/chex/chexitems.txt
|
|
zscript/chex/chexdecorations.txt
|
|
zscript/chex/chexplayer.txt
|