mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-24 21:01:34 +00:00
arena files now contain "bot support" and "teams"
This commit is contained in:
parent
d4d94bd63d
commit
30a4363ed2
4 changed files with 34 additions and 19 deletions
|
@ -353,6 +353,8 @@ typedef enum
|
|||
MS_NUMPOWERUPS,
|
||||
MS_REVERSABLE,
|
||||
MS_TRACKLENGTHS,
|
||||
MS_BOTSUPPORT,
|
||||
MS_NUMTEAMS,
|
||||
|
||||
MS_MAX_MAPSTATS
|
||||
} mapstats_t;
|
||||
|
|
|
@ -131,7 +131,7 @@ typedef struct {
|
|||
static startserver_t s_startserver;
|
||||
|
||||
static const char *gametype_items[] = {
|
||||
// STONELANCE
|
||||
|
||||
"Racing",
|
||||
"Racing Deathmatch",
|
||||
"Demolition Derby",
|
||||
|
@ -139,7 +139,6 @@ static const char *gametype_items[] = {
|
|||
"Team Deathmatch",
|
||||
"Team Racing",
|
||||
"Team Racing Deathmatch",
|
||||
// END
|
||||
"Capture the Flag",
|
||||
"Domination",
|
||||
0
|
||||
|
@ -186,6 +185,12 @@ char *UI_GetStatKey(int num){
|
|||
|
||||
case MS_TRACKLENGTHS:
|
||||
return "tracklengths";
|
||||
|
||||
case MS_BOTSUPPORT:
|
||||
return "bots";
|
||||
|
||||
case MS_NUMTEAMS:
|
||||
return "teams";
|
||||
|
||||
default:
|
||||
return "";
|
||||
|
@ -195,7 +200,7 @@ char *UI_GetStatKey(int num){
|
|||
char *UI_GetStatName(int num){
|
||||
switch(num){
|
||||
case MS_NUMSTARTS:
|
||||
return "Number of start positions:";
|
||||
return "Start positions:";
|
||||
|
||||
case MS_LAPS:
|
||||
return "Default number of laps:";
|
||||
|
@ -210,16 +215,22 @@ char *UI_GetStatName(int num){
|
|||
return "Number of observer spots:";
|
||||
|
||||
case MS_NUMWEAPONS:
|
||||
return "Number of weapons:";
|
||||
return "Weapons:";
|
||||
|
||||
case MS_NUMPOWERUPS:
|
||||
return "Number of powerups:";
|
||||
return "Powerups:";
|
||||
|
||||
case MS_REVERSABLE:
|
||||
return "Reversable option available:";
|
||||
return "Reversable:";
|
||||
|
||||
case MS_TRACKLENGTHS:
|
||||
return "Track lengths available:";
|
||||
|
||||
case MS_BOTSUPPORT:
|
||||
return "Bot Support:";
|
||||
|
||||
case MS_NUMTEAMS:
|
||||
return "Teams:";
|
||||
|
||||
default:
|
||||
return "";
|
||||
|
@ -255,6 +266,12 @@ char *UI_GetDefaultStatValue( int num ){
|
|||
|
||||
case MS_TRACKLENGTHS:
|
||||
return "0 1 2";
|
||||
|
||||
case MS_BOTSUPPORT:
|
||||
return "Unknown";
|
||||
|
||||
case MS_NUMTEAMS:
|
||||
return "Unknown";
|
||||
|
||||
default:
|
||||
return "";
|
||||
|
|
|
@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define BASETA "missionpack"
|
||||
|
||||
#ifndef PRODUCT_VERSION
|
||||
#define PRODUCT_VERSION "v0.3c_r420"
|
||||
#define PRODUCT_VERSION "v0.3c_r421"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -886,21 +886,17 @@ q3rallycode
|
|||
engine\cross-make-mingw64.sh
|
||||
[Open project files]
|
||||
0=engine\code\qcommon\q_shared.h
|
||||
1=engine\code\q3_ui\ui_playersettings.c
|
||||
2=engine\code\cgame\cg_draw.c
|
||||
3=engine\code\cgame\cg_local.h
|
||||
1=engine\code\q3_ui\ui_rally_startserver.c
|
||||
2=engine\code\q3_ui\ui_local.h
|
||||
[Selected Project Files]
|
||||
Main=
|
||||
Selected=engine\code\qcommon\q_shared.h
|
||||
[engine\code\qcommon\q_shared.h]
|
||||
TopLine=51
|
||||
Caret=36,70
|
||||
[engine\code\q3_ui\ui_playersettings.c]
|
||||
TopLine=303
|
||||
Caret=1,311
|
||||
[engine\code\cgame\cg_draw.c]
|
||||
TopLine=547
|
||||
Caret=2,570
|
||||
[engine\code\cgame\cg_local.h]
|
||||
TopLine=1352
|
||||
Caret=1,1368
|
||||
[engine\code\q3_ui\ui_rally_startserver.c]
|
||||
TopLine=353
|
||||
Caret=1,291
|
||||
[engine\code\q3_ui\ui_local.h]
|
||||
TopLine=335
|
||||
Caret=17,357
|
||||
|
|
Loading…
Reference in a new issue