mirror of
https://github.com/ZDoom/acc.git
synced 2024-11-23 04:12:32 +00:00
- Moved Sqrt, FixedSqrt, and VectorLength to zspecial.acs.
SVN r3889 (trunk)
This commit is contained in:
parent
292f20fc46
commit
9ae0c430ba
4 changed files with 3 additions and 9 deletions
3
pcode.c
3
pcode.c
|
@ -476,9 +476,6 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
|
|||
"PCD_CALLSTACK", // from Eternity
|
||||
"PCD_SCRIPTWAITNAMED",
|
||||
"PCD_TRANSLATIONRANGE3",
|
||||
"PCD_SQRT",
|
||||
"PCD_FIXEDSQRT",
|
||||
"PCD_VECTORLENGTH",
|
||||
};
|
||||
|
||||
// CODE --------------------------------------------------------------------
|
||||
|
|
3
pcode.h
3
pcode.h
|
@ -425,9 +425,6 @@ typedef enum
|
|||
PCD_CALLSTACK, // from Eternity
|
||||
PCD_SCRIPTWAITNAMED,
|
||||
PCD_TRANSLATIONRANGE3,
|
||||
PCD_SQRT,
|
||||
PCD_FIXEDSQRT,
|
||||
PCD_VECTORLENGTH,
|
||||
|
||||
PCODE_COMMAND_COUNT
|
||||
} pcd_t;
|
||||
|
|
3
symbol.c
3
symbol.c
|
@ -143,9 +143,6 @@ static internFuncDef_t InternalFunctions[] =
|
|||
{ "sin", PCD_NOP, PCD_SIN, 1, 0, 0, YES, NO },
|
||||
{ "cos", PCD_NOP, PCD_COS, 1, 0, 0, YES, NO },
|
||||
{ "vectorangle", PCD_NOP, PCD_VECTORANGLE, 2, 0, 0, YES, NO },
|
||||
{ "vectorlength", PCD_NOP, PCD_VECTORLENGTH, 2, 0, 0, YES, NO },
|
||||
{ "sqrt", PCD_NOP, PCD_SQRT, 1, 0, 0, YES, NO },
|
||||
{ "fixedsqrt", PCD_NOP, PCD_FIXEDSQRT, 1, 0, 0, YES, NO },
|
||||
{ "checkweapon", PCD_NOP, PCD_CHECKWEAPON, 1, 0, 0, YES, NO },
|
||||
{ "setweapon", PCD_NOP, PCD_SETWEAPON, 1, 0, 0, YES, NO },
|
||||
{ "setmarineweapon", PCD_NOP, PCD_SETMARINEWEAPON, 2, 0, 0, NO, NO },
|
||||
|
|
|
@ -289,6 +289,9 @@ special
|
|||
-45:ACS_NamedExecuteAlways(2,5),
|
||||
-46:UniqueTID(0,2),
|
||||
-47:IsTIDUsed(1),
|
||||
-48:Sqrt(1),
|
||||
-49:FixedSqrt(1),
|
||||
-50:VectorLength(2),
|
||||
|
||||
-1000:__EndOfList__(10);
|
||||
|
||||
|
|
Loading…
Reference in a new issue