Opened 10 years ago

Last modified 5 years ago

#2299 new defect

Improve handling of the start game

Reported by: wraitii Owned by:
Priority: Should Have Milestone: Backlog
Component: Simulation Keywords:
Cc: Patch:

Description

The way we currently start a game is fairly messy, with a lot of inits everywhere, a "ReallyStartGame" which is also called when you use Atlas (and thus don't really start a game) which is really messy.

Furthermore, we use "InitGame.js" for the last part of the initialization, but not everything (skirmish entities replacement is done in a separate function because we need to flush "Destroy" Messages for the AI).

This is tied a lot to AI initialization.

It'd be nice, if anything, to have a wiki page listing how we currently start a game, for future reference.

Change History (1)

comment:1 by Itms, 5 years ago

Component: UI & SimulationSimulation
Note: See TracTickets for help on using tickets.