Added PCD_PRINTCOLOR support to ACC.

SVN r305 (trunk)
This commit is contained in:
Randy Heit 2006-08-22 21:46:38 +00:00
parent 911d10c48d
commit 28018a2859
4 changed files with 17 additions and 2 deletions

View file

@ -2039,6 +2039,9 @@ 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;

View file

@ -387,7 +387,7 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
"PCD_SETACTORANGLE",
"PCD_GRABINPUT",
"PCD_SETMOUSEPOINTER",
"PCD_MOVEMOUSEPOINTER"
"PCD_MOVEMOUSEPOINTER",
"PCD_SPAWNPROJECTILE",
"PCD_GETSECTORLIGHTLEVEL",
"PCD_GETACTORCEILINGZ",
@ -440,6 +440,7 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
"PCD_CHANGELEVEL",
"PCD_SECTORDAMAGE",
"PCD_REPLACETEXTURES",
"PCD_PRINTCOLOR",
};

View file

@ -390,6 +390,7 @@ typedef enum
PCD_CHANGELEVEL,
PCD_SECTORDAMAGE,
PCD_REPLACETEXTURES,
PCD_PRINTCOLOR,
PCODE_COMMAND_COUNT
} pcd_t;

View file

@ -103,7 +103,7 @@
#define PROP_FLIGHT 12
#define PROP_SPEED 15
// Text colors for hudmessage -----------------------------------------------
// Text colors --------------------------------------------------------------
#define CR_UNTRANSLATED -1
#define CR_BRICK 0
@ -118,6 +118,16 @@
#define CR_ORANGE 8
#define CR_WHITE 9
#define CR_YELLOW 10
#define CR_BLACK 12
#define CR_LIGHTBLUE 13
#define CR_CREAM 14
#define CR_OLIVE 15
#define CR_DARKGREEN 16
#define CR_DARKRED 17
#define CR_DARKBROWN 18
#define CR_PURPLE 19
#define CR_DARKGRAY 20
#define CR_DARKGREY 20
// HUD message types --------------------------------------------------------