src/callback_table.cpp
branchcpp_gui
changeset 6268 4b5241e5dd10
parent 5835 e0ff603ae0b7
child 6720 35756db7e577
child 9359 e915dd81a279
equal deleted inserted replaced
6267:7c8ec33959b1 6268:4b5241e5dd10
     1 /* $Id$ */
     1 /* $Id$ */
       
     2 
       
     3 /** @file callback_table.cpp */
     2 
     4 
     3 #include "stdafx.h"
     5 #include "stdafx.h"
     4 #include "openttd.h"
     6 #include "openttd.h"
     5 #include "callback_table.h"
     7 #include "callback_table.h"
     6 #include "functions.h"
     8 #include "functions.h"
     7 
     9 
     8 // If you add a callback for DoCommandP, also add the callback in here
    10 /* If you add a callback for DoCommandP, also add the callback in here
     9 //   see below for the full list!
    11  *   see below for the full list!
    10 // If you don't do it, it won't work across the network!!
    12  * If you don't do it, it won't work across the network!! */
    11 
    13 
    12 /* aircraft_gui.c */
    14 /* aircraft_gui.cpp */
    13 CommandCallback CcBuildAircraft;
    15 CommandCallback CcBuildAircraft;
    14 CommandCallback CcCloneAircraft;
    16 CommandCallback CcCloneAircraft;
    15 
    17 
    16 /* airport_gui.c */
    18 /* airport_gui.cpp */
    17 CommandCallback CcBuildAirport;
    19 CommandCallback CcBuildAirport;
    18 
    20 
    19 /* bridge_gui.c */
    21 /* bridge_gui.cpp */
    20 CommandCallback CcBuildBridge;
    22 CommandCallback CcBuildBridge;
    21 
    23 
    22 /* dock_gui.c */
    24 /* dock_gui.cpp */
    23 CommandCallback CcBuildDocks;
    25 CommandCallback CcBuildDocks;
    24 CommandCallback CcBuildCanal;
    26 CommandCallback CcBuildCanal;
    25 
    27 
    26 /* depot_gui.c */
    28 /* depot_gui.cpp */
    27 CommandCallback CcCloneVehicle;
    29 CommandCallback CcCloneVehicle;
    28 
    30 
    29 /* main_gui.c */
    31 /* main_gui.cpp */
    30 CommandCallback CcPlaySound10;
    32 CommandCallback CcPlaySound10;
    31 CommandCallback CcPlaceSign;
    33 CommandCallback CcPlaceSign;
    32 CommandCallback CcTerraform;
    34 CommandCallback CcTerraform;
    33 CommandCallback CcBuildTown;
    35 CommandCallback CcBuildTown;
    34 
    36 
    35 /* rail_gui.c */
    37 /* rail_gui.cpp */
    36 CommandCallback CcPlaySound1E;
    38 CommandCallback CcPlaySound1E;
    37 CommandCallback CcRailDepot;
    39 CommandCallback CcRailDepot;
    38 CommandCallback CcStation;
    40 CommandCallback CcStation;
    39 CommandCallback CcBuildRailTunnel;
    41 CommandCallback CcBuildRailTunnel;
    40 
    42 
    41 /* road_gui.c */
    43 /* road_gui.cpp */
    42 CommandCallback CcPlaySound1D;
    44 CommandCallback CcPlaySound1D;
    43 CommandCallback CcBuildRoadTunnel;
    45 CommandCallback CcBuildRoadTunnel;
    44 CommandCallback CcRoadDepot;
    46 CommandCallback CcRoadDepot;
    45 
    47 
    46 /* roadveh_gui.c */
    48 /* roadveh_gui.cpp */
    47 CommandCallback CcBuildRoadVeh;
    49 CommandCallback CcBuildRoadVeh;
    48 CommandCallback CcCloneRoadVeh;
    50 CommandCallback CcCloneRoadVeh;
    49 
    51 
    50 /* ship_gui.c */
    52 /* ship_gui.cpp */
    51 CommandCallback CcBuildShip;
    53 CommandCallback CcBuildShip;
    52 CommandCallback CcCloneShip;
    54 CommandCallback CcCloneShip;
    53 
    55 
    54 /* train_gui.c */
    56 /* train_gui.cpp */
    55 CommandCallback CcBuildWagon;
    57 CommandCallback CcBuildWagon;
    56 CommandCallback CcBuildLoco;
    58 CommandCallback CcBuildLoco;
    57 CommandCallback CcCloneTrain;
    59 CommandCallback CcCloneTrain;
    58 
    60 
    59 CommandCallback CcAI;
    61 CommandCallback CcAI;