Age | Commit message (Collapse) | Author |
|
Window.
|
|
from openttd.h to their own headers.
|
|
when it's certain that w != NULL.
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
|
|
someone without a keyboard can enter text too. Patch by Dominik.
|
|
places.
|
|
aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
|
|
|
|
widgets to avoid separate DrawString()s, and do the same for the scenario flat-land window.
|
|
separate DrawString() calls with widgets, use dropdown widgets, and use consistent positioning/sizing.
|
|
unneeded strings
|
|
Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
|
|
|
unneeded include from openttd.h.
|
|
|
|
|
|
when it's not necessary.
|
|
|
|
functions.
|
|
logical disposition
|
|
|
|
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.
|
|
its now useless counterpart function
|
|
|
|
correctly.
A better solution will be deviced, but not now. Let's not cause a ton of bug reports
|
|
which specifies that the window holding it is actually one that enables an edit box.
Use this flag when dispatching a key event instead of using some hard coded window IDs.
This should ease a little bit the creation of new edit aware windows.
|
|
|
|
with the coding style
|
|
the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|
|
windows that are smaller than the default window size.
|
|
-Codechange: replace magic 13 with MAX_SNOWLINE_HEIGHT (bilbo)
-Codechange: assure _map_height_bits is always of correct size (Rubidium)
|
|
updates instead of updating every 200ms. Previously slow screen updates would result in very slow map generation (GeekToo)
|
|
unnecessary globals. All details are now kept within the window's custom data.
|
|
independent of the game-state to base double-click and TGP Generation Process on
-Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is
|
|
for towns to use.
Possible patterns are :
No Road (not available in scenario editor)
Original (for the nostalgics)
Better Roads (same as original, but based on distance of 2 tiles instead of one)
2x2 grids
3x3 grids
Patch by skiddl13
|
|
and very low number of industries
Based on FS#289, by pitt2
|
|
|
|
landscape types.
|
|
|
|
|
|
comments style.
|
|
landscape window
|