Age | Commit message (Collapse) | Author |
|
unneeded include from openttd.h.
|
|
|
|
|
|
|
|
needed.
|
|
useless includes.
|
|
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.
|
|
|
|
order.h too
|
|
load/unload/transfert for them
|
|
|
|
|
|
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.
|
|
"road" everywhere except in the tile type.
|
|
windows that are smaller than the default window size.
|
|
|
|
variables.h to strings.h
|
|
|
|
|
|
clicking on an empty part of the orders window.
|
|
|
|
|
|
when clicking on the "skip" button while pressing CTRL.
|
|
individual checks depending on the vehicle type.
|
|
tabs with spaces.
|
|
inclusion. This time, brought to you by the letter O
|
|
stop in bus or truck stops.
|
|
check if they are in use
|
|
coding style (and rest of the code).
|
|
struct array (with accessor) and implement new initialization method using cargo labels.
|
|
delete all the vehicle's orders
If the orders are shared, then it will still unshare the orders like before.
|
|
hangars are part of a station instead of real depots.
|
|
same location as the unload button
instead assert if the widget array place them at different locations
|
|
so the order of the widget array fits the placement on the screen
|
|
|
|
all types of vehicle lists (depending on arguments)
- Also removed some unneeded arguments
- this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
|
|
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)
|