MegaGlest / megaglest-source

MegaGlest real-time strategy game engine (cross-platform, 3-d)
http://megaglest.org/
349 stars 89 forks source link

Loading game blocking main thread #233

Open pavanvo opened 2 years ago

pavanvo commented 2 years ago

Step to reproduce:

  1. Run the custom game
  2. Save the game a few times
  3. Exit, back to maim menu
  4. Try to switch between saves

This loading from .xml should run async

Rampoina commented 2 years ago

It's quite fast here but just to be sure:

pavanvo commented 2 years ago

yep) rain stopping

Rampoina commented 2 years ago

I spotted a few more places where this could be used: