0ad/binaries/data/mods/public/simulation/helpers/InitGame.js
Ykkrosh 4fed9b8242 # Added initial support for players and population counters in new simulation system, plus various infrastructure improvements.
Merge from 22b478ffed8d.
Pure scripted interface definitions.
Entity creation from scripts.
Improved messaging system.
Messages on entity deletion.
Basic player entities.
Player ownership.
Bug fixes.

This was SVN commit r7281.
2010-01-22 20:03:14 +00:00

9 lines
274 B
JavaScript

function InitGame(data)
{
// This will be called after the map has been loaded, before the simulation has started.
// It should initialise the game based on parameters passed from the GUI, e.g. player
// names and colours.
}
Engine.RegisterGlobal("InitGame", InitGame);