Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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)
|
|
remotely trigger an assertion.
|
|
windows that are smaller than the default window size.
|
|
variables.h to strings.h
|
|
better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
|
|
place money in some string.
|
|
issues. Thanks to benc for providing the patch.
|
|
easily modified.
|
|
|
|
|
|
files with the @file tag as well as a few general comments style
|
|
|
|
values.
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
|
|
renamed to .cpp)
|