Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-11-04 | (svn r11374) -Codechange: Give meaning to the magical number that specifies ↵ | belugas | |
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383) | |||
2007-10-20 | (svn r11312) -Codechange: implement a overflow safe integer and use that for ↵ | rubidium | |
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo. | |||
2007-09-02 | (svn r11039) -Fix [FS#1191]: underflow that caused overflows in the ↵ | rubidium | |
performance rating calculation. | |||
2007-07-27 | (svn r10704) -Codechange: provide an infrastructure to have resizable ↵ | rubidium | |
windows that are smaller than the default window size. | |||
2007-07-16 | (svn r10587) -Codechange: move the string/dparam related stuff from ↵ | rubidium | |
variables.h to strings.h | |||
2007-06-25 | (svn r10323) -Codechange: reference company name, number and player ↵ | peter1138 | |
(president) name by index | |||
2007-06-21 | (svn r10258) -Codechange: as we are now using int64 all over the place, it's ↵ | rubidium | |
better to use int64 variables in the string generating too instead of packing them into two int32s. -Fix: some displays of money were wrong. | |||
2007-06-21 | (svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to ↵ | rubidium | |
place money in some string. | |||
2007-04-18 | (svn r9672) -Cleanup: lots of coding style fixes around operands. | rubidium | |
2007-04-15 | (svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo ↵ | peter1138 | |
flag in NewGRF loader. | |||
2007-03-24 | (svn r9435) -Fix (r8972): ensure the cargo payment graph is at least 12 ↵ | peter1138 | |
"items" high | |||
2007-03-21 | (svn r9388) -Codechange: variable scope and type, and standardify all ↵ | peter1138 | |
CargoID loops. | |||
2007-03-09 | (svn r9079) -Codechange: add WWT_LAST widget when dynamically building cargo ↵ | peter1138 | |
payment graph | |||
2007-03-07 | (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; | rubidium | |
2007-03-07 | (svn r9050) -Codechange: Foo(void) -> Foo() | rubidium | |
2007-03-03 | (svn r8989) -Fix: more indenting and variable scoping | peter1138 | |
2007-03-02 | (svn r8972) -Codechange: Dynamically add buttons on the cargo payment graph. ↵ | peter1138 | |
This lets us remove the gaps and allow more than 12 cargo types later. | |||
2007-03-01 | (svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few ↵ | belugas | |
comments style. | |||
2007-02-20 | (svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular ↵ | peter1138 | |
struct array (with accessor) and implement new initialization method using cargo labels. | |||
2007-02-06 | (svn r8612) -Fix (r117) [FS#582]: When the currently selected player in the ↵ | maedhros | |
performance details window is no longer active, choose the first active player instead of the first player as that may also be inactive. | |||
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) |