extern int environment;
extern float texscale;
extern Terrain terrain;
-extern OPENAL_SAMPLE *samp[100];
+extern OPENAL_SAMPLE *samp[100];
extern int channels[100];
extern Sprites sprites;
extern int kTextureSize;
static void ch_type(Game *game, const char *args)
{
int i, n = sizeof(editortypenames) / sizeof(editortypenames[0]);
- for (i = 0; i < n; i++)
- if (stripfx(args, editortypenames[i]))
- {
- editoractive = i;
- break;
- }
+ for (i = 0; i < n; i++)
+ if (stripfx(args, editortypenames[i])) {
+ editoractive = i;
+ break;
+ }
}
static void ch_path(Game *game, const char *args)
{
int i, n = sizeof(pathtypenames) / sizeof(pathtypenames[0]);
for (i = 0; i < n; i++)
- if (stripfx(args, pathtypenames[i]))
- {
- editorpathtype = i;
- break;
- }
+ if (stripfx(args, pathtypenames[i])) {
+ editorpathtype = i;
+ break;
+ }
}
static void ch_hs(Game *game, const char *args)
}
}
-
-
/********************> Tick() <*****/
extern void ScreenShot(const char * fname);
void Screenshot (void)