Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-01 | (svn r8511) -Codechange: make WindowClass an enumerated value. | rubidium | |
2007-01-23 | (svn r8374) -Fix (r8367): LLONG_MAX isn't always defined, and INT64_MAX ↵ | maedhros | |
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. | |||
2007-01-23 | (svn r8369) -Cleanup: [Graphs] Rename include_neg and adj_height to more ↵ | maedhros | |
descriptive names, and add some more comments. | |||
2007-01-23 | (svn r8368) -Cleanup: [Graphs] Rename the variables relating to whether ↵ | maedhros | |
datasets should be drawn, and use HASBIT for testing against them. | |||
2007-01-23 | (svn r8367) -Fix: [Graphs] Don't try to use the same value to mean something ↵ | maedhros | |
is invalid for both an int64 and a uint. | |||
2007-01-23 | (svn r8366) -Codechange: [Graphs] Make the scaling code less cryptic, and ↵ | maedhros | |
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. | |||
2007-01-22 | (svn r8356) -Codechange: [Graphs] Rename mx to highest_value, and fix the ↵ | maedhros | |
scaling for negative values. | |||
2007-01-22 | (svn r8350) -Codechange: [Graphs] Use DrawStringCentered instead of a ↵ | maedhros | |
hardcoded offset to make the string appear centred. | |||
2007-01-22 | (svn r8347) -Codechange: [Graphs] Make some more variables local to the ↵ | maedhros | |
loops they're used in, and remove some assumptions about the size of an array. | |||
2007-01-21 | (svn r8330) -Codechange: Remove num_x and num_dataset from DrawGraph. | maedhros | |
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) |