train_gui.c
Sun, 05 Jun 2005 15:37:00 +0000 hackykid (svn r2411) - Codechange: Have trains cache stuff like consist power/weight/max speed instead of recalculating it each time.
Sat, 04 Jun 2005 11:56:32 +0000 tron (svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner
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 12:36:16 +0000 Darkvater (svn r2306) - CodeChange: Check the last commands; refits. This needed an extensive rewrite and global/local-cargo ID juggling and bitmasking. However with this done it looks better as well and is compatible with newgrf handling. Big thanks to HackyKid for doing most of the work. This also closes patch "[ 1199277 ] Command checks"
Wed, 11 May 2005 16:17:03 +0000 Darkvater (svn r2294) - CodeChange: check the service interval settings when changing of all vehicle-types. To simplify things introduce GetServiceIntervalClamped() that returns the same or clamped value of the new service interval. There were some inconsistencies in the gui files so I had to change those, and const correctness kicked in, so it's a bit messy at certain points.
Thu, 07 Apr 2005 01:02:15 +0000 Darkvater (svn r2162) - Fix: Tooltips of horizontal scrollbars were wrong; they now say left/right instead of up/down
Fri, 11 Mar 2005 13:17:39 +0000 tron (svn r1989) -Feature: Resizable vehicle view windows; this is based on a patch by tmesisbob
Tue, 22 Feb 2005 20:32:26 +0000 Darkvater (svn r1906) - Fix: [ 1117327 ] Assertion error on kick. When a company is cleaned all its windows need to be closed. For global vehicle lists, the no-staiton index of -1 was not taken into account
Sun, 20 Feb 2005 07:47:42 +0000 celestar (svn r1891) -Fix: [ 1143587 ] carriages of newgrfs can be refitted again
Sun, 06 Feb 2005 22:36:08 +0000 matthijs (svn r1834) - Fix: NPF does not check the owner of its target, busses try to enter other players' depots. TODO
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 10:18:47 +0000 truelight (svn r1817) -Codechange: Moved depot-functions to depot.c
Sat, 05 Feb 2005 15:58:59 +0000 tron (svn r1803) Move debugging stuff into files of it's own
Fri, 04 Feb 2005 20:40:04 +0000 tron (svn r1798) GetFoo(i)->index is per definition i, so replace the former with the latter
Mon, 31 Jan 2005 11:03:23 +0000 darkvater (svn r1750) - Feature: [ 1093261 ] Saving vehicle sorting criteria for each vehicle type (bociusz)
Wed, 26 Jan 2005 12:51:04 +0000 celestar (svn r1681) -Feature: New realistic acceleration.
Mon, 24 Jan 2005 22:24:47 +0000 bjarni (svn r1652) Fix: train and road vehicle lists are now redrawn when vehicles enters/leaves a depot (Hackykid)
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
Fri, 14 Jan 2005 09:36:29 +0000 celestar (svn r1505) -Fix: Refit engine button is now disabled when cargo capacity equals zero
Thu, 13 Jan 2005 17:23:24 +0000 celestar (svn r1500) -Feature: Train window shows now the number of vehicles per row (mpetrov)
Tue, 11 Jan 2005 00:24:27 +0000 darkvater (svn r1478) -Fix: [1099195] mouse-wheel in train replace window. Scrollbar1 and Scrollbar2 now work independently. You can only scroll on list and scrollbar itself; scrollbar must be next widget of the list.
Mon, 10 Jan 2005 14:24:40 +0000 darkvater (svn r1463) -Fix: [1099451] Game crashes after the click on Rename (see also Bug 10992). There was no check for non-selected engine
Thu, 06 Jan 2005 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
Thu, 06 Jan 2005 17:40:57 +0000 truelight (svn r1401) -Fix: glitches in train-depot GUI (tnx to Hackykid)
Tue, 04 Jan 2005 21:45:38 +0000 darkvater (svn r1380) -Fix: missed widget fixes; thanks Jango and TestMan57
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 15:49:30 +0000 truelight (svn r1372) -Fix: fixed some GUI glitches introduced with resize-buttons
Mon, 03 Jan 2005 22:12:36 +0000 tron (svn r1359) Fix typos in last commit
Mon, 03 Jan 2005 22:07:40 +0000 tron (svn r1358) Assert bounds of depot list when searching for a depot
Mon, 03 Jan 2005 19:45:18 +0000 truelight (svn r1348) -Feature: resizable windows. Read the comment in window.h to find out
Sun, 02 Jan 2005 17:23:04 +0000 bjarni (svn r1323) Adding autoreplace feature
Wed, 22 Dec 2004 19:16:56 +0000 tron (svn r1232) Plug memory leak
Wed, 22 Dec 2004 00:45:05 +0000 darkvater (svn r1213) -Feature: Stickified vehicle lists
Tue, 21 Dec 2004 23:27:58 +0000 darkvater (svn r1211) -Feature: Introduce sticky windows to all vehicle windows...Just make sure you do not sticky more than 23 at a time. Also a lot of places in the code invalidated the 'status bar' of the vehicle, referring to it as widget 4. This is now widget 5 and has been #definitized
Sun, 19 Dec 2004 22:23:32 +0000 dominik (svn r1179) Fix: Tooltips for vehicle list sorting
Wed, 15 Dec 2004 22:18:54 +0000 tron (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
Sun, 12 Dec 2004 15:43:55 +0000 truelight (svn r1025) -Fix: [Network] [ 1083687 ] Sending to depot caused desync because the
Fri, 10 Dec 2004 18:16:08 +0000 tron (svn r1009) -Feature: per-station vehicle lists
Wed, 08 Dec 2004 18:18:20 +0000 truelight (svn r984) -Fix: deleted a debug level 0 line that was introduced in revision 978
Wed, 08 Dec 2004 15:26:57 +0000 Celestar (svn r978) Fixed an endianess issue with the new Order system. Thanks to Bjarni, Oskar and Tron
Sun, 05 Dec 2004 12:43:04 +0000 tron (svn r955) Replace uint16 for orders with struct Order
Sat, 04 Dec 2004 17:54:56 +0000 truelight (svn r942) -Merged branch/network back into the trunk
Sat, 04 Dec 2004 07:41:37 +0000 tron (svn r924) Use RailVehInfo() instead of &_rail_vehicle_info[]
Sat, 04 Dec 2004 00:34:20 +0000 tron (svn r923) Forgot s/rail_vehinfo/RailVehInfo/
Fri, 03 Dec 2004 21:57:05 +0000 tron (svn r920) Replace vehicle info macros with inline functions and add asserts to check limits
Thu, 02 Dec 2004 22:53:07 +0000 tron (svn r901) Small step in the process to clean up the DPARAM mess:
Mon, 29 Nov 2004 19:26:24 +0000 darkvater (svn r854) -Fix [1070274] Invisible trains. Weird macros and MSVC optimizing don't always mix. (Tron)
Sat, 27 Nov 2004 19:53:53 +0000 tron (svn r842) -Fix: [ 985925 ] Start/stop flag in train depots always works, regardless of the horizontal scroll position
Thu, 25 Nov 2004 10:47:30 +0000 tron (svn r815) Include strings.h only in the files which need it.
Fri, 19 Nov 2004 19:13:32 +0000 darkvater (svn r677) -newgrf: Fix some custom electric trains appearing in maglev depots (pasky).
Sun, 14 Nov 2004 23:36:19 +0000 darkvater (svn r617) -newgrf: Support for parameter 0x8E (train Y-pitch in info windows) both setting and testing. This should fix displaced wagons in DBSetXL as reported by DarkVater. (pasky)
Sun, 14 Nov 2004 13:07:07 +0000 darkvater (svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name actually makes some sense and is also compatible with TTDPatch (pasky).
Sat, 13 Nov 2004 21:42:35 +0000 darkvater (svn r572) -newgrf: Support for custom (newGRF-yielded) refit masks for trains and aircrafts (pasky).
Sat, 06 Nov 2004 09:24:28 +0000 tron (svn r514) -Fix: [1053397] Refit Train Window Stays Open
Tue, 14 Sep 2004 14:19:53 +0000 darkvater (svn r244) -Fix: Stations were not sorted for non-player-0 players
Fri, 10 Sep 2004 19:02:27 +0000 truelight (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
Tue, 07 Sep 2004 21:48:09 +0000 darkvater (svn r177) -Fix: padded out Widget code to solve warnings on C99 compiler (Tron)