Loading

Paste #phdm6qd78

  1.  * After determining the script to use, starting it is done as follows
  2.  *
  3.  * - An instance is constructed of the class derived from ScriptController
  4.  *   (Class name is retrieved from ScriptInfo::CreateInstance)..
  5.  * - If there is script data available in the loaded game and if the data is
  6.  *   loadable according to ScriptInfo::MinVersionToLoad, #Load is called with the
  7.  *   data from the loaded game.
  8.  * - Finally, #Start is called to start execution of the script.
  9.  *
  10.  * See also http://wiki.openttd.org/AI:Save/Load for more details.
  11.  *

Comments