player_gui.c
Wed, 27 Sep 2006 11:45:26 +0000 peter1138 (svn r6523) - 'Feature'/'Fix': Add tooltips to the new company colour window
Sat, 23 Sep 2006 02:39:24 +0000 belugas (svn r6499) -Codechange: Finally, got "byte event" outside of the union WindowEvent, which is now a struct
Fri, 15 Sep 2006 20:37:48 +0000 peter1138 (svn r6457) - Codechange: Allow the company colour window to stay open after the
Fri, 15 Sep 2006 17:36:54 +0000 peter1138 (svn r6456) - Replace single colour scheme for passenger wagons with separate schemes for each of steam, diesel or electric engines. Savegames from the previous revision will not load.
Fri, 15 Sep 2006 12:27:00 +0000 peter1138 (svn r6455) - Feature: Add 2cc (two company colours) livery schemes. This replaces the original colour selection window and bumps the saveload version. Liveries are supported for all vehicles, not just those with 2cc support. Thanks to lakie for GUI inspiration.
Tue, 22 Aug 2006 14:38:37 +0000 rubidium (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Sun, 20 Aug 2006 19:05:28 +0000 rubidium (svn r6002) -Cleanup: remove the now redundant BASE_YEAR constant.
Sun, 20 Aug 2006 10:50:23 +0000 rubidium (svn r5967) -Change: use right alignment for the year in the player's balance window instead of centering (about) 'string width' / 2 from the right edge
Sat, 19 Aug 2006 09:31:22 +0000 truelight (svn r5944) -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for textboxes to only
Wed, 16 Aug 2006 11:39:55 +0000 rubidium (svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
Tue, 15 Aug 2006 15:18:03 +0000 rubidium (svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year.
Tue, 15 Aug 2006 14:52:17 +0000 rubidium (svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Wed, 26 Jul 2006 03:33:12 +0000 belugas (svn r5609) CodeChange : Apply coding style
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Fri, 24 Mar 2006 18:16:39 +0000 belugas (svn r4092) CodeChange : Named sprites instead of magic numbers plus create/use helper macro/enum for recoloring scheme
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Wed, 07 Dec 2005 15:48:52 +0000 peter1138 (svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect their actual use, and add "Close Window" tooltip where missing.
Tue, 29 Nov 2005 22:04:02 +0000 peter1138 (svn r3247) - Fix: "[ 1335580 ] sticky windows not sticky anymore"
Fri, 18 Nov 2005 23:41:03 +0000 bjarni (svn r3218) -Feature: Multiheaded train engines will now stay in the same train
Tue, 15 Nov 2005 08:49:46 +0000 tron (svn r3184) GB/SB
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Sun, 13 Nov 2005 14:54:09 +0000 tron (svn r3173) Use the trinary operator and switch to improve readability
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
Sun, 23 Oct 2005 13:04:44 +0000 tron (svn r3078) Some more stuff, which piled up:
Fri, 07 Oct 2005 07:35:15 +0000 tron (svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants
Fri, 30 Sep 2005 20:37:25 +0000 tron (svn r3001) s/Player*/const Player*/
Fri, 30 Sep 2005 08:57:12 +0000 tron (svn r2999) Do not pass if the HQ gets built for the first time or gets relocated as parameter - the command function has to check this anyway
Sun, 18 Sep 2005 20:56:44 +0000 Darkvater (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Sun, 31 Jul 2005 16:15:37 +0000 tron (svn r2766) Remove string and make use of the plural feature
Sun, 24 Jul 2005 15:56:31 +0000 celestar (svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Fri, 15 Jul 2005 15:09:52 +0000 ludde (svn r2573) Codechange: Removed WDF_RESTORE_DPARAM, it's not needed with the new string system.
Thu, 14 Jul 2005 09:43:59 +0000 ludde (svn r2564) Fix: Fixed conceptual issue in network_gui.c. AllocateName is not meant to be used by GUI-code, because it modifies the "game-state".
Tue, 21 Jun 2005 16:28:17 +0000 celestar (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Mon, 06 Jun 2005 13:47:06 +0000 Darkvater (svn r2420) - Codechange: magic number elminitation of cursorsprites.
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Mon, 30 May 2005 13:06:15 +0000 Darkvater (svn r2381) - Fix: [ 1210610 ] Endgame window on easy difficulty results in infinite loop. Oops. Seperated the window classes of endgame and highscreen.
Tue, 17 May 2005 20:54:05 +0000 Darkvater (svn r2344) - Fix (regression): [ 1197216 ] Error: !invalid string id 0 in GetString. Dedicated server also had the endgame window shown and because now it is properly no-player anymore it crashed.
Mon, 16 May 2005 08:41:42 +0000 tron (svn r2329) CMD_CHANGE_PRESIDENT_NAME and CMD_CHANGE_COMPANY_NAME don't use p1, so don't send any meaningful value for it when invoking these commands
Sun, 15 May 2005 18:50:55 +0000 tron (svn r2324) Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
Sat, 14 May 2005 22:51:15 +0000 Darkvater (svn r2315) - Fix: [ 1187613 ] No HQ present for competitor, disable 'View HQ' button, inspired by lucaspiller
Thu, 12 May 2005 00:11:37 +0000 Darkvater (svn r2297) - CodeChange: server-check the next batch of commands.
Wed, 11 May 2005 00:00:27 +0000 Darkvater (svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :)
Fri, 06 May 2005 06:56:30 +0000 tron (svn r2271) CMD_SET_PLAYER_FACE, CMD_SET_PLAYER_COLOR, CMD_INCREASE_LOAN, CMD_DECREASE_LOAN only make sense for the current player, so don't explicitly pass a player number
Mon, 02 May 2005 15:52:19 +0000 Darkvater (svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
Sun, 13 Feb 2005 11:18:02 +0000 tron (svn r1867) Include tables/sprites.h only in files which need it
Sun, 06 Feb 2005 18:30:45 +0000 tron (svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers
Sun, 23 Jan 2005 13:09:35 +0000 tron (svn r1610) Remove trailing whitespace (last time ever, i hope)
Thu, 20 Jan 2005 18:57:09 +0000 darkvater (svn r1578) -Fix: [1102454] dedicated server crashes after some hours (highscore problems for dedicated...should be really solved now)
Wed, 19 Jan 2005 19:15:03 +0000 bjarni (svn r1568) made an enum of train subtypes to make the code more readable
Sat, 15 Jan 2005 08:58:31 +0000 tron (svn r1520) Trim 134 (!) lines with trailing whitespace ):
Sat, 15 Jan 2005 01:52:23 +0000 darkvater (svn r1518) -Fix: server issue where some company names were wrong
Sat, 15 Jan 2005 00:46:45 +0000 darkvater (svn r1516) -Cheating players do not get their names added to the highscore table/file
Fri, 14 Jan 2005 14:56:50 +0000 dominik (svn r1506) Fix: [ 1102275 ] Game crashed when clicking "new face" or "company color" twice
Thu, 13 Jan 2005 20:46:39 +0000 darkvater (svn r1502) -Fix: [1101889] Crash under windows... stupid typo in player_gui.c ^ should've been &
Thu, 13 Jan 2005 16:28:47 +0000 darkvater (svn r1496) -Fix: highscore no longer crashes in network games with a dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game