Nuke several globals; some were unused, others moved to universe

This commit is contained in:
2015-10-06 19:06:46 -04:00
parent bd3aa33807
commit 76168b2071
15 changed files with 64 additions and 82 deletions

View File

@@ -18,7 +18,6 @@ extern cUniverse univ;
extern sf::RenderWindow mainPtr;
extern fs::path file_in_mem;
extern sf::Texture pc_gworld;
extern bool diff_depth_ok;
short which_pc_displayed,store_pc_trait_mode,store_which_to_edit;
extern short current_active_pc;

View File

@@ -40,7 +40,7 @@ extern sf::RenderWindow mainPtr;
extern rectangle d_rects[80];
extern short d_rect_index[80];
extern bool diff_depth_ok,current_file_has_maps;
extern bool current_file_has_maps;
bool choice_active[6];
extern short which_pc_displayed;

View File

@@ -42,7 +42,7 @@ std::string scenario_temp_dir_name = "pc_scenario";
short current_active_pc = 0;
/* Mac stuff globals */
bool All_Done = false,diff_depth_ok = false;
bool All_Done = false;
sf::Event event;
sf::RenderWindow mainPtr;
bool gInBackground = false;