Implementation of parsing for the map format (untested)
- Some stubs inserted for loading new-format scenario data
This commit is contained in:
@@ -24,6 +24,7 @@ cScenario::cItemStorage::cItemStorage() : ter_type(-1), property(0) {
|
||||
//{-1,{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1},{0,0,0,0,0,0,0,0,0,0},0}
|
||||
|
||||
cScenario& cScenario::operator = (legacy::scenario_data_type& old){
|
||||
is_legacy = true;
|
||||
int i,j;
|
||||
// for(i = 0; i < 3; i++) format.ver[i] = old.ver[i];
|
||||
// format.min_run_ver = old.min_run_ver;
|
||||
|
@@ -96,6 +96,7 @@ public:
|
||||
char monst_strs[100][256];
|
||||
bool adjust_diff : 1;
|
||||
char : 7;
|
||||
bool is_legacy;
|
||||
fs::path scen_file; // transient
|
||||
cOutdoors* outdoors;
|
||||
cTown* towns;
|
||||
|
Reference in New Issue
Block a user