summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2005-05-30(svn r2382) - Fix: Check the airport type when building an airportDarkvater
2005-05-30(svn r2381) - Fix: [ 1210610 ] Endgame window on easy difficulty results in ↵Darkvater
infinite loop. Oops. Seperated the window classes of endgame and highscreen.
2005-05-30(svn r2380) - Fix: Build year for mail compartment of planes was not set ↵orudge
correctly, affected station ratings (Asterix_)
2005-05-29(svn r2379) - Fix: [newgrf] Note to self, check thoroughly before committing!orudge
2005-05-29(svn r2378) - Fix: [newgrf] Further property stubs, help prevents subsequent ↵orudge
incorrect reading of newgrf data
2005-05-29(svn r2377) - Fix: [newgrf] Ignore action 0 prop 0x20 (air drag)orudge
2005-05-29(svn r2376) [Translations] Updated to 2005-04-29 (28 strs / 3 langs)miham
2005-05-28(svn r2375) - CodeChange: add the newly added 'all' of server_ip to it's ↵Darkvater
helptext.
2005-05-28(svn r2374) - CodeChange: giving server_ip a value of 'all' will make the ↵Darkvater
server listen on any interface (0.0.0.0); also fix a typo in one of the script example files: s/ports/interfaces
2005-05-28(svn r2373) - CodeChange: don't redraw the window upon a user-based dirty ↵Darkvater
request if the requested widget is invisible or otherwise not visible (type WWT_EMPTY)
2005-05-28(svn r2372) - Fix (console): update the example scripts in the scripts/ ↵Darkvater
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...'
2005-05-28(svn r2371) - Fix: [ 1144510 ] make install tries to install scenarios in ↵matthijs
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.
2005-05-28(svn r2370) Replace some magic numbers with symbolic namestron
2005-05-27(svn r2369) Remove _thd_ptr: It always holds the address of _thdtron
2005-05-27(svn r2368) - Fix: Add 'multihead' TTDPatch option to OpenTTD newgrf ↵Darkvater
flags-emulation (DBSETXLW doesn't complain about it anymore)
2005-05-26(svn r2367) Remove some unused functions, probably was some debug stufftron
2005-05-26(svn r2366) Use SetRedErrorSquare() instead of home brewed versiontron
2005-05-26(svn r2365) - Change: [refitting] Make refitting capacities for trains ↵hackykid
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.
2005-05-24(svn r2364) - Fix (regression): [ 1206850 ] Cannot change difficulty in main ↵Darkvater
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.
2005-05-23(svn r2363) - Codechange: [NPF] Removed caching the endnode check. The code ↵matthijs
for this was buggy, fundamentally flawed and barely useful. (Hackykid)
2005-05-23(svn r2362) [Translations] Updated to 2005-04-23 (207 strs / 6 langs)miham
2005-05-22(svn r2361) - Feature: [newgrf] Implement varaction2 property 0x41 and ↵hackykid
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.
2005-05-22(svn r2360) Use GB and SB in [GS]etMapExtraBitstron
2005-05-22(svn r2359) Use strecpy instead of str_cat (which was rather a cpy than a ↵tron
cat, btw), remove the latter and simplify some constructs
2005-05-22(svn r2358) Add macros for getting (GB) and setting (SB) a range of bitstron
Use them exemplarily to prettify (Get|Set)Tile(Type|Height)
2005-05-21(svn r2357) Small OS/2 updateorudge
2005-05-21(svn r2356) Make check if statvfs() is availible a bit more sensibletron
2005-05-21(svn r2354) Update OpenTTD for 0.4.0.1 releaseorudge
2005-05-21(svn r2353) - Prepare windows installer for 0.4.0.1Darkvater
2005-05-20(svn r2352) - Feature: add the possibility to print out the current debug-levelDarkvater
2005-05-19(svn r2351) -Fix: It was possible to open more than one tree windowtron
2005-05-19(svn r2350) [Translations] Updated to 2005-04-18 (156 strs / 3 langs)miham
2005-05-18(svn r2349) - Fix: remove warning from release build when assertions are no ↵Darkvater
longer active
2005-05-17(svn r2348) - Fix: Do not scroll the game with the arrow keys when the ↵Darkvater
chatbox is open
2005-05-17(svn r2347) - Fix (regression): depot window did not get redrawn when a ↵Darkvater
non-train-engine was sold.