summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/object/robotmain.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp
index 9f95e10..90d5d03 100644
--- a/src/object/robotmain.cpp
+++ b/src/object/robotmain.cpp
@@ -1768,6 +1768,23 @@ void CRobotMain::ExecuteCmd(char *cmd)
return;
}
+ if (strcmp(cmd, "allbuildings") == 0)
+ {
+ g_build = -1; // all buildings are available
+
+ m_eventQueue->AddEvent(Event(EVENT_UPDINTERFACE));
+ return;
+ }
+
+ if (strcmp(cmd, "all") == 0)
+ {
+ g_researchDone = -1; // all research are done
+ g_build = -1; // all buildings are available
+
+ m_eventQueue->AddEvent(Event(EVENT_UPDINTERFACE));
+ return;
+ }
+
if (strcmp(cmd, "nolimit") == 0)
{
m_terrain->SetFlyingMaxHeight(280.0f);
@@ -2006,6 +2023,11 @@ void CRobotMain::ExecuteCmd(char *cmd)
UpdateSpeedLabel();
return;
}
+ if (strcmp(cmd, "crazy") == 0) {
+ SetSpeed(1000.0f);
+ UpdateSpeedLabel();
+ return;
+ }
if (m_phase == PHASE_SIMUL)
m_displayText->DisplayError(ERR_CMD, Math::Vector(0.0f,0.0f,0.0f));