------------------------------------------------------------------------ r2425 | Darkvater | 2005-06-06 17:30:52 +0000 (Mon, 06 Jun 2005) | 2 lines - Fix (regression): wrong sprite for level-land cursor (thx Tron) - CodeChange: change MapSizeX() - 1 to MapMaxX() in the smallmap drawing code ------------------------------------------------------------------------ r2424 | Darkvater | 2005-06-06 15:58:58 +0000 (Mon, 06 Jun 2005) | 1 line - Fix: backport the smallmap_gui.c changes from the map/ branch into trunk. This also implicitely fixes the bug where the game would crash in certain resolutions with certain minimap masks when dragged partly outside the game-area. ------------------------------------------------------------------------ r2423 | hackykid | 2005-06-06 14:26:15 +0000 (Mon, 06 Jun 2005) | 5 lines - CodeChange: Include first_engine in the train cache, instead of calculating it all over the place. - Fix: Also recalculate the train cache values for 'wagon chains' (in the depot without an engine), to avoid possible desyncs later. - Fix: Make CmdMoveRailVehicle update the caches of the correct trains in all cases. ------------------------------------------------------------------------ r2422 | Darkvater | 2005-06-06 14:11:15 +0000 (Mon, 06 Jun 2005) | 1 line - Codechange: magic number fix in network window (anonymous) ------------------------------------------------------------------------ r2421 | Darkvater | 2005-06-06 14:07:50 +0000 (Mon, 06 Jun 2005) | 1 line - how come you didn't get committed you evil file? Be gone! ------------------------------------------------------------------------ r2420 | Darkvater | 2005-06-06 13:47:06 +0000 (Mon, 06 Jun 2005) | 1 line - Codechange: magic number elminitation of cursorsprites. ------------------------------------------------------------------------ r2419 | Darkvater | 2005-06-06 13:11:35 +0000 (Mon, 06 Jun 2005) | 3 lines - Fix: saving no longer changes your cursor if it is in a non-mouse state. - Fix: autosaving/loading; it no longer returns a fail code when saving is already in progress. In the case of a load, the game pauses to wait for the save to finish. (glx) - Fix (regression): fix a bug in the 'buggy load' code where a wrong offset was used for the LZO format. ------------------------------------------------------------------------ r2418 | Darkvater | 2005-06-06 12:27:47 +0000 (Mon, 06 Jun 2005) | 1 line - Fix: typo ------------------------------------------------------------------------ r2417 | Darkvater | 2005-06-06 12:11:44 +0000 (Mon, 06 Jun 2005) | 1 line - Fix: threads on morphos are apparently unexistent, so implement stubs for them (tokai) ------------------------------------------------------------------------ r2416 | miham | 2005-06-06 05:29:06 +0000 (Mon, 06 Jun 2005) | 1 line [Translations] Updated to 2005-06-06 (lots of strings has changed in english, therefore further changes ahead..) ------------------------------------------------------------------------ r2415 | hackykid | 2005-06-06 01:31:36 +0000 (Mon, 06 Jun 2005) | 2 lines - Fix: [newgrf] Powered Wagons - Don't assume an undefined callback will fail. ------------------------------------------------------------------------ r2414 | hackykid | 2005-06-06 00:19:24 +0000 (Mon, 06 Jun 2005) | 2 lines - Feature: [newgrf] Implement powered wagons, and the callback that goes with it. ------------------------------------------------------------------------ r2413 | hackykid | 2005-06-05 23:01:10 +0000 (Sun, 05 Jun 2005) | 3 lines - Codechange: Rewrite the displaying of purchase details a bit, make it easyer to add lines later. - Add: In the purchase details for trains display "(refittable)" after the capacity if the vehicle is refittable. ------------------------------------------------------------------------ r2412 | hackykid | 2005-06-05 20:45:04 +0000 (Sun, 05 Jun 2005) | 2 lines - Fix: [ 1214948 ] building vehicles without depot crashes game. (Chris Huebsch) ------------------------------------------------------------------------ r2411 | hackykid | 2005-06-05 15:37:00 +0000 (Sun, 05 Jun 2005) | 3 lines - Codechange: Have trains cache stuff like consist power/weight/max speed instead of recalculating it each time. - Fix: Station ratings now depends on the max speed of a consist, without being affected by other speed limits from realistic acceleration. ------------------------------------------------------------------------ r2410 | hackykid | 2005-06-05 05:35:12 +0000 (Sun, 05 Jun 2005) | 2 lines - Fix: [newgrf] When resolving callbacks, dont ignore wagon overrides. ------------------------------------------------------------------------ r2409 | tron | 2005-06-04 12:14:51 +0000 (Sat, 04 Jun 2005) | 1 line Missed one _map_owner -> IsTileOwner() ------------------------------------------------------------------------ r2408 | tron | 2005-06-04 12:13:24 +0000 (Sat, 04 Jun 2005) | 1 line Introduce SetTileOwner() and use it ------------------------------------------------------------------------ r2407 | tron | 2005-06-04 11:56:32 +0000 (Sat, 04 Jun 2005) | 1 line Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner ------------------------------------------------------------------------ r2406 | miham | 2005-06-04 07:36:28 +0000 (Sat, 04 Jun 2005) | 1 line [Translations] Updated to 2005-06-04 (42 strs / 11 langs) ------------------------------------------------------------------------ r2405 | tron | 2005-06-04 07:35:12 +0000 (Sat, 04 Jun 2005) | 1 line Simplify a few '? true : false' and '? false : true', especially the latter is confusing ------------------------------------------------------------------------ r2404 | tron | 2005-06-03 22:43:59 +0000 (Fri, 03 Jun 2005) | 1 line assert that GetTileOwner() isn't called for tiles, which don't store owner information ------------------------------------------------------------------------ r2403 | tron | 2005-06-03 22:25:06 +0000 (Fri, 03 Jun 2005) | 1 line if cascade -> switch ------------------------------------------------------------------------ r2402 | miham | 2005-06-03 12:09:55 +0000 (Fri, 03 Jun 2005) | 1 line [Translations] Updated to 2005-06-03 (10 strs / 5 langs) ------------------------------------------------------------------------ r2401 | hackykid | 2005-06-03 10:39:30 +0000 (Fri, 03 Jun 2005) | 2 lines - Fix: [newgrf] Finish up callback mechanism, implement 'refit capacity' callback slightly more correct. ------------------------------------------------------------------------ r2400 | hackykid | 2005-06-02 21:38:50 +0000 (Thu, 02 Jun 2005) | 2 lines - Fix: [newgrf] Load power for dual-headed engines correctly ------------------------------------------------------------------------ r2399 | orudge | 2005-06-02 19:55:37 +0000 (Thu, 02 Jun 2005) | 2 lines - Fix: Update OS/2 project file with filename changes - Fix: Make clipboard code a bit nicer (thanks Tron) ------------------------------------------------------------------------ r2398 | Darkvater | 2005-06-02 19:39:29 +0000 (Thu, 02 Jun 2005) | 1 line - CodeChange: forgot to update unix and os2 specific files as well. ------------------------------------------------------------------------ r2397 | Darkvater | 2005-06-02 19:30:21 +0000 (Thu, 02 Jun 2005) | 1 line - CodeChange: rename all "ttd" files to "openttd" files. ------------------------------------------------------------------------ r2396 | orudge | 2005-06-02 17:17:24 +0000 (Thu, 02 Jun 2005) | 1 line - Fix: Put strcasecmp back into os2.c, sorry Tron! ------------------------------------------------------------------------ r2395 | Darkvater | 2005-06-02 15:48:28 +0000 (Thu, 02 Jun 2005) | 1 line - Fix: oops, forgot a break in a console switch. ------------------------------------------------------------------------ r2394 | orudge | 2005-06-02 10:39:46 +0000 (Thu, 02 Jun 2005) | 1 line - Completed clipboard functions for OS/2 port ------------------------------------------------------------------------ r2393 | orudge | 2005-06-02 09:51:01 +0000 (Thu, 02 Jun 2005) | 2 lines - Implemented threaded saving for OS/2 - Fixed discrepancy with SlArray declaration ------------------------------------------------------------------------ r2392 | Darkvater | 2005-06-01 23:12:29 +0000 (Wed, 01 Jun 2005) | 1 line - Fix some typos (Tron) ------------------------------------------------------------------------ r2391 | Darkvater | 2005-06-01 23:08:33 +0000 (Wed, 01 Jun 2005) | 8 lines - Feature: saving games happen in a seperate thread so you no longer will have to wait such a long time (especially handy on bigger maps and multiplayer games). The mouse also changes into the 'ZZZ' state :P. The thread on windows is currently given a little-bit-less-than-normal priority so it should not interfere that much with the gameplay; it will take a bit longer though. Upon the exit of the game any pending saves are waited upon. - Fix: fixed GetSavegameFormat() so that it takes the best compressor (highest), or a forced one added with the parameter - Open issues: 1. Don't attempt to load a game while saving is in progress, it will kick you back to the intro-screen with only the vast ocean to look at. 2. The server is disabled from threaded-saving, but might be enabled in the future. 3. Current implementation only allows 1 additional running thread. 4. Stupid global variables.....grrr Big thanks for TrueLight and the amazing memorypool :D ------------------------------------------------------------------------ r2390 | hackykid | 2005-06-01 11:52:44 +0000 (Wed, 01 Jun 2005) | 2 lines - Codechange: Fix some warnings on GCC 4.0.0 ------------------------------------------------------------------------ r2389 | hackykid | 2005-06-01 11:34:37 +0000 (Wed, 01 Jun 2005) | 3 lines - Feature: [newgrf] Implement the mechanism for handling newgrf callbacks. - Feature: [newgrf] Implement the 'refit capacity' callback. ------------------------------------------------------------------------ r2388 | hackykid | 2005-06-01 10:30:45 +0000 (Wed, 01 Jun 2005) | 2 lines - Fix: [realistic accel] Very slow trains no longer get an increase in maximum speed when part of them is in a depot. ------------------------------------------------------------------------ r2387 | Darkvater | 2005-05-30 22:16:05 +0000 (Mon, 30 May 2005) | 2 lines - CodeChange: made the saveload code more readable and also removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big. - Fix: also fix an unnoticed error in SlSaveLoadConv() due to wrong types. ------------------------------------------------------------------------ r2386 | matthijs | 2005-05-30 21:46:10 +0000 (Mon, 30 May 2005) | 1 line * Blaat ------------------------------------------------------------------------