summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-03-29(svn r2105) -Codechange: Added a cache for the first vehicle of a chain to ↵celestar
increase performance, especially with many long trains
2005-03-29(svn r2104) Simplify implementation of Get{First,Prev}VehicleInChain() and ↵tron
remove a pointless check
2005-03-28(svn r2103) - Fix: Remove unnused variable from OS2 fileDarkvater
2005-03-28(svn r2102) Fix bug introduced in r2038, which gave you money for clearing ↵tron
occupied railway tiles ([1171926])
2005-03-28(svn r2101) statvfs() is availible on POSIX.1 conformant systems.tron
Also use a different field, which has a better chance of containing meaningful information, of the returned struct to determine the free space on the filesystem and fix a small bug introduced in r2100 (s/!=/==/)
2005-03-28(svn r2100) - Fix: [1024703]: Infinite access for A:\ (win32). Patch ↵darkvater
[1171208]. Only requery drive(s) if the user changes a directory, also surpress the OS error box that pops up on some windows machines. Tron + glx (and me)
2005-03-28(svn r2099) -Fix: no longer chat-messages hang when the game wraps around 2090truelight
-Codechange: while trying to find this bug, made texteff.c a bit more readable :)
2005-03-28(svn r2098) Make a variable static, move a function declaration to a header ↵tron
and remove unnecessary preprocessor magic
2005-03-28(svn r2097) -Codechange: [Multistop] Prettified the previous commitcelestar
2005-03-28(svn r2096) -Codechange: [Multistop] Modfied some debug stuffcelestar
2005-03-28(svn r2095) In CheckTrackCombination(): if () cascade -> switch, improve ↵tron
readability
2005-03-28(svn r2094) In GetTileDesc_Track(): uint -> TileIndex, use enums, if () ↵tron
cascade -> switch
2005-03-27(svn r2093) uint -> TileIndex, remove commented out code and a local ↵tron
variable, which was only used once
2005-03-27(svn r2092) - Fix: old commands/lines in the console (history) did not show ↵Darkvater
when they used 'special' characters like öä, etc. Diff approved by the code-police.
2005-03-27(svn r2091) Small cleanup: uint -> TileIndex, const, don't call ↵tron
FindLandscapeHeightByTile()
2005-03-27(svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it ↵pasky
was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that.
2005-03-27(svn r2089) - Codechange: Simplify slopes check in CmdBuildBridge(). ↵pasky
Inspired by st3wis' patch 1144746.
2005-03-27(svn r2088) - Fix: [ 1155158 ] Make extmidi command a config option in ↵pasky
addition to the compile-time MIDI switch. Patch by macbaine.
2005-03-27(svn r2087) Show also the modified filenames along each change in svn log. ↵pasky
Prevents enraging Darkvater, and we show the commit messages along changed files everywhere else too (on IRC and in mail).
2005-03-27(svn r2086) - Codechange: Two indentation fixes coming from Loic Guilloux' ↵pasky
patch 1171208.
2005-03-27(svn r2085) Improve browsing via console:tron
- change directory/load map via filename (number is also possible) - add command "pwd" to Print the current Working Directory - rename "list_files" to "ls" (and add alias "dir") - rename "goto_dir" to "cd" - loading of TTD maps via "load" is now possible - switching of drives via "cd" (only applies to systems which have a drive concept) is now possible - "scan_files" is now obsolete and was removed This is still far from perfect, mostly because the way OTTD handles files is Broken By Design(tm), but should make file navigation via console a bit easier
2005-03-27(svn r2084) Set the name for drive itemstron
2005-03-27(svn r2083) Add pasky's and my real name in readme.txt as well.matthijs
2005-03-27(svn r2082) I have a name too!matthijs
2005-03-27(svn r2081) I have a real name, too.pasky
2005-03-27(svn r2080) - Fix: [OldAI] p->ai.state_counter was uint16 but could hold a ↵pasky
tile index, therefore overflowing - changed that to uint32 and bumped the savegame revision to 32. It *MIGHT* close bug 1151374 - it certainly caused AI to stop building anything sometimes. - While at it, use TileIndex as the tile index type in AiRemovePlayerRailOrRoad() and AiStateRemoveTrack(). - Make the number of tiles scanned 4*MapSizeX() instead of 1000. It *MIGHT* close bug 1116614.
2005-03-26(svn r2079) -Add: signlist, shows all signs in the map. Clicking on them, ↵truelight
and you go to the sign. Very needed for coop. You can find it under World Map.
2005-03-26(svn r2078) - VS.NET: oops, I screwed up Release compilation cause of the ↵darkvater
stupid precompiled headers; fixed now :). minlizo.c does not use any precompiled headers.
2005-03-26(svn r2077) - Fix: [ 1170978 ] OS/2 project update: add waypoint.c. (-- Owen ↵pasky
Rudge)
2005-03-26(svn r2076) Set the name for the parent directory to ".."tron
2005-03-26(svn r2075) -Fix: added missing breaks in switchestruelight
-Fix: added const for a const variable
2005-03-26(svn r2074) MouseLoop -> InputLoop(), factor out a real mouse-specific ↵pasky
MouseLoop from the new InitLoop() (more in the spirit of HandleKeypress()).
2005-03-26(svn r2073) - Fix: Fixed an apparent oversight in AddTextMessage() which is ↵pasky
likely to have caused some messages not expiring from the chatterbox after the given time, as reported by dp-.
2005-03-25(svn r2072) Use lengthof() instead of a home brewed versiontron
2005-03-25(svn r2071) - Feature: [ 1168743 ] save command for console: "save ↵Darkvater
<filename>" to save a game (pkirchhofer)
2005-03-25(svn r2070) - VS.NET: remove all superflouos file compilation directives ↵darkvater
(inherit setting from project defaults), except for w32dm.c which has to be C++.
2005-03-25(svn r2069) - Feature: [ 1168743 ] save command for console (pkirchhofer)Darkvater
2005-03-25(svn r2068) - MSVC: [ 1167036 ] MSVC 6/.NET update for 2 new languages (bociusz)Darkvater
2005-03-25(svn r2067) - CodeChange: [ 1166931 ] Small OS/2 patch: SVN version ↵Darkvater
detection (orudge)
2005-03-25(svn r2066) - Fix: [ 1164248 ] game crash while AI builds bridge. Also ↵Darkvater
protect bridge building against invalid bridges and some safeguards when drawing.
2005-03-25(svn r2065) -Fix: reverted revision 2044, because it had more negative ↵truelight
effects than positive
2005-03-25(svn r2064) - Codechange: GetVehicleSpriteGroup() cleanup - drop ↵pasky
overriding_engine, which was around probably only for historical reasons. (Paralellily developed by HackyKid.)
2005-03-25(svn r2063) Fix: the 0x40 deterministic spritegroup for vehicles was wrong, ↵pasky
modified to match the wiki again. (The wiki was partially wrong, too! ;) (Patch by HackyKid.)
2005-03-25(svn r2062) - Set native eol-style on some OS specific files to allow ↵darkvater
cross-OS diff patching #2
2005-03-25(svn r2061) - Set native eol-style on some OS specific files to allow ↵Darkvater
cross-OS diff patching
2005-03-25(svn r2060) Clean up some string construction and remove now unused macrotron
2005-03-25(svn r2059) -Codechange: rewrote SetSignalsAfterProc so now the tiles from ↵truelight
the PF are checked against the vehicle-position-hash, instead all vehicles to the PF-position-hash. Big speed increase (function usages drops from 9% to 0.5%!) for maps with a lot of trains.
2005-03-25(svn r2058) -Fix: hopefully this fixes the reverse-train-in-depot-bugs (plural)truelight
2005-03-25(svn r2057) Add InlineString() to make _userstring construction a bit cleaner.tron
2005-03-25(svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Troncelestar