summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--command.c9
-rw-r--r--command.h4
-rw-r--r--intro_gui.c15
-rw-r--r--misc_cmd.c6
4 files changed, 3 insertions, 31 deletions
diff --git a/command.c b/command.c
index 7fb4f4705..22b6af6d4 100644
--- a/command.c
+++ b/command.c
@@ -112,7 +112,6 @@ DEF_COMMAND(CmdTurnRoadVeh);
DEF_COMMAND(CmdChangeRoadVehServiceInt);
DEF_COMMAND(CmdPause);
-DEF_COMMAND(CmdResume);
DEF_COMMAND(CmdBuyShareInCompany);
DEF_COMMAND(CmdSellShareInCompany);
@@ -138,9 +137,7 @@ DEF_COMMAND(CmdRefitShip);
DEF_COMMAND(CmdStartNewGame);
-DEF_COMMAND(CmdLoadGame);
DEF_COMMAND(CmdCreateScenario);
-DEF_COMMAND(CmdSetSinglePlayer);
DEF_COMMAND(CmdSetNewLandscapeType);
@@ -279,9 +276,9 @@ static CommandProc * const _command_proc_table[] = {
CmdRefitShip, /* 91 */
CmdStartNewGame, /* 92 */
- CmdLoadGame, /* 93 */
+ NULL, /* 93 */
CmdCreateScenario, /* 94 */
- CmdSetSinglePlayer, /* 95 */
+ NULL, /* 95 */
NULL, /* 96 */
CmdSetNewLandscapeType, /* 97 */
@@ -290,7 +287,7 @@ static CommandProc * const _command_proc_table[] = {
CmdCloneOrder, /* 99 */
CmdClearArea, /* 100 */
- CmdResume, /* 101 */
+ NULL, /* 101 */
CmdMoneyCheat, /* 102 */
CmdBuildCanal, /* 103 */
diff --git a/command.h b/command.h
index 030bda50f..49c13dc2e 100644
--- a/command.h
+++ b/command.h
@@ -117,9 +117,7 @@ enum {
CMD_REFIT_SHIP = 91,
CMD_START_NEW_GAME = 92,
- CMD_LOAD_GAME = 93,
CMD_CREATE_SCENARIO = 94,
- CMD_SET_SINGLE_PLAYER = 95,
CMD_SET_NEW_LANDSCAPE_TYPE = 97,
@@ -128,8 +126,6 @@ enum {
CMD_CLONE_ORDER = 99,
CMD_CLEAR_AREA = 100,
- CMD_RESUME = 101,
-
CMD_MONEY_CHEAT = 102,
CMD_BUILD_CANAL = 103,
diff --git a/intro_gui.c b/intro_gui.c
index 59f8c30b0..cfcc9fbac 100644
--- a/intro_gui.c
+++ b/intro_gui.c
@@ -159,15 +159,6 @@ int32 CmdGenRandomNewGame(int x, int y, uint32 flags, uint32 p1, uint32 p2)
return 0;
}
-int32 CmdLoadGame(int x, int y, uint32 flags, uint32 p1, uint32 p2)
-{
- if (!(flags & DC_EXEC))
- return 0;
-
-// ShowSaveLoadDialog(0);
- return 0;
-}
-
int32 CmdCreateScenario(int x, int y, uint32 flags, uint32 p1, uint32 p2)
{
if (!(flags & DC_EXEC))
@@ -177,12 +168,6 @@ int32 CmdCreateScenario(int x, int y, uint32 flags, uint32 p1, uint32 p2)
return 0;
}
-int32 CmdSetSinglePlayer(int x, int y, uint32 flags, uint32 p1, uint32 p2)
-{
- printf("CmdSetSinglePlayer\n");
- return 0;
-}
-
int32 CmdStartScenario(int x, int y, uint32 flags, uint32 p1, uint32 p2)
{
if (!(flags & DC_EXEC))
diff --git a/misc_cmd.c b/misc_cmd.c
index 1ecc9c24e..c7e60a2ec 100644
--- a/misc_cmd.c
+++ b/misc_cmd.c
@@ -185,12 +185,6 @@ int32 CmdPause(int x, int y, uint32 flags, uint32 p1, uint32 p2)
}
-
-int32 CmdResume(int x, int y, uint32 flags, uint32 p1, uint32 p2)
-{
- return 0;
-}
-
int32 CmdMoneyCheat(int x, int y, uint32 flags, uint32 p1, uint32 p2)
{
SET_EXPENSES_TYPE(EXPENSES_OTHER);