summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2005-05-17(svn r2346) - Fix: Have the windows installer also delete any spritecache.xx ↵Darkvater
files on uninstall
2005-05-17(svn r2345) - Fix: Don't allow stuff to be renamed to nothing if we don't ↵Darkvater
support it. Only valid ones are signs (delete) and waypoints (rename to default).
2005-05-17(svn r2344) - Fix (regression): [ 1197216 ] Error: !invalid string id 0 in ↵Darkvater
GetString. Dedicated server also had the endgame window shown and because now it is properly no-player anymore it crashed.
2005-05-17(svn r2343) - Fix (regression): dedicated server caused desyncs with its ↵Darkvater
commands, because the player sent over the network is OWNER_SPECTATOR as well, which on clients cannot execute anything. So *hack*hack* it into temporarily player 0.
2005-05-17(svn r2342) - Fix (Regression): _cmd_text is always valid, so test the first ↵Darkvater
character for '\0'. Also for some reason I forgot to validate the p1 param so that might lead to crashes with invalid signes. Fixed as well.
2005-05-17(svn r2341) [Translations] Updated to 2005-04-17 (74 strs / 6 langs)miham
2005-05-17(svn r2340) - Fix (Regression): [ 1203731 ] Signs don't work in multiplayer, ↵Darkvater
unwanted remains of the _decode_parameters to _cmd_text move.
2005-05-17(svn r2339) - Fix: on a dedicated server, after the joining of a player, the ↵Darkvater
player was set to player 0 instead of remaining OWNER_SPECTATOR. Fix this, and allow the dedicated server to execute commands (so 'patch <value>') now works and not only when a client is connected.
2005-05-17(svn r2338) - CodeChange: only call the variable hooks when you set their ↵Darkvater
value not when you query them - Fix: typo in pool.c "Cleaing up" --> "Cleaning up"
2005-05-17(svn r2337) -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made ↵truelight
Darkvater go crazy ;))
2005-05-17(svn r2336) - GFX: make the openttd icon look good on Win2k and lower as ↵Darkvater
well. The TrueColor/256 icons had an ugly black shadow
2005-05-16(svn r2335) [Translations] Updated to 2005-05-16 (36 strs / 17 langs, ↵miham
removed unused strings)
2005-05-16(svn r2334) - Fix (regression): moved togglefullscreen into the ↵Darkvater
video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile.
2005-05-16(svn r2333) - CodeChange: also don't execute command if user has typed all ↵Darkvater
spaces (eg nothing worthwhile). Suggested and implemented by Tron.
2005-05-16(svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console ↵Darkvater
window - Fix: do not execute emtpy commands anymore
2005-05-16(svn r2331) - Fix (regression): fix text overflows in about box.Darkvater
2005-05-16(svn r2330) - Fix: link error when compiling as dedicated. Add sdl.c to ↵Darkvater
always compile in makefile as it is always protected by WITH_SDL and add a stub for ToggleFullScreen()
2005-05-16(svn r2329) CMD_CHANGE_PRESIDENT_NAME and CMD_CHANGE_COMPANY_NAME don't use ↵tron
p1, so don't send any meaningful value for it when invoking these commands
2005-05-16(svn r2328) There's no need for extra magic to detect libpng on FreeBSDtron
2005-05-16(svn r2327) -fix [MacOSX] default path for midi player on mac is now correct ↵bjarni
again
2005-05-15(svn r2325) - Update OpenTTD for 0.4.0 releaseDarkvater
2005-05-15(svn r2324) Introduce _cmd_text for passing strings with a command instead ↵tron
of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
2005-05-15(svn r2323) Remove unused dereferencingtron
2005-05-15(svn r2322) - CodeChange: doxygen commented the tunnel-crash fix. Also if ↵Darkvater
(bla) {return;} else {return;} is not proper code. It's if (bla) {return;} return; ;)
2005-05-15(svn r2321) - Fix: [ 1202286 ] On OS/2 you get a double backslash in your ↵matthijs
filename after browsing to the root dir of a drive and "." and ".." are incorrectly displayed. (orudge)
2005-05-15(svn r2320) - Fix: [ 1185176 ] Train in tunnel is not properly detected by ↵matthijs
signal code (Hackykid)
2005-05-15(svn r2319) - Fix: copying/pasting from the extra viewport did not center on ↵Darkvater
what you wanted to see if one of the windows (viewport or main) was zoomed out. Also fix the undisabled-zoom-in button upon creation.
2005-05-15(svn r2318) - Feature: added console command 'part' to leave a currently ↵Darkvater
running game and 'join' which is an alias to 'connect' to join a multiplayer server.
2005-05-15(svn r2317) - Fix: [ 1193048 ] Pre-signal stays red when there is only a ↵Darkvater
single exit signal (dinno)
2005-05-14(svn r2316) - Fix: [ 1154454 ] Fix BeOS build on Trunk (myob)Darkvater
2005-05-14(svn r2315) - Fix: [ 1187613 ] No HQ present for competitor, disable 'View ↵Darkvater
HQ' button, inspired by lucaspiller