GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: gravity cave-exploration game (SF-Cave goes 3D)
Homepage: http://code.google.com/p/cave9
Clone URL: git://github.com/bart9h/cave9.git
--roman took place of --arabic (the former is default now)
zed9h (author)
Sun Jul 06 20:26:40 -0700 2008
commit  4dfd50f98e5b624be707c9db96b3aad3c5791098
tree    1247bfc61e89d48aba14f8810e2ae4ba1aa45f10
parent  dfe90fd27e3a05caab964ed5bdc91e5d8dcde36a
...
37
38
39
40
 
41
42
43
...
37
38
39
 
40
41
42
43
0
@@ -37,7 +37,7 @@ typedef struct Args_struct
0
   int stalactites;
0
   int autopilot;
0
   int aidtrack;
1
- int arabic;
0
+ int roman;
0
 #ifdef GLOBAL_SCORE
0
   int port;
0
   char server[ARG_STR_MAX];
...
135
136
137
138
 
139
140
141
...
171
172
173
174
 
175
176
177
...
135
136
137
 
138
139
140
141
...
171
172
173
 
174
175
176
177
0
@@ -135,7 +135,7 @@ static void args_init (Args* args, int argc, char* argv[])
0
   args->stalactites = 0;
0
   args->autopilot = 0;
0
   args->aidtrack = 0;
0
- args->arabic = 0;
0
+ args->roman = 0;
0
 #ifdef GLOBAL_SCORE
0
   args->port = GLOBAL_SCORE_PORT;
0
 # ifndef NET_DEFAULT_DISABLED
0
@@ -171,7 +171,7 @@ static void args_init (Args* args, int argc, char* argv[])
0
     { "", "--stalactites", false, true, &args->stalactites, NULL },
0
     { "", "--autopilot", false, true, &args->autopilot, NULL },
0
     { "", "--aidtrack", false, true, &args->aidtrack, NULL },
0
- { "", "--arabic", false, false, &args->arabic, NULL },
0
+ { "", "--roman", false, false, &args->roman, NULL },
0
 #ifdef GLOBAL_SCORE
0
     { "-s", "--server", true, true, NULL, args->server },
0
     { "-p", "--port", true, true, &args->port, NULL },
...
114
115
116
117
 
118
119
120
...
362
363
364
365
 
366
367
368
...
114
115
116
 
117
118
119
120
...
362
363
364
 
365
366
367
368
0
@@ -114,7 +114,7 @@ void render_init (Render* render, Args* args)
0
   render->cockpit = args->cockpit;
0
   render->shaking = !args->noshake;
0
   render->aidtrack = args->aidtrack;
0
- render->arabic = args->arabic;
0
+ render->roman = args->roman;
0
 
0
   { // huemap for velocity gauge
0
     int base = 1;
0
@@ -362,7 +362,7 @@ static void render_hud (Render* render, Game* game)
0
   TTF_Font* font = render->font;
0
 #endif
0
 
0
- void (*number) (char *, unsigned int) = render->arabic ? arabic : roman;
0
+ void (*number) (char *, unsigned int) = render->roman ? roman : arabic;
0
 
0
   char score[NUMBER_STR_MAX];
0
   number(score,game_score(game));
...
40
41
42
43
 
44
45
46
...
40
41
42
 
43
44
45
46
0
@@ -40,7 +40,7 @@ typedef struct Render_struct
0
   bool cockpit;
0
   bool shaking;
0
   bool aidtrack;
0
- bool arabic;
0
+ bool roman;
0
 
0
   float gauge;
0
 } Render;