Commit Graph

314 Commits (55d78a23be3a64d53cf9519e6a1dad702e484da9)

Author SHA1 Message Date
maedhros 17c71f4557 (svn r8330) -Codechange: Remove num_x and num_dataset from DrawGraph. 18 years ago
maedhros e371c67199 (svn r8329) -Codechange: Remove the the horribly abused j and k variables completely, and make i local to each loop it's used in. 18 years ago
maedhros 2b2fdc1281 (svn r8328) -Codechange: Remove some magic numbers in the graph drawing code. 18 years ago
maedhros 06362c3535 (svn r8322) -Codechange: Rename unk61A and unk61C to something a little more descriptive. 18 years ago
maedhros 84f4ca8b56 (svn r8319) -Codechange: Remove the remaining colours from GraphDrawer as they're also the same everywhere. 18 years ago
maedhros 699d8709c1 (svn r8317) -Codechange: Remove GraphDrawer::bg_line_color since it was the same everywhere it was set. 18 years ago
maedhros 1564c74259 (svn r8312) -Fix (r8038, sort of): Operating profit and the company value 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++.
18 years ago
maedhros 38647bb426 (svn r8301) -Codechange: Move the code relating to the sign list window from graph_gui.cpp to a file of its own: signs_gui.cpp. 18 years ago
maedhros 7a7562d8e2 (svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and include that
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to
players.cpp.
18 years ago
peter1138 92d418b031 (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit 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.
18 years ago
KUDr 33be1ecfb1 (svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter 18 years ago
celestar 2ac0410767 (svn r8055) -Codechange: Replace the different max, dmax, maxu whatever 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(). 18 years ago
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
KUDr e373ea7096 (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 18 years ago