summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
AgeCommit message (Collapse)Author
2007-01-21(svn r8329) -Codechange: Remove the the horribly abused j and k variables ↵maedhros
completely, and make i local to each loop it's used in.
2007-01-21(svn r8328) -Codechange: Remove some magic numbers in the graph drawing code.maedhros
2007-01-21(svn r8322) -Codechange: Rename unk61A and unk61C to something a little more ↵maedhros
descriptive.
2007-01-21(svn r8319) -Codechange: Remove the remaining colours from GraphDrawer as ↵maedhros
they're also the same everywhere.
2007-01-21(svn r8317) -Codechange: Remove GraphDrawer::bg_line_color since it was the ↵maedhros
same everywhere it was set.
2007-01-21(svn r8312) -Fix (r8038, sort of): Operating profit and the company value ↵maedhros
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++.
2007-01-21(svn r8301) -Codechange: Move the code relating to the sign list window from ↵maedhros
graph_gui.cpp to a file of its own: signs_gui.cpp.
2007-01-21(svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and ↵maedhros
include that instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to players.cpp.
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
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.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-11(svn r8055) -Codechange: Replace the different max, dmax, maxu whatever ↵celestar
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().
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)