~armagetronad-ap/armagetronad/BattleMania

« back to all changes in this revision

Viewing changes to main.php

  • Committer: zodiacsohma1 at gmail
  • Date: 2014-03-02 08:09:55 UTC
  • Revision ID: zodiacsohma1@gmail.com-20140302080955-r5ot6eipfe0nlpww
Simplified all fields and code in all areas for better as they seem to repeat themselves.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
//  Load language command messages
15
15
loadLanguageMessages();
16
16
 
17
 
require Base::$base->ROOT_PATH."/src/engine/main.php";
18
 
 
19
17
//  Load stored records
20
18
Record::loadRecords();
21
19
 
22
20
while (!feof(STDIN))
23
21
{
24
 
    //  Read the line in from stream
25
 
    ReadStdin();
26
 
 
27
22
    //  run the script process here
28
 
    main();
 
23
    main(STDIN);
29
24
 
30
25
    //!< Go with the game time step if the game has been enabled to run
31
26
    if (Base::$base->TIMER->running)