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