Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5139 in orxonox.OLD for trunk/src/util/loading/game_loader.cc


Ignore:
Timestamp:
Aug 26, 2005, 1:54:05 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: registered 'quit' from GameLoader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/loading/game_loader.cc

    r5093 r5139  
    1717
    1818#include "game_loader.h"
     19
     20#include "shell_command.h"
    1921#include "campaign.h"
    2022#include "world.h"
     
    2628#include "event.h"
    2729#include "event_handler.h"
    28 
    2930#include <string.h>
    3031
     
    4243  this->setClassID(CL_GAME_LOADER, "GameLoader");
    4344  this->setName("GameLoader");
     45
     46  ShellCommand<GameLoader>::registerCommand("quit", CL_GAME_LOADER, &GameLoader::stop);
    4447}
    4548
     
    165168    hehehe, have ya seen it... :)
    166169*/
    167 ErrorMessage GameLoader::stop()
     170void GameLoader::stop()
    168171{
    169172  if(this->currentCampaign != NULL)
Note: See TracChangeset for help on using the changeset viewer.