------------------------------------------------------------------------ r2280 | Darkvater | 2005-05-07 10:26:45 +0000 (Sat, 07 May 2005) | 1 line - Fix: Check if the passed tile to DoCommand is within the current mapsize ------------------------------------------------------------------------ r2279 | Darkvater | 2005-05-07 10:26:12 +0000 (Sat, 07 May 2005) | 1 line - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed() ------------------------------------------------------------------------ r2278 | tron | 2005-05-07 08:14:06 +0000 (Sat, 07 May 2005) | 1 line When renaming a station, check if the station exists and belongs to the correct player ------------------------------------------------------------------------ r2277 | Darkvater | 2005-05-06 22:06:40 +0000 (Fri, 06 May 2005) | 1 line - Codechange: change sscanf() into stroul() Which Does The Right Thing tm. Thanks tron ------------------------------------------------------------------------ r2276 | Darkvater | 2005-05-06 20:38:18 +0000 (Fri, 06 May 2005) | 1 line - CodeChange: remove DebugProc() and make the ALT+0...4 codes only available in debug mode ------------------------------------------------------------------------ r2275 | Darkvater | 2005-05-06 18:34:28 +0000 (Fri, 06 May 2005) | 1 line - Fix: [ 1196662 ] scrollto doesn't accept hexadecimal numbers ------------------------------------------------------------------------ r2274 | Darkvater | 2005-05-06 16:13:44 +0000 (Fri, 06 May 2005) | 1 line - Codechange: some comments, parentheses and EngineID typedef for engine_type ------------------------------------------------------------------------ r2273 | celestar | 2005-05-06 12:00:25 +0000 (Fri, 06 May 2005) | 1 line -Fix: Road vehicles no longer try to obtain a slot when they have crashed. (peter1138) ------------------------------------------------------------------------ r2272 | tron | 2005-05-06 06:59:24 +0000 (Fri, 06 May 2005) | 1 line Remove unused attribute from struct Station ------------------------------------------------------------------------ r2271 | tron | 2005-05-06 06:56:30 +0000 (Fri, 06 May 2005) | 2 lines 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 ------------------------------------------------------------------------ r2270 | Darkvater | 2005-05-05 20:46:14 +0000 (Thu, 05 May 2005) | 1 line - Fix/Codechange: fix up selling rail vehicles. Try to be smart about it. When selling dual-headed trains, also sell the rear end; if the now-first wagon is an engine, make it a train. When selling the whole train, try to leave dual-headed setups intact ------------------------------------------------------------------------ r2269 | Darkvater | 2005-05-05 20:44:52 +0000 (Thu, 05 May 2005) | 1 line - CodeChange: no else after return; exchange some magic 0xffff with INVALID_VEHICLE, vehicle index is of type VehicleID ------------------------------------------------------------------------ r2268 | Darkvater | 2005-05-05 15:22:20 +0000 (Thu, 05 May 2005) | 1 line - Fix [ 1195595 ] high resolutions don't work. Clamp all possible inputs of resolutions to the maximum availble ------------------------------------------------------------------------ r2267 | matthijs | 2005-05-04 22:13:07 +0000 (Wed, 04 May 2005) | 2 lines - Codechange: Reverted the typedeffing of VehicleType (r2256), since that interfered with the saveload code. ------------------------------------------------------------------------ r2266 | Darkvater | 2005-05-04 19:09:25 +0000 (Wed, 04 May 2005) | 1 line - Feature: it is now possible to start a dedicated server on Win98/95, for the few sadistic geeks that really want to do this (thanks for testing Hackykid). Also fix up another glitch in console output ------------------------------------------------------------------------ r2265 | Darkvater | 2005-05-04 10:17:00 +0000 (Wed, 04 May 2005) | 1 line - Fix: some more useful help messages and consistent errors for failed console-cmds. Make command 'clients' only available in network mode ------------------------------------------------------------------------ r2264 | matthijs | 2005-05-03 22:18:40 +0000 (Tue, 03 May 2005) | 2 lines - Fix: [ 1060686 1187655 ] Changing the full-load flag on the current order doesn't take effect immediately. (glx) ------------------------------------------------------------------------ r2263 | Darkvater | 2005-05-03 22:05:34 +0000 (Tue, 03 May 2005) | 1 line - Fix: If the seperator string is empty for custom currencies, everything after that is cut off. Fix it by replacing nothing with ' '. Thanks for noticing peter1138 ------------------------------------------------------------------------ r2262 | matthijs | 2005-05-03 20:45:23 +0000 (Tue, 03 May 2005) | 4 lines - Fix: Assertion when vehicle in a depot wants to do pathfinding. GetVehicleTrackdir now tries to get a valid trackdir as much as possibly, by assuming that a vehicle is facing outwards in a depot or road station, for example. - Codechange: [Multistop] Multistop now also tries to find a slot for road vehicles that are in stations, since the pathfinder now properly handles that. ------------------------------------------------------------------------ r2261 | matthijs | 2005-05-03 19:31:33 +0000 (Tue, 03 May 2005) | 3 lines - Fix: When crashed vehicles try to find a depot for servicing, openttd asserts. Crashed vehicles shouldn't find depots anyway... ------------------------------------------------------------------------ r2260 | Darkvater | 2005-05-03 15:20:08 +0000 (Tue, 03 May 2005) | 1 line - Fix (regression): custom currency input works again ingame ------------------------------------------------------------------------ r2259 | Darkvater | 2005-05-03 11:48:55 +0000 (Tue, 03 May 2005) | 1 line - Fix (regression): remove a warning and make the help for variables behave the same as for commands ------------------------------------------------------------------------ r2258 | Darkvater | 2005-05-03 11:14:06 +0000 (Tue, 03 May 2005) | 1 line - Fix (regression): game crashes on resizing window. Windows is a bit too aggressive with its _assume(0), and it did not even belong there ------------------------------------------------------------------------ r2257 | matthijs | 2005-05-03 00:11:30 +0000 (Tue, 03 May 2005) | 3 lines - Fix: [NPF] NPF debug markings modify _map2 instead of _map3_hi for street tiles, corrupting them. Some info got moved around in r1768 for street tiles, but NPF did not get updated. ------------------------------------------------------------------------ r2256 | matthijs | 2005-05-02 23:59:11 +0000 (Mon, 02 May 2005) | 6 lines - Fix: Trains cannot find a depot when they are in a tunnel. (glx) - Add: GetVehicleTrackdir() helper function. - Codechange: Moved SortStruct from vehicle_gui.h to ttd.h, so the dependency from vehicle.h on vehicle_gui.h could be removed. - Codechange: Typedeffed the VehicleTypes struct so it can be used as the type for Vehicle.type instead of "byte". - Codechange: Removed prototype for VehicleSorter(), which had no implementation anymore and was never called. ------------------------------------------------------------------------ r2255 | matthijs | 2005-05-02 22:13:20 +0000 (Mon, 02 May 2005) | 9 lines - Fix: [ 9680363 ] [NPF] Broken buoy handling for ships Buoys will now try to get within 3 tiles of a buoy instead of a the actual buoy tile. This gets ships to got past buoys in a realistic (IMO) way instead of barging right through them. - Fix: [NPF] Trains get curves penalties sometimes even when the track is straight. - Add: [NPF] Ships get a penalty for going over buoys now, so they will try to go around. - Add: [NPF] Ships get a penalty for curves too, yay for straight lines. - Add: TrackdirToTrack(), TrackToTrackdir(), IsDiagonalTrack() and IsDiagonalTrackdir() helper functions. - Add: IsBuoy() and IsBuoyTile() helper functions. - Codechange: Rearranged part of the control flow of ShipController(), removing a goto. ------------------------------------------------------------------------ r2254 | Darkvater | 2005-05-02 21:56:01 +0000 (Mon, 02 May 2005) | 1 line - Fix: using 'ls' or 'dir' in the console always shows loadable savegames and does not depend on the whim of the currently open saveload dialog ------------------------------------------------------------------------ r2253 | matthijs | 2005-05-02 18:53:06 +0000 (Mon, 02 May 2005) | 2 lines - Fix: [ 1190896 1184378 ] [NPF] Trains ignoring their railtype (mono, maglev) (glx) ------------------------------------------------------------------------ r2252 | Darkvater | 2005-05-02 18:22:16 +0000 (Mon, 02 May 2005) | 1 line - ReFix: Redo r2251. Just remove the 'default widget handler', WDF_STD_BTN, instead of doing the "workaround" of the previous commit ------------------------------------------------------------------------ r2251 | Darkvater | 2005-05-02 18:08:34 +0000 (Mon, 02 May 2005) | 1 line - Fix: [ 1193945 ] Clicking on the chat text box causes an assertion failure ------------------------------------------------------------------------ r2250 | Darkvater | 2005-05-02 17:58:11 +0000 (Mon, 02 May 2005) | 1 line - Fix (regression): arguments with spaces in them were incorrectly parsed ------------------------------------------------------------------------ r2249 | matthijs | 2005-05-02 17:52:35 +0000 (Mon, 02 May 2005) | 2 lines - Fix: [ 1187703 ] [NPF] Road vehicles cannot find a depot when in a roadstop ------------------------------------------------------------------------ r2248 | Darkvater | 2005-05-02 17:14:31 +0000 (Mon, 02 May 2005) | 1 line - Fix (regression): fix crashing of game when joining a dedicated server (only reset _thd.pos, not the whole structure; as done in revision 2241 to fix another crash) ------------------------------------------------------------------------ r2247 | Darkvater | 2005-05-02 17:05:59 +0000 (Mon, 02 May 2005) | 3 lines - Fix (regression): executing scripts now works (remove newline character(s)). - Fix: getting help for an alias works - Fix: '|' is an unprintable character, replace it with '\' ------------------------------------------------------------------------ r2246 | Darkvater | 2005-05-02 16:02:24 +0000 (Mon, 02 May 2005) | 1 line - CodeChange: Station is 'st' not 'station' - random commit of the day ------------------------------------------------------------------------ r2245 | Darkvater | 2005-05-02 16:01:53 +0000 (Mon, 02 May 2005) | 1 line - CodeChange: simplify the clamping of values for patch-settings by using clamp() ------------------------------------------------------------------------ r2244 | Darkvater | 2005-05-02 16:00:49 +0000 (Mon, 02 May 2005) | 1 line - Fix: 'scrollto' is not debug only..sorry :) ------------------------------------------------------------------------ r2243 | Darkvater | 2005-05-02 15:52:19 +0000 (Mon, 02 May 2005) | 2 lines -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'. - Some variables are really special and cannot be assigned normally, use their callback procedure for assignment/querying. This commit also obsoletes "[1172804] Console set command cleanup" ------------------------------------------------------------------------ r2242 | Darkvater | 2005-05-01 20:16:52 +0000 (Sun, 01 May 2005) | 1 line -Fix: [ 1193414 ] Fix for waypoint GUI, scrolling and button-actions (Hackykid) ------------------------------------------------------------------------ r2241 | Darkvater | 2005-05-01 19:37:20 +0000 (Sun, 01 May 2005) | 1 line - Fix: [ 1190625 ] Changing mapsize crashes game with highlighting. Without shutting down OpenTTD some possibly 'invalid' data in TileHighLightData (_thd) is left behind; reset it. ------------------------------------------------------------------------ r2240 | miham | 2005-05-01 18:40:01 +0000 (Sun, 01 May 2005) | 1 line [Translations] Updated to 2005-05-01 (17 strs / 2 langs) ------------------------------------------------------------------------ r2239 | bjarni | 2005-05-01 15:13:39 +0000 (Sun, 01 May 2005) | 4 lines -Fix [autoreplace]: [ 1185653 ] autoreplacing a dualheaded engine into a singleheaded engine is no longer a potiontial crash It do have one side effect through. Now no engines are added/removed from the train anymore, so it produces "half dualheaded engines" This will be fixed when autoreplace will get a major overhaul at a later date ------------------------------------------------------------------------