gui.h
changeset 4171 3fadda3afe70
parent 4013 a11adcc2a852
child 4211 d8c4c40eba62
equal deleted inserted replaced
4170:1e4a024fd08b 4171:3fadda3afe70
    39 void PlaceProc_BuyLand(TileIndex tile);
    39 void PlaceProc_BuyLand(TileIndex tile);
    40 
    40 
    41 /* train_gui.c */
    41 /* train_gui.c */
    42 void ShowPlayerTrains(PlayerID player, StationID station);
    42 void ShowPlayerTrains(PlayerID player, StationID station);
    43 void ShowTrainViewWindow(const Vehicle *v);
    43 void ShowTrainViewWindow(const Vehicle *v);
    44 void ShowOrdersWindow(const Vehicle* v);
    44 void ShowOrdersWindow(const Vehicle *v);
    45 
    45 
    46 void ShowRoadVehViewWindow(const Vehicle* v);
    46 void ShowRoadVehViewWindow(const Vehicle *v);
    47 
    47 
    48 /* road_gui.c */
    48 /* road_gui.c */
    49 void ShowBuildRoadToolbar(void);
    49 void ShowBuildRoadToolbar(void);
    50 void ShowBuildRoadScenToolbar(void);
    50 void ShowBuildRoadScenToolbar(void);
    51 void ShowPlayerRoadVehicles(PlayerID player, StationID station);
    51 void ShowPlayerRoadVehicles(PlayerID player, StationID station);
    52 
    52 
    53 /* dock_gui.c */
    53 /* dock_gui.c */
    54 void ShowBuildDocksToolbar(void);
    54 void ShowBuildDocksToolbar(void);
    55 void ShowPlayerShips(PlayerID player, StationID station);
    55 void ShowPlayerShips(PlayerID player, StationID station);
    56 
    56 
    57 void ShowShipViewWindow(const Vehicle* v);
    57 void ShowShipViewWindow(const Vehicle *v);
    58 
    58 
    59 /* aircraft_gui.c */
    59 /* aircraft_gui.c */
    60 void ShowBuildAirToolbar(void);
    60 void ShowBuildAirToolbar(void);
    61 void ShowPlayerAircraft(PlayerID player, StationID station);
    61 void ShowPlayerAircraft(PlayerID player, StationID station);
    62 
    62 
    91 
    91 
    92 void ShowEstimatedCostOrIncome(int32 cost, int x, int y);
    92 void ShowEstimatedCostOrIncome(int32 cost, int x, int y);
    93 void ShowErrorMessage(StringID msg_1, StringID msg_2, int x, int y);
    93 void ShowErrorMessage(StringID msg_1, StringID msg_2, int x, int y);
    94 
    94 
    95 void DrawStationCoverageAreaText(int sx, int sy, uint mask,int rad);
    95 void DrawStationCoverageAreaText(int sx, int sy, uint mask,int rad);
    96 void CheckRedrawStationCoverage(const Window* w);
    96 void CheckRedrawStationCoverage(const Window *w);
    97 
    97 
    98 void ShowSmallMap(void);
    98 void ShowSmallMap(void);
    99 void ShowExtraViewPortWindow(void);
    99 void ShowExtraViewPortWindow(void);
   100 void SetVScrollCount(Window *w, int num);
   100 void SetVScrollCount(Window *w, int num);
   101 void SetVScroll2Count(Window *w, int num);
   101 void SetVScroll2Count(Window *w, int num);
   132 	ZOOM_IN = 0,
   132 	ZOOM_IN = 0,
   133 	ZOOM_OUT = 1,
   133 	ZOOM_OUT = 1,
   134 	ZOOM_NONE = 2, // hack, used to update the button status
   134 	ZOOM_NONE = 2, // hack, used to update the button status
   135 };
   135 };
   136 
   136 
   137 bool DoZoomInOutWindow(int how, Window * w);
   137 bool DoZoomInOutWindow(int how, Window *w);
   138 void ShowBuildIndustryWindow(void);
   138 void ShowBuildIndustryWindow(void);
   139 void ShowQueryString(StringID str, StringID caption, uint maxlen, uint maxwidth, WindowClass window_class, WindowNumber window_number);
   139 void ShowQueryString(StringID str, StringID caption, uint maxlen, uint maxwidth, WindowClass window_class, WindowNumber window_number);
   140 void ShowMusicWindow(void);
   140 void ShowMusicWindow(void);
   141 
   141 
   142 /* main_gui.c */
   142 /* main_gui.c */