town_gui.c
Tue, 05 Dec 2006 13:58:20 +0000 matthijs (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface.
Fri, 10 Nov 2006 19:24:14 +0000 Darkvater (svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1)
Tue, 24 Oct 2006 16:27:18 +0000 Darkvater (svn r6926) -Codechange: Rename WWT_4 to WWT_TEXTBTN_2 and WWT_6 to WWT_INSET (credits to peter1138
Tue, 24 Oct 2006 14:15:17 +0000 Darkvater (svn r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel,
Sat, 21 Oct 2006 23:36:06 +0000 peter1138 (svn r6885) - Fix (r1379): List of actions panel in the town authority window went underneath its scrollbar
Sat, 21 Oct 2006 23:31:34 +0000 Darkvater (svn r6884) -Codechange: Add strict bounds checking in string formatting system.
Sat, 14 Oct 2006 15:49:43 +0000 Darkvater (svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and
Tue, 03 Oct 2006 02:08:15 +0000 belugas (svn r6619) -Codechange: Use accessors for disabled_state.
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
Mon, 28 Aug 2006 18:53:03 +0000 rubidium (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Sun, 27 Aug 2006 10:04:33 +0000 Darkvater (svn r6169) -Codechange: Use GetString() instead of GetStringWithArgs() which should be
Tue, 22 Aug 2006 20:41:26 +0000 truelight (svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that).
Tue, 22 Aug 2006 15:33:35 +0000 truelight (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
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.
Sat, 19 Aug 2006 09:31:22 +0000 truelight (svn r5944) -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for textboxes to only
Tue, 15 Aug 2006 07:07:17 +0000 tron (svn r5907) Remove more indirection by using pointers instead of IDs. Also fix some bogus warnings on MSVC by using (void*) casts
Wed, 26 Jul 2006 03:33:12 +0000 belugas (svn r5609) CodeChange : Apply coding style
Sat, 29 Apr 2006 14:31:16 +0000 Darkvater (svn r4623) - Codechange: s/byte/PlayerID/
Sun, 26 Mar 2006 22:58:11 +0000 Darkvater (svn r4133) - Some miscellaneous changes (unconverted TownID in function definition, Owner instead of byte, remove obsolete member and compare waypoint index with 0 not STR_NULL)
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.
Wed, 16 Nov 2005 12:25:33 +0000 tron (svn r3201) -Fix: Allow bribing up to the maximum rating for bribing, don't disable this option at some arbitrary value early
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
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:
Sat, 22 Oct 2005 06:39:32 +0000 tron (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
Sat, 10 Sep 2005 07:38:03 +0000 tron (svn r2932) Give the strings consisting of an up/a down arrow symbolic names
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 18:30:13 +0000 ludde (svn r2580) Change: Added {INDUSTRY} command for printing industry names instead of the old {TOWN} {STRING} way.
Fri, 15 Jul 2005 14:53:44 +0000 ludde (svn r2572) - Codechange: [string] Changed string system so it's not as dependent on decode_parameters
Tue, 21 Jun 2005 16:28:17 +0000 celestar (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
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 18:25:01 +0000 Darkvater (svn r2307) - Fix (regression): it was not possible to change the drive-side in the intro-game.
Thu, 12 May 2005 00:11:37 +0000 Darkvater (svn r2297) - CodeChange: server-check the next batch of commands.
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, 06 Feb 2005 08:18:00 +0000 tron (svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
Sat, 05 Feb 2005 15:58:59 +0000 tron (svn r1803) Move debugging stuff into files of it's own
Tue, 01 Feb 2005 18:32:01 +0000 truelight (svn r1764) -Add: dynamic towns, you can now have up to 64k towns (let me know when
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Fri, 21 Jan 2005 16:51:25 +0000 celestar (svn r1581) Added a display for the total map population to the town display (Jango)
Fri, 14 Jan 2005 09:20:12 +0000 celestar (svn r1504) enummed town ratings (Jango)
Thu, 06 Jan 2005 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
Tue, 04 Jan 2005 21:28:09 +0000 darkvater (svn r1379) -Fix: various GUI glitches. Added default sizes to various widgets. Sticky/Resize- and Scrollbar must be 11 pixels wide, Horizontal scrollbar 11 pixels high, caption must be 13 pixels. I hope I didn't forget any widgets, the game will assert for that so report them to me!
Tue, 04 Jan 2005 19:49:44 +0000 darkvater (svn r1377) -Fix: only a server can rename a town in a MP game
Mon, 03 Jan 2005 19:45:18 +0000 truelight (svn r1348) -Feature: resizable windows. Read the comment in window.h to find out
Tue, 28 Dec 2004 17:50:17 +0000 truelight (svn r1292) -Codechange: also updated the town/industry sort-list to be uint16 compatible
Wed, 22 Dec 2004 01:32:30 +0000 darkvater (svn r1214) -Feature: Stickified Industries (list & window), Smallmaps (all three), Stations (list & window) and Towns (list & window). I hope I didn't forget to update a widget somewhere :O
Sun, 19 Dec 2004 22:23:32 +0000 dominik (svn r1179) Fix: Tooltips for vehicle list sorting
Thu, 09 Dec 2004 23:16:52 +0000 dominik (svn r999) New icons for the network interface, newgrf gui and the tiny euro
Thu, 02 Dec 2004 22:53:07 +0000 tron (svn r901) Small step in the process to clean up the DPARAM mess:
Thu, 25 Nov 2004 10:47:30 +0000 tron (svn r815) Include strings.h only in the files which need it.
Sun, 14 Nov 2004 19:44:06 +0000 tron (svn r607) -Patch: [ 985102 ] static cleanup
Tue, 14 Sep 2004 15:46:21 +0000 darkvater (svn r247) -Fix: Town exclusivity was not shown in town-window because stringformat ({YELLOW}) overrode colour-code. Now the exclusive player gets a red icon in front of its name
Sun, 12 Sep 2004 21:49:38 +0000 darkvater (svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
Fri, 10 Sep 2004 19:02:27 +0000 truelight (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!