Age | Commit message (Collapse) | Author |
|
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
|
window_gui.h only needs to be included in *_gui.cpp.
|
|
the Window class and remove Window from their naming.
|
|
depot.
|
|
variable
|
|
variable
|
|
pointer with the WE_CREATE message because nothing uses it anymore.
|
|
|
|
|
|
Window.
|
|
|
|
when it's certain that w != NULL.
|
|
something more than whitespace as description of files that don't have a description.
|
|
'Location' button, a town/station/industry list, or some news items.
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
FOR_ALL_ENGINEIDS_OF_TYPE
|
|
operators.
|
|
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
|
in the group and depot GUI if appropriate
|
|
|
|
input, depot/group window wasn't updated (original patch by GrimRC)
|
|
|
|
unneeded include from openttd.h.
|
|
|
|
|
|
|
|
useless includes.
|
|
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.
|
|
|
|
its now useless counterpart function
|
|
|
|
|
|
|
|
ViewportHighlightMode
|
|
WindowHighlightMode constants. Patch by SmatZ.
|
|
the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|
|
|
|
Vehicle::first pointer correctly set.
|
|
state while being marked const.
-Codechange: do not brute force determine the first vehicle in the chain or previous vehicle, but do it by properly accounting the previous and first pointers when updating the next pointer. This gives a performance increase of about 15% when there are a lot of vehicles in the game.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
|
|
code... thanks to glx for spotting it.
|
|
CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
|
|
windows that are smaller than the default window size.
|
|
variables.h to strings.h
|
|
Get(Aircraft|RoadVeh|Ship|Train)Image.
|