Commit Graph

1608 Commits (3e4553e55f45a1dc3b6ffab3d0d27830a54ce3e8)
 

Author SHA1 Message Date
pasky 3e4553e55f (svn r2111) So, result is bool therefore no need for this horrible == 0 thing. 20 years ago
pasky 6dc963e246 (svn r2110) - Fix: Fixed test for various flags (e.g. newtrains in usset). result is bool so !! any non-zero values before assigning them to it - they apparently didn't fit. ;-) 20 years ago
truelight 4c9f0eefb4 (svn r2109) -Fix: use FindVehicleOnTileZ(tile, 0) over FindVehicleBetween(tile, tile, 0) 20 years ago
truelight 9ebe54c1ae (svn r2108) -Fix: the server now also unpause when a client desyncs or something 20 years ago
pasky afcfbdf852 (svn r2107) - Codechange: Cleanup (well, mostly tidyup) ExtChangeIndustryProduction(). These randoms are strange. 20 years ago
truelight 40a9b91b37 (svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
-Add: added 'pause_on_join' and 'max_join_time' for MP games, where you 
can auto-pause the game when a client wants to join the game. This to 
avoid connection losses because of big maps (200+ trains). (with tnx to 
#openttdcoop for the ideas and testing)
20 years ago
celestar 58a72bf483 (svn r2105) -Codechange: Added a cache for the first vehicle of a chain to increase performance, especially with many long trains 20 years ago
tron e39cb78b73 (svn r2104) Simplify implementation of Get{First,Prev}VehicleInChain() and remove a pointless check 20 years ago
Darkvater a4e17642a8 (svn r2103) - Fix: Remove unnused variable from OS2 file 20 years ago
tron b2dd47f565 (svn r2102) Fix bug introduced in r2038, which gave you money for clearing occupied railway tiles ([1171926]) 20 years ago
tron 72dbefdebd (svn r2101) statvfs() is availible on POSIX.1 conformant systems.
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/!=/==/)
20 years ago
darkvater d643ca6271 (svn r2100) - Fix: [1024703]: Infinite access for A:\ (win32). Patch [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) 20 years ago
truelight 555a78aaac (svn r2099) -Fix: no longer chat-messages hang when the game wraps around 2090
-Codechange: while trying to find this bug, made texteff.c a bit more readable :)
20 years ago
tron fbe7139358 (svn r2098) Make a variable static, move a function declaration to a header and remove unnecessary preprocessor magic 20 years ago
celestar b505d1782f (svn r2097) -Codechange: [Multistop] Prettified the previous commit 20 years ago
celestar b0aa584794 (svn r2096) -Codechange: [Multistop] Modfied some debug stuff 20 years ago
tron 407b80656e (svn r2095) In CheckTrackCombination(): if () cascade -> switch, improve readability 20 years ago
tron b0006b2009 (svn r2094) In GetTileDesc_Track(): uint -> TileIndex, use enums, if () cascade -> switch 20 years ago
tron 1086f772bb (svn r2093) uint -> TileIndex, remove commented out code and a local variable, which was only used once 20 years ago
Darkvater fe9bb7e176 (svn r2092) - Fix: old commands/lines in the console (history) did not show when they used 'special' characters like öä, etc. Diff approved by the code-police. 20 years ago
tron c6b211d0aa (svn r2091) Small cleanup: uint -> TileIndex, const, don't call FindLandscapeHeightByTile() 20 years ago
pasky 6552c22785 (svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that. 20 years ago
pasky 730986eeb9 (svn r2089) - Codechange: Simplify slopes check in CmdBuildBridge(). Inspired by st3wis' patch 1144746. 20 years ago
pasky 68da823951 (svn r2088) - Fix: [ 1155158 ] Make extmidi command a config option in addition to the compile-time MIDI switch. Patch by macbaine. 20 years ago
pasky b9252a268b (svn r2087) Show also the modified filenames along each change in svn log. Prevents enraging Darkvater, and we show the commit messages along changed files everywhere else too (on IRC and in mail). 20 years ago
pasky 6ecac0a6f0 (svn r2086) - Codechange: Two indentation fixes coming from Loic Guilloux' patch 1171208. 20 years ago
tron 002dd026f0 (svn r2085) Improve browsing via console:
- 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
20 years ago
tron 79530aa7fe (svn r2084) Set the name for drive items 20 years ago
matthijs 56ffd096da (svn r2083) Add pasky's and my real name in readme.txt as well. 20 years ago
matthijs 25eba93fab (svn r2082) I have a name too! 20 years ago
pasky 19f9eb42b1 (svn r2081) I have a real name, too. 20 years ago
pasky 5fa38a4fc7 (svn r2080) - Fix: [OldAI] p->ai.state_counter was uint16 but could hold a 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.
20 years ago
truelight 3dae675f63 (svn r2079) -Add: signlist, shows all signs in the map. Clicking on them, and you go
to the sign. Very needed for coop. You can find it under World Map.
20 years ago
darkvater 7686750414 (svn r2078) - VS.NET: oops, I screwed up Release compilation cause of the stupid precompiled headers; fixed now :). minlizo.c does not use any precompiled headers. 20 years ago
pasky f4ee2c2711 (svn r2077) - Fix: [ 1170978 ] OS/2 project update: add waypoint.c. (-- Owen Rudge) 20 years ago
tron 5acfb5ec6f (svn r2076) Set the name for the parent directory to ".." 20 years ago
truelight 92f6fe9f6b (svn r2075) -Fix: added missing breaks in switches
-Fix: added const for a const variable
20 years ago
pasky 9d21e74480 (svn r2074) MouseLoop -> InputLoop(), factor out a real mouse-specific MouseLoop from the new InitLoop() (more in the spirit of HandleKeypress()). 20 years ago
pasky 18fc684977 (svn r2073) - Fix: Fixed an apparent oversight in AddTextMessage() which is likely to have caused some messages not expiring from the chatterbox after the given time, as reported by dp-. 20 years ago
tron 53f87add3a (svn r2072) Use lengthof() instead of a home brewed version 20 years ago
Darkvater 4e6169db1e (svn r2071) - Feature: [ 1168743 ] save command for console: "save <filename>" to save a game (pkirchhofer) 20 years ago
darkvater ed26914fa7 (svn r2070) - VS.NET: remove all superflouos file compilation directives (inherit setting from project defaults), except for w32dm.c which has to be C++. 20 years ago
Darkvater 017a60aa3c (svn r2069) - Feature: [ 1168743 ] save command for console (pkirchhofer) 20 years ago
Darkvater ebf07edaf8 (svn r2068) - MSVC: [ 1167036 ] MSVC 6/.NET update for 2 new languages (bociusz) 20 years ago
Darkvater 2e0a7aef22 (svn r2067) - CodeChange: [ 1166931 ] Small OS/2 patch: SVN version detection (orudge) 20 years ago
Darkvater 4089c85653 (svn r2066) - Fix: [ 1164248 ] game crash while AI builds bridge. Also protect bridge building against invalid bridges and some safeguards when drawing. 20 years ago
truelight 44d901dba7 (svn r2065) -Fix: reverted revision 2044, because it had more negative effects than positive 20 years ago
pasky d77530b3ab (svn r2064) - Codechange: GetVehicleSpriteGroup() cleanup - drop overriding_engine, which was around probably only for historical reasons. (Paralellily developed by HackyKid.) 20 years ago
pasky 7a4d83407a (svn r2063) Fix: the 0x40 deterministic spritegroup for vehicles was wrong, modified to match the wiki again. (The wiki was partially wrong, too! ;) (Patch by HackyKid.) 20 years ago
darkvater f0cd2845d9 (svn r2062) - Set native eol-style on some OS specific files to allow cross-OS diff patching #2 20 years ago