summaryrefslogtreecommitdiff
path: root/src/command_func.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-10-10 02:35:06 +0200
committerMichael Lutz <michi@icosahedron.de>2021-12-16 22:28:32 +0100
commit123c7f99c342aa9eb7ca505f0b49257fc8eee7ff (patch)
treeeaa3f1c377393e03263a974b7080eacc6f80ae77 /src/command_func.h
parent7048e1522f7095e7c716c2488d78711ab6ed912c (diff)
downloadopenttd-123c7f99c342aa9eb7ca505f0b49257fc8eee7ff.tar.xz
Codechange: Move command callback declarations to the cmd header files.
Diffstat (limited to 'src/command_func.h')
-rw-r--r--src/command_func.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/src/command_func.h b/src/command_func.h
index 15c88ea03..03bfc73f1 100644
--- a/src/command_func.h
+++ b/src/command_func.h
@@ -67,60 +67,4 @@ static inline DoCommandFlag CommandFlagsToDCFlags(CommandFlags cmd_flags)
return flags;
}
-/*** All command callbacks that exist ***/
-
-/* ai/ai_instance.cpp */
-CommandCallback CcAI;
-
-/* airport_gui.cpp */
-CommandCallback CcBuildAirport;
-
-/* bridge_gui.cpp */
-CommandCallback CcBuildBridge;
-
-/* dock_gui.cpp */
-CommandCallback CcBuildDocks;
-CommandCallback CcPlaySound_CONSTRUCTION_WATER;
-
-/* depot_gui.cpp */
-CommandCallback CcCloneVehicle;
-
-/* game/game_instance.cpp */
-CommandCallback CcGame;
-
-/* group_gui.cpp */
-CommandCallback CcCreateGroup;
-CommandCallback CcAddVehicleNewGroup;
-
-/* industry_gui.cpp */
-CommandCallback CcBuildIndustry;
-
-/* main_gui.cpp */
-CommandCallback CcPlaySound_EXPLOSION;
-CommandCallback CcPlaceSign;
-CommandCallback CcTerraform;
-
-/* rail_gui.cpp */
-CommandCallback CcPlaySound_CONSTRUCTION_RAIL;
-CommandCallback CcRailDepot;
-CommandCallback CcStation;
-CommandCallback CcBuildRailTunnel;
-
-/* road_gui.cpp */
-CommandCallback CcPlaySound_CONSTRUCTION_OTHER;
-CommandCallback CcBuildRoadTunnel;
-CommandCallback CcRoadDepot;
-CommandCallback CcRoadStop;
-
-/* train_gui.cpp */
-CommandCallback CcBuildWagon;
-
-/* town_gui.cpp */
-CommandCallback CcFoundTown;
-CommandCallback CcFoundRandomTown;
-
-/* vehicle_gui.cpp */
-CommandCallback CcBuildPrimaryVehicle;
-CommandCallback CcStartStopVehicle;
-
#endif /* COMMAND_FUNC_H */