mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-23 07:26:05 +00:00
Moves the constants from defines and compile_options files into the __DEFINES directory. The compile options in the latter file that are actually tweakable remain in their existing file in the code directory. Constants from DEFINES.dm, globals.dm, names.dm, and global_lists.dm have been moved into the _globalvars subdirectory. stylesheet.dm has been moved into the interface directory since that's a better place for it. This move contains no code changes for stock TG. It is purely an organizational move meant to clean up hard to read code. Some global constants that appear to be unused have been put into unused.dm, but not unticked. This list is by no means exhaustive. Branches should be aware that they need to move any additional defines and global constants manually.
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
//Damage things //TODO: merge these down to reduce on defines
|
|
//Way to waste perfectly good damagetype names (BRUTE) on this... If you were really worried about case sensitivity, you could have just used lowertext(damagetype) in the proc...
|
|
#define BRUTE "brute"
|
|
#define BURN "fire"
|
|
#define TOX "tox"
|
|
#define OXY "oxy"
|
|
#define CLONE "clone"
|
|
#define HALLOSS "halloss"
|
|
|
|
#define STUN "stun"
|
|
#define WEAKEN "weaken"
|
|
#define PARALYZE "paralize"
|
|
#define IRRADIATE "irradiate"
|
|
#define STUTTER "stutter"
|
|
#define EYE_BLUR "eye_blur"
|
|
#define DROWSY "drowsy"
|
|
|
|
//I hate adding defines like this but I'd much rather deal with bitflags than lists and string searches
|
|
#define BRUTELOSS 1
|
|
#define FIRELOSS 2
|
|
#define TOXLOSS 4
|
|
#define OXYLOSS 8
|
|
|
|
//Bitflags defining which status effects could be or are inflicted on a mob
|
|
#define CANSTUN 1
|
|
#define CANWEAKEN 2
|
|
#define CANPARALYSE 4
|
|
#define CANPUSH 8
|
|
#define GODMODE 4096
|
|
#define FAKEDEATH 8192 //Replaces stuff like changeling.changeling_fakedeath
|
|
#define DISFIGURED 16384 //I'll probably move this elsewhere if I ever get wround to writing a bitflag mob-damage system
|
|
#define XENO_HOST 32768 //Tracks whether we're gonna be a baby alien's mummy.
|
|
|
|
|
|
//Grab levels
|
|
#define GRAB_PASSIVE 1
|
|
#define GRAB_AGGRESSIVE 2
|
|
#define GRAB_NECK 3
|
|
#define GRAB_UPGRADING 4
|
|
#define GRAB_KILL 5
|
|
|
|
#define HOSTILE_STANCE_IDLE 1
|
|
#define HOSTILE_STANCE_ALERT 2
|
|
#define HOSTILE_STANCE_ATTACK 3
|
|
#define HOSTILE_STANCE_ATTACKING 4
|
|
#define HOSTILE_STANCE_TIRED 5
|
|
|