Age | Commit message (Collapse) | Author |
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
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.
|
|
company values.
|
|
|
|
fitting to the naming style
|
|
the remaining to fit with the naming style
|
|
remaining to fit with the naming style
|
|
style
|
|
unneeded define
|
|
with the coding style
|
|
the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|
|
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
|
|
performance rating calculation.
|
|
windows that are smaller than the default window size.
|
|
variables.h to strings.h
|
|
(president) name
by index
|
|
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.
|
|
|
|
flag in NewGRF loader.
|
|
"items" high
|
|
CargoID loops.
|
|
payment graph
|
|
|
|
|
|
|
|
This lets us remove the gaps and allow more than 12 cargo types later.
|
|
comments style.
|
|
struct array (with accessor) and implement new initialization method using cargo labels.
|
|
performance
details window is no longer active, choose the first active player instead of
the first player as that may also be inactive.
|
|
|
|
describes the
required value better anyway. However, INT64_MAX comes from stdint.h which
doesn't seem to exist on MSVC or MorphOS, so it's defined manually for them.
|
|
descriptive names, and add some more comments.
|
|
datasets should be drawn, and use HASBIT for testing against them.
|
|
is invalid for both an int64 and a uint.
|
|
fix two longstanding bugs.
1) If the graph contained negative values, the y axis labels were half the size they should have been.
2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0.
|
|
scaling for negative values.
|
|
hardcoded offset to make the string appear centred.
|
|
loops they're used in, and remove some assumptions about the size of an array.
|
|
|
|
completely, and make i local to each loop it's used in.
|
|
|
|
descriptive.
|
|
they're also the same everywhere.
|