mirror of
https://github.com/diamante0018/PP-GSC.git
synced 2025-04-19 20:12:54 +00:00
maint: update for gsc-tool
This commit is contained in:
parent
4e32a6b95f
commit
ec3f0cdb1a
@ -2,5 +2,6 @@
|
|||||||
|
|
||||||
## What is this?
|
## What is this?
|
||||||
|
|
||||||
This is a collection of useful preprocessor directives that can be used by gsc-tool, Plutonium clients and XLabs clients.
|
This is a collection of useful preprocessor directives that can be used by gsc-tool, Plutonium clients and AlterWare clients.
|
||||||
It is also possible to use gsc-tool to expand these macros and produce a gsc file that is readable by older GSC compilers that do not have a preprocessor.
|
|
||||||
|
It is also possible to use gsc-tool to expand these macros and produce a gsc file that is readable by older compilers that do not have a preprocessor.
|
||||||
|
@ -100,12 +100,14 @@
|
|||||||
#define WAIT_ANY_RET(ent, ...) ent waittill_any_return( __VA_ARGS__ )
|
#define WAIT_ANY_RET(ent, ...) ent waittill_any_return( __VA_ARGS__ )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(TOOL)
|
||||||
#define PLAYER_NOTIFY_CMD(ent, str, action) ent notifyOnPlayerCommand( str, action )
|
#define PLAYER_NOTIFY_CMD(ent, str, action) ent notifyOnPlayerCommand( str, action )
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Tweak as necessary. Can be return, continue or break */
|
/* Tweak as necessary. Can be return, continue or break */
|
||||||
#define CHK_ACTION continue
|
#define CHK_ACTION continue
|
||||||
|
|
||||||
#if defined(IW4MP) || defined(IW5x) || defined(IW5)
|
#if (defined(IW4MP) || defined(IW5x) || defined(IW5)) && !defined(TOOL)
|
||||||
#define BOT_CHK(ent) \
|
#define BOT_CHK(ent) \
|
||||||
if ( ent isTestClient() ) \
|
if ( ent isTestClient() ) \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user