summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-06-07(svn r2432) Use GetEngine() instead of DEREF_ENGINE() or even _engines[]tron
2005-06-07(svn r2431) - Fix: [newgrf] clamp() instead of assert() on the result of ↵hackykid
the vehicle length calculation, as it can depend on external input. (thanks tron)
2005-06-07(svn r2430) [Translations] Updated to 2005-06-07 (118 strs / 8 langs)miham
2005-06-07(svn r2429) - Fix: Oops, forgot to increase the size of the autoreplace ↵hackykid
window to fit the extra info from powered wagons.
2005-06-06(svn r2428) - Feature: [newgrf] Implement shorter train vehicles (Therax), ↵hackykid
and the callback that goes with it. - Codechange: Remove some magic numbers (PALETTE_CRASH)
2005-06-06(svn r2427) - Fix: CmdMoveRailVehice; Prevent possible assertion failure ↵hackykid
when moving vehicles within one chain.
2005-06-06(svn r2426) [Translations] Updated to 2005-06-06 #2. (133 strs / 12 langs)miham
2005-06-06(svn r2425) - Fix (regression): wrong sprite for level-land cursor (thx Tron)Darkvater
- CodeChange: change MapSizeX() - 1 to MapMaxX() in the smallmap drawing code
2005-06-06(svn r2424) - Fix: backport the smallmap_gui.c changes from the map/ branch ↵Darkvater
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.
2005-06-06(svn r2423) - CodeChange: Include first_engine in the train cache, instead ↵hackykid
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.
2005-06-06(svn r2422) - Codechange: magic number fix in network window (anonymous)Darkvater
2005-06-06(svn r2421) - how come you didn't get committed you evil file? Be gone!Darkvater
2005-06-06(svn r2420) - Codechange: magic number elminitation of cursorsprites.Darkvater
2005-06-06(svn r2419) - Fix: saving no longer changes your cursor if it is in a ↵Darkvater
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.
2005-06-06(svn r2418) - Fix: typoDarkvater
2005-06-06(svn r2417) - Fix: threads on morphos are apparently unexistent, so ↵Darkvater
implement stubs for them (tokai)
2005-06-06(svn r2416) [Translations] Updated to 2005-06-06 (lots of strings has ↵miham
changed in english, therefore further changes ahead..)
2005-06-06(svn r2415) - Fix: [newgrf] Powered Wagons - Don't assume an undefined ↵hackykid
callback will fail.
2005-06-06(svn r2414) - Feature: [newgrf] Implement powered wagons, and the callback ↵hackykid
that goes with it.
2005-06-05(svn r2413) - Codechange: Rewrite the displaying of purchase details a bit, ↵hackykid
make it easyer to add lines later. - Add: In the purchase details for trains display "(refittable)" after the capacity if the vehicle is refittable.
2005-06-05(svn r2412) - Fix: [ 1214948 ] building vehicles without depot crashes ↵hackykid
game. (Chris Huebsch)
2005-06-05(svn r2411) - Codechange: Have trains cache stuff like consist ↵hackykid
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.
2005-06-05(svn r2410) - Fix: [newgrf] When resolving callbacks, dont ignore wagon ↵hackykid
overrides.
2005-06-04(svn r2409) Missed one _map_owner -> IsTileOwner()tron
2005-06-04(svn r2408) Introduce SetTileOwner() and use ittron
2005-06-04(svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix ↵tron
some bogus reads of _map_owner
2005-06-04(svn r2406) [Translations] Updated to 2005-06-04 (42 strs / 11 langs)miham
2005-06-04(svn r2405) Simplify a few '? true : false' and '? false : true', especially ↵tron
the latter is confusing
2005-06-03(svn r2404) assert that GetTileOwner() isn't called for tiles, which don't ↵tron
store owner information
2005-06-03(svn r2403) if cascade -> switchtron
2005-06-03(svn r2402) [Translations] Updated to 2005-06-03 (10 strs / 5 langs)miham
2005-06-03(svn r2401) - Fix: [newgrf] Finish up callback mechanism, implement 'refit ↵hackykid
capacity' callback slightly more correct.
2005-06-02(svn r2400) - Fix: [newgrf] Load power for dual-headed engines correctlyhackykid
2005-06-02(svn r2399) - Fix: Update OS/2 project file with filename changes orudge
- Fix: Make clipboard code a bit nicer (thanks Tron)
2005-06-02(svn r2398) - CodeChange: forgot to update unix and os2 specific files as well.Darkvater
2005-06-02(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.Darkvater
2005-06-02(svn r2396) - Fix: Put strcasecmp back into os2.c, sorry Tron!orudge
2005-06-02(svn r2395) - Fix: oops, forgot a break in a console switch.Darkvater
2005-06-02(svn r2394) - Completed clipboard functions for OS/2 portorudge
2005-06-02(svn r2393) - Implemented threaded saving for OS/2 orudge
- Fixed discrepancy with SlArray declaration
2005-06-01(svn r2392) - Fix some typos (Tron)Darkvater
2005-06-01(svn r2391) - Feature: saving games happen in a seperate thread so you no ↵Darkvater
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
2005-06-01(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0hackykid
2005-06-01(svn r2389) - Feature: [newgrf] Implement the mechanism for handling newgrf ↵hackykid
callbacks. - Feature: [newgrf] Implement the 'refit capacity' callback.
2005-06-01(svn r2388) - Fix: [realistic accel] Very slow trains no longer get an ↵hackykid
increase in maximum speed when part of them is in a depot.
2005-05-30(svn r2387) - CodeChange: made the saveload code more readable and also ↵Darkvater
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.
2005-05-30(svn r2386) * Blaatmatthijs
2005-05-30(svn r2385) - Feature: shortcut CTRL + U that clears the commandline of the ↵Darkvater
current input-box. As requested by Tron.
2005-05-30(svn r2384) - Fix: Check selling land and setting player colour. Also an ↵Darkvater
extra map-bounds check for terraforming; inspired by the monkey (and Tron :) )
2005-05-30(svn r2383) - Fix: Monkey-testing turned up some command crashes.Darkvater