Commit Graph

1922 Commits (5e8b14df3e563be00e60bbf8ee609826226f1328)
 

Author SHA1 Message Date
hackykid 5e8b14df3e (svn r2427) - Fix: CmdMoveRailVehice; Prevent possible assertion failure when moving vehicles within one chain. 19 years ago
miham 134e689aff (svn r2426) [Translations] Updated to 2005-06-06 #2. (133 strs / 12 langs) 19 years ago
Darkvater ab7bf18d23 (svn r2425) - Fix (regression): wrong sprite for level-land cursor (thx Tron)
- CodeChange: change MapSizeX() - 1 to MapMaxX() in the smallmap drawing code
19 years ago
Darkvater 4198418d77 (svn r2424) - 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. 19 years ago
hackykid 16ab34615f (svn r2423) - 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.
19 years ago
Darkvater 871e21e991 (svn r2422) - Codechange: magic number fix in network window (anonymous) 19 years ago
Darkvater 095cdb9df1 (svn r2421) - how come you didn't get committed you evil file? Be gone! 19 years ago
Darkvater c3c69ff5cb (svn r2420) - Codechange: magic number elminitation of cursorsprites. 19 years ago
Darkvater f87df93a70 (svn r2419) - 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.
19 years ago
Darkvater b3779d63ae (svn r2418) - Fix: typo 19 years ago
Darkvater a6f2b8ae74 (svn r2417) - Fix: threads on morphos are apparently unexistent, so implement stubs for them (tokai) 19 years ago
miham 8d3ad041e0 (svn r2416) [Translations] Updated to 2005-06-06 (lots of strings has changed in english, therefore further changes ahead..) 19 years ago
hackykid f847736b5d (svn r2415) - Fix: [newgrf] Powered Wagons - Don't assume an undefined callback will fail. 19 years ago
hackykid 26e87892e2 (svn r2414) - Feature: [newgrf] Implement powered wagons, and the callback that goes with it. 19 years ago
hackykid eebe82c983 (svn r2413) - 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.
19 years ago
hackykid c4b426ef8c (svn r2412) - Fix: [ 1214948 ] building vehicles without depot crashes game. (Chris Huebsch) 19 years ago
hackykid e878e4d815 (svn r2411) - 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.
19 years ago
hackykid b30a413cfe (svn r2410) - Fix: [newgrf] When resolving callbacks, dont ignore wagon overrides. 19 years ago
tron 24fd817420 (svn r2409) Missed one _map_owner -> IsTileOwner() 19 years ago
tron ff0030936e (svn r2408) Introduce SetTileOwner() and use it 19 years ago
tron a9b95b3cbb (svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner 19 years ago
miham 6b3d3a0f8a (svn r2406) [Translations] Updated to 2005-06-04 (42 strs / 11 langs) 19 years ago
tron 1273f21ff5 (svn r2405) Simplify a few '? true : false' and '? false : true', especially the latter is confusing 19 years ago
tron 793eba3a3a (svn r2404) assert that GetTileOwner() isn't called for tiles, which don't store owner information 19 years ago
tron 80aa6af8e3 (svn r2403) if cascade -> switch 19 years ago
miham 92b79ecf95 (svn r2402) [Translations] Updated to 2005-06-03 (10 strs / 5 langs) 19 years ago
hackykid 52ebf02f2f (svn r2401) - Fix: [newgrf] Finish up callback mechanism, implement 'refit capacity' callback slightly more correct. 19 years ago
hackykid 6849e086f5 (svn r2400) - Fix: [newgrf] Load power for dual-headed engines correctly 19 years ago
orudge 922b9dd7f3 (svn r2399) - Fix: Update OS/2 project file with filename changes
- Fix: Make clipboard code a bit nicer (thanks Tron)
19 years ago
Darkvater a8601e9f40 (svn r2398) - CodeChange: forgot to update unix and os2 specific files as well. 19 years ago
Darkvater ba8c649fac (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files. 19 years ago
orudge b9a6b80813 (svn r2396) - Fix: Put strcasecmp back into os2.c, sorry Tron! 19 years ago
Darkvater 2ef99ea7b0 (svn r2395) - Fix: oops, forgot a break in a console switch. 19 years ago
orudge d89ab10ba2 (svn r2394) - Completed clipboard functions for OS/2 port 19 years ago
orudge fb1b0896dc (svn r2393) - Implemented threaded saving for OS/2
- Fixed discrepancy with SlArray declaration
19 years ago
Darkvater 043d8a4718 (svn r2392) - Fix some typos (Tron) 19 years ago
Darkvater 13c7b2b337 (svn r2391) - 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
19 years ago
hackykid 2f1a224ea9 (svn r2390) - Codechange: Fix some warnings on GCC 4.0.0 19 years ago
hackykid 799e1f5c50 (svn r2389) - Feature: [newgrf] Implement the mechanism for handling newgrf callbacks.
- Feature: [newgrf] Implement the 'refit capacity' callback.
19 years ago
hackykid 80cbf3a0ee (svn r2388) - Fix: [realistic accel] Very slow trains no longer get an increase in maximum speed when part of them is in a depot. 19 years ago
Darkvater f4f5cb93f8 (svn r2387) - 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.
19 years ago
matthijs edf7a3be82 (svn r2386) * Blaat 19 years ago
Darkvater 53b1de7d70 (svn r2385) - Feature: shortcut CTRL + U that clears the commandline of the current input-box. As requested by Tron. 19 years ago
Darkvater 2d355e0826 (svn r2384) - Fix: Check selling land and setting player colour. Also an extra map-bounds check for terraforming; inspired by the monkey (and Tron :) ) 19 years ago
Darkvater 9c552d1631 (svn r2383) - Fix: Monkey-testing turned up some command crashes. 19 years ago
Darkvater 3d9ff47f93 (svn r2382) - Fix: Check the airport type when building an airport 19 years ago
Darkvater 708a3046ac (svn r2381) - Fix: [ 1210610 ] Endgame window on easy difficulty results in infinite loop. Oops. Seperated the window classes of endgame and highscreen. 19 years ago
orudge f18a87a5a5 (svn r2380) - Fix: Build year for mail compartment of planes was not set correctly, affected station ratings (Asterix_) 19 years ago
orudge 9ca73ebf5b (svn r2379) - Fix: [newgrf] Note to self, check thoroughly before committing! 19 years ago
orudge 49084f9dd2 (svn r2378) - Fix: [newgrf] Further property stubs, help prevents subsequent incorrect reading of newgrf data 19 years ago