mirror of
https://github.com/ZDoom/acc.git
synced 2025-03-03 15:31:08 +00:00
- Removed PCD_PRINTCOLOR.
- Updated ReplaceTextures and SectorDamage parameter counts. SVN r317 (trunk)
This commit is contained in:
parent
dca00cbda4
commit
aebf8d6695
5 changed files with 20 additions and 7 deletions
3
parse.c
3
parse.c
|
@ -2039,9 +2039,6 @@ static void BuildPrintString(void)
|
|||
case 'c': // character
|
||||
printCmd = PCD_PRINTCHARACTER;
|
||||
break;
|
||||
case 'r': // color range
|
||||
printCmd = PCD_PRINTCOLOR;
|
||||
break;
|
||||
case 'n': // [BC] name
|
||||
printCmd = PCD_PRINTNAME;
|
||||
break;
|
||||
|
|
1
pcode.c
1
pcode.c
|
@ -440,7 +440,6 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
|
|||
"PCD_CHANGELEVEL",
|
||||
"PCD_SECTORDAMAGE",
|
||||
"PCD_REPLACETEXTURES",
|
||||
"PCD_PRINTCOLOR",
|
||||
|
||||
};
|
||||
|
||||
|
|
1
pcode.h
1
pcode.h
|
@ -390,7 +390,6 @@ typedef enum
|
|||
PCD_CHANGELEVEL,
|
||||
PCD_SECTORDAMAGE,
|
||||
PCD_REPLACETEXTURES,
|
||||
PCD_PRINTCOLOR,
|
||||
|
||||
PCODE_COMMAND_COUNT
|
||||
} pcd_t;
|
||||
|
|
4
symbol.c
4
symbol.c
|
@ -175,8 +175,8 @@ static internFuncDef_t InternalFunctions[] =
|
|||
{ "playerclass", PCD_NOP, PCD_PLAYERCLASS, 1, 0, 0, YES, NO },
|
||||
{ "getplayerinfo", PCD_NOP, PCD_GETPLAYERINFO, 2, 0, 0, YES, NO },
|
||||
{ "changelevel", PCD_NOP, PCD_CHANGELEVEL, 4, 8, 0, NO, NO },
|
||||
{ "sectordamage", PCD_NOP, PCD_SECTORDAMAGE, 7, 0, 0, NO, NO },
|
||||
{ "replacetextures", PCD_NOP, PCD_REPLACETEXTURES, 7, 4|8|16|32|64, 0, NO, NO },
|
||||
{ "sectordamage", PCD_NOP, PCD_SECTORDAMAGE, 5, 0, 0, NO, NO },
|
||||
{ "replacetextures", PCD_NOP, PCD_REPLACETEXTURES, 3, 4, 0, NO, NO },
|
||||
|
||||
{ NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO }
|
||||
};
|
||||
|
|
18
zdefs.acs
18
zdefs.acs
|
@ -140,6 +140,10 @@
|
|||
// i.e. instead of HUDMSG_PLAIN, you can use HUDMSG_PLAIN | HUDMSG_LOG
|
||||
#define HUDMSG_LOG 0x80000000
|
||||
|
||||
// OR this with one of the above if the color you passed is a string
|
||||
// instead of one of the CR_ constants.
|
||||
#define HUDMSG_COLORSTRING 0x40000000
|
||||
|
||||
// "Scripted" Marine weapon types -------------------------------------------
|
||||
|
||||
#define MARINEWEAPON_Dummy 0
|
||||
|
@ -196,6 +200,20 @@
|
|||
#define LEVELINFO_KILLED_MONSTERS 8
|
||||
#define LEVELINFO_SUCK_TIME 9
|
||||
|
||||
// Flags for ReplaceTextures ------------------------------------------------
|
||||
|
||||
#define NOT_BOTTOM 1
|
||||
#define NOT_MIDDLE 2
|
||||
#define NOT_TOP 4
|
||||
#define NOT_FLOOR 8
|
||||
#define NOT_CEILING 16
|
||||
|
||||
// Flags for SectorDamage ---------------------------------------------------
|
||||
|
||||
#define DAMAGE_PLAYERS 1
|
||||
#define DAMAGE_NONPLAYERS 2
|
||||
#define DAMAGE_IN_AIR 4
|
||||
#define DAMAGE_SUBCLASSES_PROTECT 8
|
||||
|
||||
// Shared spawnable things from Hexen. You can spawn these in the other -----
|
||||
// games if you provide sprites for them, otherwise they'll be invisible. ---
|
||||
|
|
Loading…
Reference in a new issue