Searched refs:replay_fp (Results 1 – 2 of 2) sorted by relevance
/dports/games/sdlpop/SDLPoP-1.22/src/ |
H A D | replay.c | 54 FILE* replay_fp = NULL; variable 247 if (replay_fp != NULL) { in open_replay_file() 295 fclose(replay_fp); in start_with_replay_file() 296 replay_fp = NULL; in start_with_replay_file() 807 if (replay_fp != NULL) { in save_recorded_replay() 838 fclose(replay_fp); in save_recorded_replay() 839 replay_fp = NULL; in save_recorded_replay() 893 fclose(replay_fp); in load_replay() 894 replay_fp = NULL; in load_replay() 918 fclose(replay_fp); in load_replay() [all …]
|
/dports/games/biloba/biloba-0.9.3/src/ |
H A D | replay.c | 36 static FILE *replay_fp = NULL; variable 48 replay_fp = fopen(replay, "rb"); in replay_game_setup() 50 if (replay_fp == NULL) in replay_game_setup() 64 if (fread(&i, sizeof(i), 1, replay_fp) < 1) { in replay_game_setup() 74 if (fread(&n_players, sizeof(n_players), 1, replay_fp) < 1) { in replay_game_setup() 88 if (fread(&len, sizeof(len), 1, replay_fp) < 1) { in replay_game_setup() 93 if (len > 0 && fread(p_names[i], sizeof(char), len, replay_fp) < len) { in replay_game_setup() 124 assert(replay_fp != NULL); in replay_get_event() 127 if (fread(&move, sizeof(move), 1, replay_fp) < 1) { in replay_get_event() 145 fclose(replay_fp); in replay_get_event() [all …]
|