diff options
author | Tim Angus <tim@ngus.net> | 2003-09-03 00:18:51 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2003-09-03 00:18:51 +0000 |
commit | 4a51da34cefd60b26e0bc154bf3f7976e4d191d7 (patch) | |
tree | 0ca3d034312ca534aeaad25835b60d872acee5f0 /src/cgame | |
parent | 35e6793287a0881333f6018ac2046fc4cd7177d1 (diff) |
* Added SURF_NOALIENBUILD and SURF_NOHUMANBUILD so that building can be
prevented via shader
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_servercmds.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index f6cef10f..5ad80f98 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -565,6 +565,12 @@ void CG_Menu( int menu ) trap_SendConsoleCommand( "menu tremulous_human_dialog\n" ); break; + case MN_H_NORMAL: + trap_Cvar_Set( "ui_dialog", "Cannot build on this surface. The surface is too steep or unsuitable " + "to build on. Please choose another site for this structure." ); + trap_SendConsoleCommand( "menu tremulous_alien_dialog\n" ); + break; + case MN_H_REACTOR: trap_Cvar_Set( "ui_dialog", "There can only be one reactor. Destroy the existing one if you " "wish to move it." ); @@ -613,6 +619,10 @@ void CG_Menu( int menu ) trap_SendConsoleCommand( "menu tremulous_human_dialog\n" ); break; + + //=============================== + + case MN_A_NOROOM: trap_Cvar_Set( "ui_dialog", "There is no room to build here. Move until the structure turns " "translucent green indicating a valid build location." ); |