Age | Commit message (Collapse) | Author |
|
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.
|
|
same everywhere it was set.
|
|
can be negative,
so don't put them in an unsigned variable before drawing them in the various
graphs. Although the code didn't change, this only seems to have broken since
we started compiling it as C++.
|
|
graph_gui.cpp to a file of its own: signs_gui.cpp.
|
|
include that
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to
players.cpp.
|
|
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.
|
|
pointer to allocated memory instead of modifying the pointer given as parameter
|
|
macros by a simple template function max(), that requires two arguments of the same type. While I'm at it change a variable called "max" to "maxval" in a function that calls max().
|
|
stillunknown and pv2b.
|