window.h
Tue, 03 Oct 2006 14:52:39 +0000 bjarni (svn r6624) -Feature: added ability to add refit commands to vehicle orders (can only be done in goto depot orders)
Sun, 01 Oct 2006 12:25:31 +0000 peter1138 (svn r6602) - Feature: we now support NewGRF livery refits, as used by DBsetXL, amongst others. This requires a savegame bump to save the cargo subtype.
Sun, 01 Oct 2006 12:00:32 +0000 peter1138 (svn r6601) - Codechange: Support cargo subtypes in the refit window. The refit window has been altered to support resizing and scrolling. Note that the cargo subtype isn't yet passed for actual refitting yet. (Based on mart3p's patch)
Sun, 01 Oct 2006 01:32:07 +0000 belugas (svn r6599) -Codechange: Add accessors around the members click/disabled/hidden_state of Window
Tue, 26 Sep 2006 16:47:51 +0000 bjarni (svn r6513) -Codechange: unified the code to draw depot windows
Sun, 24 Sep 2006 15:01:02 +0000 bjarni (svn r6503) -Codechange: added a function to tell what vehicles a depot contains
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, 04 Sep 2006 15:44:28 +0000 Darkvater (svn r6379) -Codechange: cast 'remove babel' on widget's unkA and rename it to 'data'.
Sun, 03 Sep 2006 23:27:38 +0000 Darkvater (svn r6372) -Codechange: static, unneeded decleration in headers, superfluous header includes
Sat, 02 Sep 2006 20:09:16 +0000 bjarni (svn r6345) -Codechange: AllocateWindowDescFront() now ensures that window_number is set before calling the WE_CREATE event
Tue, 29 Aug 2006 06:39:00 +0000 tron (svn r6210) Remove FR_NOBORDER, because it is exclusivly used in conjunction with FR_TRANSPARENT
Tue, 29 Aug 2006 06:07:57 +0000 tron (svn r6209) Move DrawFrameRect() out of gfx.[ch], because it uses data (_color_list) which the renderer shouldn't have know about
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.
Tue, 22 Aug 2006 15:23:25 +0000 belugas (svn r6046) CodeChange : Rename WWT_5 Widget type to WWT_LABEL : a centered label
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.
Mon, 21 Aug 2006 14:59:58 +0000 truelight (svn r6038) -Codechange: move mousewheel code to event WE_MOUSEWHEEL instead of a general function that handles that
Mon, 21 Aug 2006 14:34:59 +0000 truelight (svn r6036) -Codechange: do not handle SCROLL in a central function, but let windows handle them theirself. Added WE_SCROLL for this.
Sun, 20 Aug 2006 11:51:10 +0000 truelight (svn r5971) -Fix: wrong struct in assert_compile (thomasdev)
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
Sat, 19 Aug 2006 09:31:22 +0000 truelight (svn r5944) -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for textboxes to only
Mon, 14 Aug 2006 20:25:29 +0000 tron (svn r5894) Remove a totally unnecessary indirection in the vehicle sorter code. Less code, less data, simply better
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
Thu, 11 May 2006 10:33:58 +0000 celestar (svn r4822) -Feature: Station List View can now be sorted and filtered (by waiting cargo type and facilities)
Thu, 06 Apr 2006 19:11:41 +0000 Darkvater (svn r4301) - Fix: the maxlength parameter of Textbuf is supposed to be the size of the buffer (so length of string + '\0'), but in the code it was a mix of both. It didn't cause any problems though, only an occasionaly one-less character than allowed. (thanks Tron for noticing)
Sun, 26 Mar 2006 22:23:32 +0000 Darkvater (svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
Sat, 04 Feb 2006 18:25:07 +0000 bjarni (svn r3535) -Feature: [autoreplace] allow autoreplacing of train wagons
Sat, 28 Jan 2006 11:52:20 +0000 Darkvater (svn r3461) - Fix: Increase window-size as for 64-bit machines it wasn't enough
Thu, 26 Jan 2006 17:10:11 +0000 Darkvater (svn r3441) - Feature: Allow the network game list to be sorted (by name/clients/compatibility ascending/descending)
Thu, 26 Jan 2006 16:19:24 +0000 Darkvater (svn r3439) - CodeChange: Remove a whole bunch of global variables and put them into the WP() macro. Also combine more than one WP-custom element. For this the maximum size of w->custom (WP) has been increased, and multiple types put inside one with possibly moved to the corresponding gui file if it is only used there.
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Thu, 05 Jan 2006 12:00:38 +0000 tron (svn r3364) Remove 3 unused functions (ScrollWindowToTile, AllocateWindowAutoPlace, AllocateWindowAutoPlace2)
Sat, 24 Dec 2005 15:01:17 +0000 tron (svn r3336) byte -> WindowClass, uint16 -> WindowNumber
Wed, 14 Dec 2005 08:05:36 +0000 peter1138 (svn r3302) - Fix: split drawing of text buttons and the closebox, so the closebox symbol can be centred.
Tue, 13 Dec 2005 09:57:07 +0000 peter1138 (svn r3291) - Codechange, Autoreplace: Replace int with EngineID and -1 with INVALID_ENGINE, as appropriate.
Tue, 22 Nov 2005 14:02:45 +0000 peter1138 (svn r3225) - Fix for "[ 1359165 ] Autoreplace problem with r3171 and later" -- Move the disabled/hidden bits to custom data in window struct.
Mon, 14 Nov 2005 08:42:45 +0000 peter1138 (svn r3178) - Codechange: move static _dropdown_* vars into the window custom data, giving var1 and var2 more meaningful names.
Sun, 13 Nov 2005 21:16:34 +0000 tron (svn r3176) Use proper types, not some variants of int
Thu, 10 Nov 2005 15:23:55 +0000 truelight (svn r3162) -Fix: renamed 'Message' to 'WindowMessage', a struct named 'Message' already
Fri, 04 Nov 2005 14:01:44 +0000 tron (svn r3133) - 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, 23 Sep 2005 07:44:03 +0000 peter1138 (svn r2974) -Fix: Drag and drop selection on drop down boxes didn't select correct item when some items were hidden.
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
Thu, 28 Jul 2005 08:49:29 +0000 celestar (svn r2734) -Feature: The Main Toolbar Dropdown Menu can now display disabled items
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
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Sun, 17 Jul 2005 20:14:58 +0000 tron (svn r2626) static, const, misc.
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.
Fri, 08 Jul 2005 00:14:19 +0000 Darkvater (svn r2530) - Fix: [ 1219829 ] Mouse-wheel crashes OTTD. Widget detection failed to detect the most-right and most-bottom pixels of a widget. If scrollwheel is used on a not-found widget (such as the background of the toolbar), it will now fail correctly (glx)
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Wed, 15 Jun 2005 17:27:14 +0000 hackykid (svn r2444) - CodeChange: Add an enum for demagicifying the values of the 'flags' parameter of DrawFrameRect(). (_Abraxa_)
Tue, 05 Apr 2005 21:03:30 +0000 darkvater (svn r2152) - Fix: Chatbar in MP games is now on-top of the news window.
Sat, 26 Mar 2005 04:16:39 +0000 pasky (svn r2074) MouseLoop -> InputLoop(), factor out a real mouse-specific MouseLoop from the new InitLoop() (more in the spirit of HandleKeypress()).
Wed, 09 Mar 2005 19:48:20 +0000 Darkvater (svn r1978) - Fix: Plug some memleaks; thanks Valgrind
Mon, 21 Feb 2005 18:59:54 +0000 Darkvater (svn r1894) - Codechange: cleaned up the console a bit, wholly unified handling of text with that of editboxes
Sat, 19 Feb 2005 14:40:32 +0000 tron (svn r1890) Begin to clean up the edit box: Remove one global variable and split the combined edit/original buffer into two
Sun, 06 Feb 2005 18:30:45 +0000 tron (svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers
Wed, 26 Jan 2005 12:42:29 +0000 bjarni (svn r1680) Feature: Replace train GUI now remembers the railtype selected in the dropdown menu