Files
@ r8781:bd977c904a17
Branch filter:
Location: cpp/openttd-patchpack/source/src/window_func.h - annotation
r8781:bd977c904a17
1.5 KiB
text/x-c
(svn r12482) -Fix: [build train] we don't need to have a depot in order to just check the price of a rail vehicle so don't check for compatible rails on the tile either
also wagons will only need tracks they can drive on in order to be build so there is no reason to check for power in the depot
also wagons will only need tracks they can drive on in order to be build so there is no reason to check for power in the depot
r8106:01dbd10fde05 r8106:01dbd10fde05 r8348:e6507808d2e7 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8254:b96be9ebfc6e r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8107:82461791b7a2 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8107:82461791b7a2 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8131:7a50db7be0ff r8131:7a50db7be0ff r8131:7a50db7be0ff r8131:7a50db7be0ff r8131:7a50db7be0ff r8131:7a50db7be0ff r8131:7a50db7be0ff r8106:01dbd10fde05 | /* $Id$ */
/** @file window_func.h Window functions not directly related to making/drawing windows. */
#ifndef WINDOW_FUNC_H
#define WINDOW_FUNC_H
#include "window_type.h"
#include "player_type.h"
/**
* Marks the window as dirty for repaint.
*
* @ingroup dirty
*/
void SetWindowDirty(const Window *w);
void SendWindowMessage(WindowClass wnd_class, WindowNumber wnd_num, int msg, int wparam, int lparam);
void SendWindowMessageClass(WindowClass wnd_class, int msg, int wparam, int lparam);
Window *FindWindowById(WindowClass cls, WindowNumber number);
void DeleteWindow(Window *w);
void ChangeWindowOwner(PlayerID old_player, PlayerID new_player);
void ResizeWindow(Window *w, int x, int y);
int PositionMainToolbar(Window *w);
void InitWindowSystem();
void UnInitWindowSystem();
void ResetWindowSystem();
void SetupColorsAndInitialWindow();
void InputLoop();
void InvalidateThisWindowData(Window *w);
void InvalidateWindowData(WindowClass cls, WindowNumber number);
void RelocateAllWindows(int neww, int newh);
void DeleteNonVitalWindows();
void DeleteAllNonVitalWindows();
void HideVitalWindows();
void ShowVitalWindows();
Window **FindWindowZPosition(const Window *w);
void InvalidateWindow(WindowClass cls, WindowNumber number);
void InvalidateWindowWidget(WindowClass cls, WindowNumber number, byte widget_index);
void InvalidateWindowClasses(WindowClass cls);
void InvalidateWindowClassesData(WindowClass cls);
void DeleteWindowById(WindowClass cls, WindowNumber number);
void DeleteWindowByClass(WindowClass cls);
#endif /* WINDOW_FUNC_H */
|