summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 8d9b698b..7e96d656 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -650,6 +650,8 @@ typedef struct
int unlaggedIndex;
int unlaggedTimes[ MAX_UNLAGGED_MARKERS ];
+
+ char layout[ MAX_QPATH ];
} level_locals_t;
//
@@ -734,6 +736,10 @@ void G_SetBuildableAnim( gentity_t *ent, buildableAnimNumber_t anim
void G_SetIdleBuildableAnim( gentity_t *ent, buildableAnimNumber_t anim );
void G_SpawnBuildable(gentity_t *ent, buildable_t buildable);
void FinishSpawningBuildable( gentity_t *ent );
+void G_LayoutSave( char *name );
+int G_LayoutList( const char *map, char *list, int len );
+void G_LayoutSelect( void );
+void G_LayoutLoad( void );
//
// g_utils.c
@@ -1019,6 +1025,7 @@ typedef struct mapRotationEntry_s
char name[ MAX_QPATH ];
char postCmds[ MAX_MAP_COMMANDS ][ MAX_STRING_CHARS ];
+ char layouts[ MAX_CVAR_VALUE_STRING ];
int numCmds;
mapRotationCondition_t conditions[ MAX_MAP_ROTATION_CONDS ];
@@ -1144,6 +1151,9 @@ extern vmCvar_t g_shove;
extern vmCvar_t g_mapConfigs;
+extern vmCvar_t g_layouts;
+extern vmCvar_t g_layoutAuto;
+
extern vmCvar_t g_admin;
extern vmCvar_t g_adminLog;
extern vmCvar_t g_adminParseSay;