callback_table.cpp
Go to the documentation of this file.00001
00002
00005 #include "stdafx.h"
00006 #include "openttd.h"
00007 #include "callback_table.h"
00008
00009
00010
00011
00012
00013
00014 CommandCallback CcBuildAircraft;
00015
00016
00017 CommandCallback CcBuildAirport;
00018
00019
00020 CommandCallback CcBuildBridge;
00021
00022
00023 CommandCallback CcBuildDocks;
00024 CommandCallback CcBuildCanal;
00025
00026
00027 CommandCallback CcCloneVehicle;
00028
00029
00030 CommandCallback CcPlaySound10;
00031 CommandCallback CcPlaceSign;
00032 CommandCallback CcTerraform;
00033 CommandCallback CcBuildTown;
00034 CommandCallback CcGiveMoney;
00035
00036
00037 CommandCallback CcPlaySound1E;
00038 CommandCallback CcRailDepot;
00039 CommandCallback CcStation;
00040 CommandCallback CcBuildRailTunnel;
00041
00042
00043 CommandCallback CcPlaySound1D;
00044 CommandCallback CcBuildRoadTunnel;
00045 CommandCallback CcRoadDepot;
00046
00047
00048 CommandCallback CcBuildRoadVeh;
00049
00050
00051 CommandCallback CcBuildShip;
00052
00053
00054 CommandCallback CcBuildWagon;
00055 CommandCallback CcBuildLoco;
00056
00057 CommandCallback CcAI;
00058
00059 CommandCallback *_callback_table[] = {
00060 NULL,
00061 CcBuildAircraft,
00062 CcBuildAirport,
00063 CcBuildBridge,
00064 CcBuildCanal,
00065 CcBuildDocks,
00066 CcBuildLoco,
00067 CcBuildRoadVeh,
00068 CcBuildShip,
00069 CcBuildTown,
00070 CcBuildRoadTunnel,
00071 CcBuildRailTunnel,
00072 CcBuildWagon,
00073 CcRoadDepot,
00074 CcRailDepot,
00075 CcPlaceSign,
00076 CcPlaySound10,
00077 CcPlaySound1D,
00078 CcPlaySound1E,
00079 CcStation,
00080 CcTerraform,
00081 CcAI,
00082 CcCloneVehicle,
00083 CcGiveMoney,
00084 };
00085
00086 const int _callback_table_count = lengthof(_callback_table);