Age | Commit message (Collapse) | Author |
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
callback
|
|
|
|
|
|
|
|
|
|
expanding them much easier (Alberth)
|
|
building w.r.t. tile selection and when the window should be closed.
|
|
changing company.
|
|
|
|
|
|
|
|
bridge build the last built bridge type if possible (planetmaker)
|
|
(optional) parameter.
|
|
|
|
|
|
|
|
the appropriate function calls
|
|
the window was just opened.
|
|
|
|
|
|
-Cleanup: make some globals part of the build bridge window
|
|
|
|
|
|
|
|
build bridge GUI
|
|
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
|
|
|
the Window class and remove Window from their naming.
|
|
a Window constructor.
|
|
|
|
|
|
identical apart the caption. So remove one window definition and set manually the caption accordingly.
-Codechange: prepare the "type" of bridge parameter only once, at the beginning of the selection process. Makes less magic around.
|
|
with other Specs in used.
|
|
|
|
-Codechange: Remove direct access to the _bridge table in favor of the above mentioned GetBridgeSpec
-Codechange: Rationalize the use of Bridge type pointer
|
|
GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
|
|
unneeded include from openttd.h.
|
|
|
|
functions.
|
|
map.h).
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
single file and do not include gfx.h everywhere to get a Point type.
|
|
their respective places.
|
|
|
|
and making it more logic where function definitions can be found.
|
|
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
|
window during runtime
|
|
|
|
the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|