X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fbd_gameplay.h;h=b87a3aeabddf4afc48ac76c6a3c1c56e407164f7;hb=72c0b6d598e4558285fda7637a1b12c1be815bf0;hp=6cd016ec51308cb1c10126f37cb0c9d777ff4731;hpb=e25acb01746ef65a1c5d4919b0e7c2c5d48b6807;p=rocksndiamonds.git diff --git a/src/game_bd/bd_gameplay.h b/src/game_bd/bd_gameplay.h index 6cd016ec..b87a3aea 100644 --- a/src/game_bd/bd_gameplay.h +++ b/src/game_bd/bd_gameplay.h @@ -54,14 +54,6 @@ /* ... 8 frames of cover animation */ #define GAME_INT_COVER_ALL 108 -typedef enum _gd_gametype -{ - GD_GAMETYPE_NORMAL, - GD_GAMETYPE_SNAPSHOT, - GD_GAMETYPE_TEST, - GD_GAMETYPE_REPLAY, - GD_GAMETYPE_CONTINUE_REPLAY, -} GdGameType; typedef struct _gd_game { @@ -73,16 +65,9 @@ typedef struct _gd_game boolean player_move_stick; boolean player_fire; - GdGameType type; - GdCave *cave; /* Copy of the cave. This is the iterated, changed (ruined...) one */ GdCave *original_cave; /* original cave from caveset. used to record highscore */ - GdReplay *replay_record; - GdReplay *replay_from; - - GList *replays_recorded; - boolean out_of_window; /* will be set to true, if player is not visible in the window, and we have to wait for scrolling */ int cave_num; /* actual playing cave number */ @@ -126,7 +111,6 @@ void gd_game_free(GdGame *gameplay); GdGame *gd_game_new(const int cave, const int level); GdGame *gd_game_new_snapshot(GdCave *snapshot); GdGame *gd_game_new_test(GdCave *cave, int level); -GdGame *gd_game_new_replay(GdCave *cave, GdReplay *replay); void play_game_func(GdGame *game, int action);