summaryrefslogtreecommitdiff
path: root/graph_gui.c
AgeCommit message (Collapse)Author
2005-12-07(svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect ↵peter1138
their actual use, and add "Close Window" tooltip where missing.
2005-11-17(svn r3215) - Fix: warning on VS.NET 2003 complaining about constness ↵Darkvater
reintroduced by revision 3192
2005-11-16(svn r3198) Rewrite the company league drawing routine for better readabilitytron
2005-11-14(svn r3181) -Bracingtron
-Indentation -Whitespace -DeMorgan's Law -Test with NULL or 0 for non-booleans -'\0' instead of 0 for chars -Remove redundantly redundant comments (like DoFoo(); // Do foo) -Join multiple short lines with a single statement -Split single lines with multiple statements -Avoid assignments in if
2005-10-02(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)Darkvater
Fix warning in graph_gui.c with const problem
2005-09-30(svn r3001) s/Player*/const Player*/tron
s/byte/PlayerID/ s/int/PlayerID/ and related changes
2005-09-25(svn r2984) Use adequate types, this should aid portability a bittron
2005-09-18(svn r2962) - const correctness for all Get* functions and most Draw* ↵Darkvater
functions that don't change their pointer parameters - change a lot of byte player types to PlayerID - beautify header files, same "#endif /* filename */" ending
2005-08-01(svn r2781) Fix some of the issues with variables in .h files.ludde
2005-07-31(svn r2766) Remove string and make use of the plural featuretron
2005-07-24(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic ↵celestar
numbers by enums. There remains work in gfx.c to move the "transparency" and "recolor" bits around to make space for more sprites. However, 2800 additional sprites can now be loaded. There also remains cleanup and Doxygen work on many of the header files.
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-22(svn r2673) Include functions.h directly, not globally via openttd.htron
2005-07-21(svn r2669) Shuffle some more stuff around to reduce dependenciestron
2005-07-19(svn r2645) Fix (useless)warning in graph_gui and add brackets around HASBIT ↵Darkvater
in an if statement
2005-07-19(svn r2643) Get rid of some unnecessary caststron
2005-07-15(svn r2572) - Codechange: [string] Changed string system so it's not as ↵ludde
dependent on decode_parameters - Feature: [strgen] Allow changing the order of parameters in translated strings. - Use {1:TOWN} syntax to set the order. - Codechange: [strgen] Rewrote lots of strgen internals.
2005-06-25(svn r2486) Turn TILE_FROM_XY into an inline function and rename it to ↵tron
TileVirtXY
2005-06-21(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayercelestar
2005-06-02(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.Darkvater
2005-03-26(svn r2079) -Add: signlist, shows all signs in the map. Clicking on them, ↵truelight
and you go to the sign. Very needed for coop. You can find it under World Map.
2005-01-23(svn r1631) A couple of fixes for the signed/unsigned warnings. Only ↵dominik
train_cmd.c remains to need fixing...
2005-01-22(svn r1594) Convert all undefined parameter lists to (void) and add the ↵tron
appropriate warning flags in the Makefile
2005-01-22(svn r1587) -CodeChange: fixed up the graph loop a little..numd now shows ↵darkvater
the exact amount, no +1 needed -CodeMotion: moved 'Company performancerating detail' to the end of the file; it fits there
2005-01-22(svn r1586) Fix: [ 1107340 ] Graphs don't show comapany info for company #8dominik
2005-01-21(svn r1580) Fix: [ 1106354 ] Graph's keys get confuseddominik
Fix: Graphs were not updated correctly when one graph with a certain selection was already open and another graph window was opened
2005-01-11(svn r1479) -Added highscore chart (accessible from the difficulty window) ↵darkvater
with top5 companies for a given difficulty (select the difficulty in the menu) -Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while -These values are saved in hs.dat; added read/write functions for it -Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
2005-01-10(svn r1475) Fix some more signed/unsigned comparison warningstron
2005-01-10(svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped ↵darkvater
year between 1920-2090 as wel as adding defines for it.
2005-01-03(svn r1348) -Feature: resizable windows. Read the comment in window.h to ↵truelight
find out how the system works. All useful windows are already made resizable. Enjoy :) -Fix: fixed some GUI-glitches and flaws along the way
2004-12-02(svn r901) Small step in the process to clean up the DPARAM mess:tron
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest) - use inline functions instead of macros - add assert()s to check for buffer overruns
2004-11-28(svn r844) Fix some typos ([ 1074329 ]) and use a bigger font in the ↵tron
detailed performance rating window
2004-11-25(svn r815) Include strings.h only in the files which need it.tron
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-14(svn r607) -Patch: [ 985102 ] static cleanuptron
Thanks to lvoge
2004-09-13(svn r241) -Fix: Trailing spaces :Odarkvater
2004-09-13(svn r237) -Fix: [1025836] Company value problem (again). Now company value ↵darkvater
rightly shows the value, including ALL your money. -Fix: Graphs now accomodate 64bit numbers (so the company value graph doesn't plummet into -... if value is too big) -Strgen: added CURRCOMPACT64 for this, and 64bit versions of several macros.
2004-09-12(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron ↵darkvater
for your diligent fixing of warnings (and some possibly bugs) (Tron) -CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-09-07(svn r177) -Fix: padded out Widget code to solve warnings on C99 compiler (Tron)darkvater
-Fix: added WIDGETS_END macro for WWT_LAST which does this for all last widget-types
2004-09-06(svn r166) -Codechange: change 74 for constant DAY_TICKSdarkvater
2004-08-25(svn r141) -Fix: Company-value was not updated immediatly if legend was changed truelight
(vondel)
2004-08-23(svn r117) Feature: Performance details window in company league menu ↵dominik
(TrueLight)
2004-08-15(svn r58) -Fix stupid bug in company league window if non-player is firstdarkvater
2004-08-10(svn r17) -Fix Player window fixes, Getstring id0 fixes, Finances window is ↵darkvater
now ok
2004-08-10(svn r3) -[1005611] Player Window patch: When looking in dropdownlist for ↵darkvater
player stuff, it will say for all human players (Player #), not only for the first 2
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight