pasky
e7937998d6
(svn r2107) - Codechange: Cleanup (well, mostly tidyup) ExtChangeIndustryProduction(). These randoms are strange.
20 years ago
truelight
508738f836
(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
c68cfdeeca
(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
3a8665f796
(svn r2104) Simplify implementation of Get{First,Prev}VehicleInChain() and remove a pointless check
20 years ago
Darkvater
eb96f89960
(svn r2103) - Fix: Remove unnused variable from OS2 file
20 years ago
tron
9d2406729e
(svn r2102) Fix bug introduced in r2038, which gave you money for clearing occupied railway tiles ([1171926])
20 years ago
tron
6ec727d15c
(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
6bca4c041a
(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
4573a9f872
(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
e4cb9dbb77
(svn r2098) Make a variable static, move a function declaration to a header and remove unnecessary preprocessor magic
20 years ago
celestar
51eeea477b
(svn r2097) -Codechange: [Multistop] Prettified the previous commit
20 years ago
celestar
f42d17c6b3
(svn r2096) -Codechange: [Multistop] Modfied some debug stuff
20 years ago
tron
bba102e624
(svn r2095) In CheckTrackCombination(): if () cascade -> switch, improve readability
20 years ago
tron
ae359d0d02
(svn r2094) In GetTileDesc_Track(): uint -> TileIndex, use enums, if () cascade -> switch
20 years ago
tron
9e53b86dca
(svn r2093) uint -> TileIndex, remove commented out code and a local variable, which was only used once
20 years ago
Darkvater
a494f96cfe
(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
c4133f2535
(svn r2091) Small cleanup: uint -> TileIndex, const, don't call FindLandscapeHeightByTile()
20 years ago
pasky
31c36d3dd4
(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
aafb136cd0
(svn r2089) - Codechange: Simplify slopes check in CmdBuildBridge(). Inspired by st3wis' patch 1144746.
20 years ago
pasky
04dc6441aa
(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
60bb2374d6
(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
8acc24f000
(svn r2086) - Codechange: Two indentation fixes coming from Loic Guilloux' patch 1171208.
20 years ago
tron
0659f34aa6
(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
aba225c88d
(svn r2084) Set the name for drive items
20 years ago
matthijs
e01338fcf5
(svn r2083) Add pasky's and my real name in readme.txt as well.
20 years ago
matthijs
a0f9a7597c
(svn r2082) I have a name too!
20 years ago
pasky
bf1fd0379c
(svn r2081) I have a real name, too.
20 years ago
pasky
0c5d61bd56
(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
e416fe8066
(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
45425bedca
(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
8efcba81d7
(svn r2077) - Fix: [ 1170978 ] OS/2 project update: add waypoint.c. (-- Owen Rudge)
20 years ago
tron
742513d708
(svn r2076) Set the name for the parent directory to ".."
20 years ago
truelight
cef2e24ec4
(svn r2075) -Fix: added missing breaks in switches
...
-Fix: added const for a const variable
20 years ago
pasky
f89984642e
(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
d4b3469e2f
(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
7340aa5b8e
(svn r2072) Use lengthof() instead of a home brewed version
20 years ago
Darkvater
67d2ada020
(svn r2071) - Feature: [ 1168743 ] save command for console: "save <filename>" to save a game (pkirchhofer)
20 years ago
darkvater
b909a1f775
(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
3855c7f92f
(svn r2069) - Feature: [ 1168743 ] save command for console (pkirchhofer)
20 years ago
Darkvater
c4f1d4dfed
(svn r2068) - MSVC: [ 1167036 ] MSVC 6/.NET update for 2 new languages (bociusz)
20 years ago
Darkvater
5ce3537ef0
(svn r2067) - CodeChange: [ 1166931 ] Small OS/2 patch: SVN version detection (orudge)
20 years ago
Darkvater
7da3b3b92d
(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
05dbeaeba4
(svn r2065) -Fix: reverted revision 2044, because it had more negative effects than positive
20 years ago
pasky
339785dad7
(svn r2064) - Codechange: GetVehicleSpriteGroup() cleanup - drop overriding_engine, which was around probably only for historical reasons. (Paralellily developed by HackyKid.)
20 years ago
pasky
7fceb7ea86
(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
44f3702919
(svn r2062) - Set native eol-style on some OS specific files to allow cross-OS diff patching #2
20 years ago
Darkvater
e94a921c2b
(svn r2061) - Set native eol-style on some OS specific files to allow cross-OS diff patching
20 years ago
tron
9832a691fe
(svn r2060) Clean up some string construction and remove now unused macro
20 years ago
truelight
6d75cce924
(svn r2059) -Codechange: rewrote SetSignalsAfterProc so now the tiles from 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.
20 years ago
truelight
1eab014524
(svn r2058) -Fix: hopefully this fixes the reverse-train-in-depot-bugs (plural)
20 years ago