mirror of
https://github.com/ZDoom/acc.git
synced 2025-03-13 03:42:17 +00:00
- Fixed: PrintAlias passed FString objects directly to Printf.
- Added bitwise not (~) operator to ACS. SVN r352 (trunk)
This commit is contained in:
parent
237b01f63f
commit
818083693a
4 changed files with 12 additions and 0 deletions
5
parse.c
5
parse.c
|
@ -3259,6 +3259,11 @@ static void ExprFactor(void)
|
||||||
ExprFactor();
|
ExprFactor();
|
||||||
PC_AppendCmd(PCD_NEGATELOGICAL);
|
PC_AppendCmd(PCD_NEGATELOGICAL);
|
||||||
break;
|
break;
|
||||||
|
case TK_TILDE:
|
||||||
|
TK_NextToken();
|
||||||
|
ExprFactor();
|
||||||
|
PC_AppendCmd(PCD_NEGATEBINARY);
|
||||||
|
break;
|
||||||
case TK_INC:
|
case TK_INC:
|
||||||
case TK_DEC:
|
case TK_DEC:
|
||||||
opToken = tk_Token;
|
opToken = tk_Token;
|
||||||
|
|
1
pcode.c
1
pcode.c
|
@ -440,6 +440,7 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
|
||||||
"PCD_CHANGELEVEL",
|
"PCD_CHANGELEVEL",
|
||||||
"PCD_SECTORDAMAGE",
|
"PCD_SECTORDAMAGE",
|
||||||
"PCD_REPLACETEXTURES",
|
"PCD_REPLACETEXTURES",
|
||||||
|
"PCD_NEGATEBINARY",
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
1
pcode.h
1
pcode.h
|
@ -390,6 +390,7 @@ typedef enum
|
||||||
PCD_CHANGELEVEL,
|
PCD_CHANGELEVEL,
|
||||||
PCD_SECTORDAMAGE,
|
PCD_SECTORDAMAGE,
|
||||||
PCD_REPLACETEXTURES,
|
PCD_REPLACETEXTURES,
|
||||||
|
PCD_NEGATEBINARY,
|
||||||
|
|
||||||
PCODE_COMMAND_COUNT
|
PCODE_COMMAND_COUNT
|
||||||
} pcd_t;
|
} pcd_t;
|
||||||
|
|
|
@ -105,6 +105,11 @@ special
|
||||||
127:Thing_SetSpecial(5),
|
127:Thing_SetSpecial(5),
|
||||||
128:ThrustThingZ(4),
|
128:ThrustThingZ(4),
|
||||||
139:Thing_SpawnFacing(2,4),
|
139:Thing_SpawnFacing(2,4),
|
||||||
|
159:Sector_SetPlaneReflection(3), // GZDoom only!
|
||||||
|
//160:Sector_Set3DFloor // GZDoom/Vavoom
|
||||||
|
//161:Sector_SetContents // Vavoom
|
||||||
|
170:Sector_SetCeilingScale2(3),
|
||||||
|
171:Sector_SetFloorScale2(3),
|
||||||
172:Plat_UpNearestWaitDownStay(3),
|
172:Plat_UpNearestWaitDownStay(3),
|
||||||
173:NoiseAlert(2),
|
173:NoiseAlert(2),
|
||||||
174:SendToCommunicator(4),
|
174:SendToCommunicator(4),
|
||||||
|
|
Loading…
Reference in a new issue