More migration to const & in legacy importing methods.

This commit is contained in:
C.W. Betts
2021-10-01 14:48:57 +02:00
committed by Celtic Minstrel
parent 976794e8b6
commit b2c2ad8475
10 changed files with 30 additions and 30 deletions

View File

@@ -47,10 +47,10 @@ public:
unsigned long fields[64][64];
void import_legacy(legacy::current_town_type& old);
void import_legacy(legacy::town_item_list& old);
void import_legacy(legacy::current_town_type const &old);
void import_legacy(legacy::town_item_list const &old);
void import_reset_fields_legacy();
void import_legacy(legacy::big_tr_type& old);
void import_legacy(legacy::big_tr_type const &old);
cTown* operator -> ();
cTown& operator * ();
@@ -141,7 +141,7 @@ public:
bool is_spot(int x, int y);
bool is_road(int x, int y);
void import_legacy(legacy::out_info_type& old);
void import_legacy(legacy::out_info_type const &old);
typedef ter_num_t arr_96[96];
arr_96& operator [] (size_t i);
@@ -206,8 +206,8 @@ public:
bool node_step_through { false };
void clear_stored_pcs();
void import_legacy(legacy::stored_town_maps_type& old);
void import_legacy(legacy::stored_outdoor_maps_type& old);
void import_legacy(legacy::stored_town_maps_type const &old);
void import_legacy(legacy::stored_outdoor_maps_type const &old);
void enter_scenario(const std::string& name);
void refresh_store_items();
void generate_job_bank(int which, job_bank_t& bank);