mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-18 18:31:43 +00:00
3c976ac02c
3 new code pointers without general use it was necessary to handle GiveDefaultInventory consistently for all players without the need to subclass this function. - Added a Player.RunHealth property to expose the StrifePlayer's behavior of not being able to run when its health is below 10. - Changed APlayerPawn::GiveDefaultInventory so that it always adds a HexenArmor and a BasicArmor item to the inventory. If these items are not the first ones added to the inventory anything else that might absorb damage is not guaranteed to work consistently because their function depends on the order in the inventory. - Changed handling of APowerup's DoEffect so that it is called from the owner's Tick function, not the item's. This is so that the order of execution is determined by the order in the inventory. When done in the item's Tick function order depends on the global thinker table which can cause problems with the order in which conflicting powerups apply their effect. Now it is guaranteed that the item that was added to the inventory first applies its effect last. - Fixed: Added checks for Speed==0 to A_Tracer and A_Tracer2 because this could cause a divide by zero. - Fixed: P_MoveThing must also set the moved actor's previous position to prevent interpolation of the move. - Fixed: APowerInvisibility and its subclasses need to constantly update the owner's translucency information in case of interference between different subclasses. Also changed Hexen's Cleric's invulnerability mode to disable the translucency effect if an invisibility powerup is active. SVN r448 (trunk)
83 lines
3 KiB
Text
83 lines
3 KiB
Text
#include "actors/nativeclasses.txt"
|
|
#include "actors/constants.txt"
|
|
|
|
#include "actors/shared/botstuff.txt"
|
|
#include "actors/shared/sharedmisc.txt"
|
|
#include "actors/shared/blood.txt"
|
|
#include "actors/shared/debris.txt"
|
|
#include "actors/shared/splashes.txt"
|
|
#include "actors/shared/pickups.txt"
|
|
#include "actors/shared/fountain.txt"
|
|
#include "actors/shared/soundsequence.txt"
|
|
|
|
#include "actors/doom/doomplayer.txt"
|
|
#include "actors/doom/possessed.txt"
|
|
#include "actors/doom/doomimp.txt"
|
|
#include "actors/doom/demon.txt"
|
|
#include "actors/doom/lostsoul.txt"
|
|
#include "actors/doom/cacodemon.txt"
|
|
#include "actors/doom/bruiser.txt"
|
|
#include "actors/doom/revenant.txt"
|
|
#include "actors/doom/arachnotron.txt"
|
|
#include "actors/doom/fatso.txt"
|
|
#include "actors/doom/painelemental.txt"
|
|
#include "actors/doom/archvile.txt"
|
|
#include "actors/doom/cyberdemon.txt"
|
|
#include "actors/doom/spidermaster.txt"
|
|
#include "actors/doom/keen.txt"
|
|
|
|
#include "actors/doom/deadthings.txt"
|
|
#include "actors/doom/doomammo.txt"
|
|
#include "actors/doom/doomarmor.txt"
|
|
#include "actors/doom/doomartifacts.txt"
|
|
#include "actors/doom/doomhealth.txt"
|
|
#include "actors/doom/doomkeys.txt"
|
|
#include "actors/doom/doommisc.txt"
|
|
#include "actors/doom/doomdecorations.txt"
|
|
#include "actors/doom/stealthmonsters.txt"
|
|
|
|
#include "actors/raven/artiegg.txt"
|
|
#include "actors/raven/ravenartifacts.txt"
|
|
#include "actors/raven/ravenhealth.txt"
|
|
#include "actors/raven/ravenambient.txt"
|
|
|
|
#include "actors/heretic/hereticplayer.txt"
|
|
#include "actors/heretic/hereticammo.txt"
|
|
#include "actors/heretic/hereticarmor.txt"
|
|
#include "actors/heretic/hereticartifacts.txt"
|
|
#include "actors/heretic/heretickeys.txt"
|
|
#include "actors/heretic/hereticdecorations.txt"
|
|
#include "actors/heretic/mummy.txt"
|
|
#include "actors/heretic/clink.txt"
|
|
#include "actors/heretic/beast.txt"
|
|
#include "actors/heretic/snake.txt"
|
|
|
|
#include "actors/hexen/fighterplayer.txt"
|
|
#include "actors/hexen/clericplayer.txt"
|
|
#include "actors/hexen/mageplayer.txt"
|
|
#include "actors/hexen/flame.txt"
|
|
#include "actors/hexen/hexenarmor.txt"
|
|
#include "actors/hexen/hexendecorations.txt"
|
|
#include "actors/hexen/hexenkeys.txt"
|
|
#include "actors/hexen/hexenspecialdecs.txt"
|
|
#include "actors/hexen/mana.txt"
|
|
#include "actors/hexen/puzzleitems.txt"
|
|
#include "actors/hexen/scriptprojectiles.txt"
|
|
#include "actors/hexen/speedboots.txt"
|
|
#include "actors/hexen/ettin.txt"
|
|
#include "actors/hexen/centaur.txt"
|
|
#include "actors/hexen/demons.txt"
|
|
|
|
#include "actors/strife/strifeplayer.txt"
|
|
#include "actors/strife/beggars.txt"
|
|
#include "actors/strife/merchants.txt"
|
|
#include "actors/strife/peasants.txt"
|
|
#include "actors/strife/strifebishop.txt"
|
|
#include "actors/strife/questitems.txt"
|
|
#include "actors/strife/ratbuddy.txt"
|
|
#include "actors/strife/strifeammo.txt"
|
|
#include "actors/strife/strifearmor.txt"
|
|
#include "actors/strife/strifeitems.txt"
|
|
#include "actors/strife/strifekeys.txt"
|
|
#include "actors/strife/strifestuff.txt"
|
|
#include "actors/strife/zombie.txt"
|