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