callback_table.cpp

Go to the documentation of this file.
00001 /* $Id: callback_table.cpp 11677 2007-12-21 21:50:46Z rubidium $ */
00002 
00005 #include "stdafx.h"
00006 #include "openttd.h"
00007 #include "callback_table.h"
00008 
00009 /* If you add a callback for DoCommandP, also add the callback in here
00010  *   see below for the full list!
00011  * If you don't do it, it won't work across the network!! */
00012 
00013 /* aircraft_gui.cpp */
00014 CommandCallback CcBuildAircraft;
00015 
00016 /* airport_gui.cpp */
00017 CommandCallback CcBuildAirport;
00018 
00019 /* bridge_gui.cpp */
00020 CommandCallback CcBuildBridge;
00021 
00022 /* dock_gui.cpp */
00023 CommandCallback CcBuildDocks;
00024 CommandCallback CcBuildCanal;
00025 
00026 /* depot_gui.cpp */
00027 CommandCallback CcCloneVehicle;
00028 
00029 /* main_gui.cpp */
00030 CommandCallback CcPlaySound10;
00031 CommandCallback CcPlaceSign;
00032 CommandCallback CcTerraform;
00033 CommandCallback CcBuildTown;
00034 CommandCallback CcGiveMoney;
00035 
00036 /* rail_gui.cpp */
00037 CommandCallback CcPlaySound1E;
00038 CommandCallback CcRailDepot;
00039 CommandCallback CcStation;
00040 CommandCallback CcBuildRailTunnel;
00041 
00042 /* road_gui.cpp */
00043 CommandCallback CcPlaySound1D;
00044 CommandCallback CcBuildRoadTunnel;
00045 CommandCallback CcRoadDepot;
00046 
00047 /* roadveh_gui.cpp */
00048 CommandCallback CcBuildRoadVeh;
00049 
00050 /* ship_gui.cpp */
00051 CommandCallback CcBuildShip;
00052 
00053 /* train_gui.cpp */
00054 CommandCallback CcBuildWagon;
00055 CommandCallback CcBuildLoco;
00056 
00057 CommandCallback CcAI;
00058 
00059 CommandCallback *_callback_table[] = {
00060   /* 0x00 */ NULL,
00061   /* 0x01 */ CcBuildAircraft,
00062   /* 0x02 */ CcBuildAirport,
00063   /* 0x03 */ CcBuildBridge,
00064   /* 0x04 */ CcBuildCanal,
00065   /* 0x05 */ CcBuildDocks,
00066   /* 0x06 */ CcBuildLoco,
00067   /* 0x07 */ CcBuildRoadVeh,
00068   /* 0x08 */ CcBuildShip,
00069   /* 0x09 */ CcBuildTown,
00070   /* 0x0A */ CcBuildRoadTunnel,
00071   /* 0x0B */ CcBuildRailTunnel,
00072   /* 0x0C */ CcBuildWagon,
00073   /* 0x0D */ CcRoadDepot,
00074   /* 0x0E */ CcRailDepot,
00075   /* 0x0F */ CcPlaceSign,
00076   /* 0x10 */ CcPlaySound10,
00077   /* 0x11 */ CcPlaySound1D,
00078   /* 0x12 */ CcPlaySound1E,
00079   /* 0x13 */ CcStation,
00080   /* 0x14 */ CcTerraform,
00081   /* 0x15 */ CcAI,
00082   /* 0x16 */ CcCloneVehicle,
00083   /* 0x17 */ CcGiveMoney,
00084 };
00085 
00086 const int _callback_table_count = lengthof(_callback_table);

Generated on Wed Oct 1 17:03:20 2008 for openttd by  doxygen 1.5.6