Commit Graph

1901 Commits (6b3d3a0f8a89c3d9b2afef555277b9009fdb544e)
 

Author SHA1 Message Date
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
orudge 6c9a02be68 (svn r2377) - Fix: [newgrf] Ignore action 0 prop 0x20 (air drag) 19 years ago
miham 77ce6d50cf (svn r2376) [Translations] Updated to 2005-04-29 (28 strs / 3 langs) 19 years ago
Darkvater aa3fbc8763 (svn r2375) - CodeChange: add the newly added 'all' of server_ip to it's helptext. 19 years ago
Darkvater 249a0b6fda (svn r2374) - CodeChange: giving server_ip a value of 'all' will make the server listen on any interface (0.0.0.0); also fix a typo in one of the script example files: s/ports/interfaces 19 years ago
Darkvater c9b23c0571 (svn r2373) - CodeChange: don't redraw the window upon a user-based dirty request if the requested widget is invisible or otherwise not visible (type WWT_EMPTY) 19 years ago
Darkvater ad30c7a2c1 (svn r2372) - Fix (console): update the example scripts in the scripts/ directory to reflect the new console functionality
- Fix (console): any line starting with a '#' is a comment so ignore it
- Fix (console): The special variables whose value can only be set by a custom process should, also print out their newly set value there, instead of relying on the default printout which is slightly confusing. Eg after you change the value it still printed out 'current value for...' instead of 'XXX changed to...'
19 years ago
matthijs 457434ea59 (svn r2371) - Fix: [ 1144510 ] make install tries to install scenarios in the (non-existing) personal dir when USE_HOMEDIR is specified.
This fix solves the issue for now by installing scenarios in the system-wide data dir.
- Add: 32x32 xpm format icon, used for debian packaging.
- Some minor updates to the os/debian directory.
19 years ago
tron ed2ab1f5d9 (svn r2370) Replace some magic numbers with symbolic names 19 years ago
tron ebdf046091 (svn r2369) Remove _thd_ptr: It always holds the address of _thd 19 years ago
Darkvater aa2f0c1429 (svn r2368) - Fix: Add 'multihead' TTDPatch option to OpenTTD newgrf flags-emulation (DBSETXLW doesn't complain about it anymore) 19 years ago
tron a0372e1888 (svn r2367) Remove some unused functions, probably was some debug stuff 19 years ago
tron ceb7f17808 (svn r2366) Use SetRedErrorSquare() instead of home brewed version 19 years ago
hackykid e383ee6bba (svn r2365) - Change: [refitting] Make refitting capacities for trains newgrf compatible. Train vehicles can now carry twice as much mail/goods as other cargo, and four times as much passengers.
- Fix: [refitting] The refit window now shows the correct refit options for the entire consist. Only if at least one of the vehicles in the train can be refitted to a certain cargo, it is shown in the list.
 - Fix: [refitting] When refitting to a cargo which is already carried by some vehicles in the consist, the capacities of those vehicles are taken into account when calculating the new capacity of the train in the refit window.
19 years ago
Darkvater 73ba260e75 (svn r2364) - Fix (regression): [ 1206850 ] Cannot change difficulty in main menu, always the value it was before you changed it. A too rigid check forgot to check the parameter value -1 which set the difficulty level itself. 19 years ago
matthijs ea0f4757c6 (svn r2363) - Codechange: [NPF] Removed caching the endnode check. The code for this was buggy, fundamentally flawed and barely useful. (Hackykid) 19 years ago
miham 1684e0d0bf (svn r2362) [Translations] Updated to 2005-04-23 (207 strs / 6 langs) 19 years ago
hackykid 6065b27f40 (svn r2361) - Feature: [newgrf] Implement varaction2 property 0x41 and 0xDA. These are the position in and length of chain of consecutive vehicles with the same type, and index of the next wagon in the chain (INVALID_VEHICLE if last), resp. Improves displaying of some engines in the dbsetxl. 19 years ago
tron 7d32f912a9 (svn r2360) Use GB and SB in [GS]etMapExtraBits 19 years ago
tron 2b16445f26 (svn r2359) Use strecpy instead of str_cat (which was rather a cpy than a cat, btw), remove the latter and simplify some constructs 19 years ago
tron 22f211a47a (svn r2358) Add macros for getting (GB) and setting (SB) a range of bits
Use them exemplarily to prettify (Get|Set)Tile(Type|Height)
19 years ago
orudge b0d2af22e4 (svn r2357) Small OS/2 update 19 years ago