Refactor the game event loop and add menus to the Linux build
Patch from @x-qq Addresses #195
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
#include <SFML/Graphics.hpp>
|
||||
|
||||
int main(int argc, char* argv[]);
|
||||
bool Handle_One_Event();
|
||||
void Handle_Update();
|
||||
void Mouse_Pressed();
|
||||
void update_everything();
|
||||
void redraw_everything();
|
||||
void Mouse_Pressed(sf::Event const &);
|
||||
void close_program();
|
||||
void change_cursor(location where_curs);
|
||||
void set_up_apple_events(int argc, char* argv[]);
|
||||
@@ -15,3 +15,9 @@ bool handle_startup_press(location the_point);
|
||||
void handle_splash_events();
|
||||
void show_logo();
|
||||
void plop_fancy_startup();
|
||||
void update_terrain_animation();
|
||||
void update_startup_animation();
|
||||
void handle_events();
|
||||
void handle_one_event(sf::Event const &);
|
||||
void handle_one_minimap_event(sf::Event const &);
|
||||
|
||||
|
Reference in New Issue
Block a user