~armagetronad-ap/armagetronad/BattleMania

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/php
<?php
###################################################################
######                     Battle Mania                      ######
###################################################################
######  Script by: LOVER$BOY                                 ######
######  Description: Please leave this header. Thanks!       ######
######  Contact: zodiacsohma1@gmail.com                      ######
###################################################################

//  load handlers from the base file for all storage of settings and such.
require "common.php";

//  Load language command messages
loadLanguageMessages();

//  Load stored records
Record::loadRecords();

require $root."/src/engine/main.php";

while (!feof(STDIN))
{
    //  run the script process here
    main(STDIN);

    //!< Go with the game time step if the game has been enabled to run
    if (Base::$base->TIMER->running)
        Timestep(Base::$base->TIMER->gameTimer());
}
?>