build: workflow from hell (#1)
All checks were successful
Build / build-linux (push) Successful in 7s
All checks were successful
Build / build-linux (push) Successful in 7s
This commit is contained in:
@ -4,7 +4,11 @@
|
||||
#define TOOL
|
||||
#endif
|
||||
|
||||
#if defined(TOOL)
|
||||
#inline scripts\mp\_utility;
|
||||
#else
|
||||
#include "_utility.gsh"
|
||||
#endif
|
||||
|
||||
GENERIC_INIT;
|
||||
|
||||
@ -14,7 +18,9 @@ onPlayerConnect()
|
||||
{
|
||||
level waittill( "connected", player );
|
||||
|
||||
#if defined(TOOL)
|
||||
waittillframeend;
|
||||
#endif
|
||||
|
||||
BOT_CHK( player );
|
||||
|
||||
@ -125,6 +131,6 @@ onPlayerSpawned()
|
||||
{
|
||||
self waittill( "spawned_player" );
|
||||
|
||||
self setPerk( "specialty_marathon", true, false );
|
||||
self setPerk( "specialty_marathon", true, false );
|
||||
}
|
||||
}
|
||||
|
@ -40,25 +40,21 @@
|
||||
/* Do not use the + to concatenate strings, let the GSC VM do it for you */
|
||||
/* Other clients will have print available */
|
||||
#if defined(IW4MP)
|
||||
#define PRINT_FUNC printConsole
|
||||
#define PRINT_FUNC_NAME printConsole
|
||||
#else
|
||||
#define PRINT_FUNC print
|
||||
#endif
|
||||
|
||||
#if !defined(TOOL)
|
||||
PRINT_FUNC( format __VA_OPT__(,) __VA_ARGS__ )
|
||||
#define PRINT_FUNC_NAME print
|
||||
#endif
|
||||
|
||||
#ifdef _UTILITY_DEBUG
|
||||
#define _VERIFY( cond, msg ) \
|
||||
assertEx(cond, msg)
|
||||
#define _VERIFY(cond, msg) \
|
||||
assertEx( cond, msg )
|
||||
|
||||
#define DEBUG_PRINT(msg) \
|
||||
PRINT_FUNC(msg)
|
||||
#define DEBUG_PRINT(msg) \
|
||||
PRINT_FUNC_NAME( msg )
|
||||
#else
|
||||
/* The following are "empty" defines with gsc-tool */
|
||||
#define _VERIFY(cond, msg)
|
||||
#define DEBUG_PRINT(msg)
|
||||
/* The following are "empty" defines with gsc-tool */
|
||||
#define _VERIFY(cond, msg)
|
||||
#define DEBUG_PRINT(msg)
|
||||
#endif
|
||||
|
||||
/* Use Cbuf. Should use the + to concatenate strings before using this */
|
||||
@ -106,7 +102,7 @@
|
||||
#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 */
|
||||
|
Reference in New Issue
Block a user