06-14-2017, 08:47 AM
About the slow loading of the airline list
I think this can be made to respond faster. - if it works like I think it works...
Does it currently read through all the airline xml files?
If not, then sorry for this useless post
Wouldn't it be better if we had a database of all airlines?
This means the game doesn't have to open those 1300 files, containing info it doesn't need at this point...
what should be in this database?
-airline name
-country
-cargo/passenger/mixed
-link to airline xml file
-favourite?
-...?
and how about adding some filters to this page (and the opponents selection page)?
-region
-country
-cargo/passenger/mixed
-favourite?
Then when the game gets created this database tells the game where to find these airlines.
On the downside, this means we'd need one extra step to implement airlines: importing the airline from the xml to the database.
So that the player still can create his own custom airline.
Like I said before, I'm a newbie when it comes to coding. I might be wrong about the optimization, but I think this would make loading the list faster..
I think this can be made to respond faster. - if it works like I think it works...
Does it currently read through all the airline xml files?
If not, then sorry for this useless post
Wouldn't it be better if we had a database of all airlines?
This means the game doesn't have to open those 1300 files, containing info it doesn't need at this point...
what should be in this database?
-airline name
-country
-cargo/passenger/mixed
-link to airline xml file
-favourite?
-...?
and how about adding some filters to this page (and the opponents selection page)?
-region
-country
-cargo/passenger/mixed
-favourite?
Then when the game gets created this database tells the game where to find these airlines.
On the downside, this means we'd need one extra step to implement airlines: importing the airline from the xml to the database.
So that the player still can create his own custom airline.
Like I said before, I'm a newbie when it comes to coding. I might be wrong about the optimization, but I think this would make loading the list faster..