2010-04-05 23:38:59 +02:00
|
|
|
#include "Engine.h"
|
|
|
|
|
|
|
|
|
|
namespace Engine {
|
|
|
|
|
|
|
|
|
|
bool Cmd_EngineQuit (std::vector<std::string> args) {
|
|
|
|
|
EngineSetStatus (EngineStatusStopping);
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Engine::OnRegisterCommands () {
|
|
|
|
|
AddCommand ("quit", Cmd_EngineQuit);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|