-/*
+/*
* Copyright (C) 2003 Robert Kooima
*
* NEVERBALL is free software; you can redistribute it and/or modify
switch (i)
{
- case TITLE_PLAY:
- config_get_s(CONFIG_PLAYER, player, MAXNAM);
- if (player[0] == '\0')
- return goto_name(&st_set, &st_title);
- else
- return goto_state(&st_set);
+ case TITLE_PLAY:
+ config_get_s(CONFIG_PLAYER, player, MAXNAM);
+
+ if (player[0] == '\0')
+ return goto_name(&st_set, &st_title);
+ else
+ return goto_state(&st_set);
+
case TITLE_HELP: return goto_state(&st_help);
case TITLE_DEMO: return goto_state(&st_demo);
case TITLE_CONF: return goto_state(&st_conf);
if (demo_replay_step(&t))
demo_time += t;
else
- {
+ {
demo_replay_stop(0);
game_fade(+1.0f);
real_time = 0.0f;
static int title_keybd(int c, int d)
{
if (d && c == SDLK_c && ALLOW_CHEAT)
- config_tgl_d(CONFIG_CHEAT);
- return 1;
+ config_tgl_d(CONFIG_CHEAT);
+ return 1;
}
-
+
static int title_buttn(int b, int d)
{
if (d)