From: Holger Schemel Date: Tue, 4 Feb 2020 23:22:54 +0000 (+0100) Subject: renamed functions X-Git-Tag: 4.2.0.0~144 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=39e6654ab29b4ddea7a34616c5e72e69acf0b028;p=rocksndiamonds.git renamed functions --- diff --git a/src/game_em/global.h b/src/game_em/global.h index 70f240ec..8e5a8f58 100644 --- a/src/game_em/global.h +++ b/src/game_em/global.h @@ -18,9 +18,9 @@ void game_init_cave_buffers(void); void play_sound(int, int, int); void play_element_sound(int, int, int, int); -void logic_1(void); -void logic_2(void); -void logic_3(void); +void logic_players(void); +void logic_objects(void); +void logic_globals(void); int cleanup_em_level(unsigned char *, int, char *); void convert_em_level(unsigned char *, int); diff --git a/src/game_em/input.c b/src/game_em/input.c index 1df150a8..082dbbd6 100644 --- a/src/game_em/input.c +++ b/src/game_em/input.c @@ -82,13 +82,13 @@ void GameActions_EM(byte action[MAX_PLAYERS], boolean warp_mode) if (frame == 7) { - logic_1(); - logic_2(); + logic_players(); + logic_objects(); } if (frame == 6) { - logic_3(); + logic_globals(); UpdateGameDoorValues_EM(); } diff --git a/src/game_em/logic.c b/src/game_em/logic.c index 53a9f23b..cc2eda1e 100644 --- a/src/game_em/logic.c +++ b/src/game_em/logic.c @@ -6727,7 +6727,7 @@ static void handle_tile(int x, int y) } } -void logic_1(void) +void logic_players(void) { int start_check_nr; int i; @@ -6795,7 +6795,7 @@ void logic_1(void) } } -void logic_2(void) +void logic_objects(void) { int x, y; @@ -6824,7 +6824,7 @@ void logic_2(void) lev.draw = temp; } -void logic_3(void) +void logic_globals(void) { int x; int y;