mirror of https://github.com/OpenTTD/OpenTTD
(svn r20189) -Codechange: unVARDEF _display_opt and move it to a more logical location
parent
eb30ebe1a4
commit
51ca546a9d
|
@ -74,5 +74,4 @@ void ShowBuildIndustryWindow();
|
||||||
void ShowFoundTownWindow();
|
void ShowFoundTownWindow();
|
||||||
void ShowMusicWindow();
|
void ShowMusicWindow();
|
||||||
|
|
||||||
|
|
||||||
#endif /* GUI_H */
|
#endif /* GUI_H */
|
||||||
|
|
|
@ -38,6 +38,7 @@ typedef uint TransparencyOptionBits; ///< transparency option bits
|
||||||
extern TransparencyOptionBits _transparency_opt;
|
extern TransparencyOptionBits _transparency_opt;
|
||||||
extern TransparencyOptionBits _transparency_lock;
|
extern TransparencyOptionBits _transparency_lock;
|
||||||
extern TransparencyOptionBits _invisibility_opt;
|
extern TransparencyOptionBits _invisibility_opt;
|
||||||
|
extern byte _display_opt; ///< What do we want to draw/do?
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the transparency option bit is set
|
* Check if the transparency option bit is set
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
TransparencyOptionBits _transparency_opt;
|
TransparencyOptionBits _transparency_opt;
|
||||||
TransparencyOptionBits _transparency_lock;
|
TransparencyOptionBits _transparency_lock;
|
||||||
TransparencyOptionBits _invisibility_opt;
|
TransparencyOptionBits _invisibility_opt;
|
||||||
|
byte _display_opt;
|
||||||
|
|
||||||
/** Widget numbers of the transparency window. */
|
/** Widget numbers of the transparency window. */
|
||||||
enum TransparencyToolbarWidgets {
|
enum TransparencyToolbarWidgets {
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
/* Amount of game ticks */
|
/* Amount of game ticks */
|
||||||
VARDEF uint16 _tick_counter;
|
VARDEF uint16 _tick_counter;
|
||||||
|
|
||||||
VARDEF byte _display_opt;
|
|
||||||
|
|
||||||
/* IN/OUT parameters to commands */
|
/* IN/OUT parameters to commands */
|
||||||
VARDEF bool _generating_world;
|
VARDEF bool _generating_world;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue