miham
74d7cc6bf3
(svn r2116) [Translations] Updated translations
2005-04-01 20:03:48 +00:00
tron
7168cfd6f3
(svn r2115) Spring cleaning, no functional changes
2005-04-01 10:43:20 +00:00
truelight
f25a118ea4
(svn r2114) -Fix: fix menu with signlist in SE
2005-03-31 17:31:26 +00:00
truelight
7f6753ed89
(svn r2113) -Fix: first check if a vehicle is a train, before accessing u.rail
2005-03-31 12:39:18 +00:00
tron
3c38db7c2b
(svn r2112) -Fix: ExtMidi no longer halts the game while starting a song
...
-Fix: Redirect stdin/stdout/stderr of the ExtMidi process to /dev/null, to prevent it from writing to the terminal
While here give the ExtMidi functions canonical names
2005-03-30 19:52:26 +00:00
pasky
3e4553e55f
(svn r2111) So, result is bool therefore no need for this horrible == 0 thing.
2005-03-30 12:30:24 +00:00
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. ;-)
2005-03-30 12:27:50 +00:00
truelight
4c9f0eefb4
(svn r2109) -Fix: use FindVehicleOnTileZ(tile, 0) over FindVehicleBetween(tile, tile, 0)
2005-03-30 09:25:20 +00:00
truelight
9ebe54c1ae
(svn r2108) -Fix: the server now also unpause when a client desyncs or something
2005-03-30 08:50:34 +00:00
pasky
afcfbdf852
(svn r2107) - Codechange: Cleanup (well, mostly tidyup) ExtChangeIndustryProduction(). These randoms are strange.
2005-03-29 21:42:51 +00:00
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)
2005-03-29 19:10:13 +00:00
celestar
58a72bf483
(svn r2105) -Codechange: Added a cache for the first vehicle of a chain to increase performance, especially with many long trains
2005-03-29 11:19:10 +00:00
tron
e39cb78b73
(svn r2104) Simplify implementation of Get{First,Prev}VehicleInChain() and remove a pointless check
2005-03-29 08:37:44 +00:00
Darkvater
a4e17642a8
(svn r2103) - Fix: Remove unnused variable from OS2 file
2005-03-28 21:14:36 +00:00
tron
b2dd47f565
(svn r2102) Fix bug introduced in r2038, which gave you money for clearing occupied railway tiles ([1171926])
2005-03-28 18:59:33 +00:00
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/!=/==/)
2005-03-28 15:40:05 +00:00
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)
2005-03-28 13:30:51 +00:00
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 :)
2005-03-28 12:38:02 +00:00
tron
fbe7139358
(svn r2098) Make a variable static, move a function declaration to a header and remove unnecessary preprocessor magic
2005-03-28 08:48:41 +00:00
celestar
b505d1782f
(svn r2097) -Codechange: [Multistop] Prettified the previous commit
2005-03-28 08:17:35 +00:00
celestar
b0aa584794
(svn r2096) -Codechange: [Multistop] Modfied some debug stuff
2005-03-28 08:12:21 +00:00
tron
407b80656e
(svn r2095) In CheckTrackCombination(): if () cascade -> switch, improve readability
2005-03-28 07:25:36 +00:00
tron
b0006b2009
(svn r2094) In GetTileDesc_Track(): uint -> TileIndex, use enums, if () cascade -> switch
2005-03-28 07:02:51 +00:00
tron
1086f772bb
(svn r2093) uint -> TileIndex, remove commented out code and a local variable, which was only used once
2005-03-27 18:15:27 +00:00
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.
2005-03-27 17:20:27 +00:00
tron
c6b211d0aa
(svn r2091) Small cleanup: uint -> TileIndex, const, don't call FindLandscapeHeightByTile()
2005-03-27 16:40:01 +00:00
pasky
6552c22785
(svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that.
2005-03-27 16:19:07 +00:00
pasky
730986eeb9
(svn r2089) - Codechange: Simplify slopes check in CmdBuildBridge(). Inspired by st3wis' patch 1144746.
2005-03-27 15:56:54 +00:00
pasky
68da823951
(svn r2088) - Fix: [ 1155158 ] Make extmidi command a config option in addition to the compile-time MIDI switch. Patch by macbaine.
2005-03-27 15:42:25 +00:00
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).
2005-03-27 15:13:51 +00:00
pasky
6ecac0a6f0
(svn r2086) - Codechange: Two indentation fixes coming from Loic Guilloux' patch 1171208.
2005-03-27 15:12:26 +00:00
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
2005-03-27 12:48:25 +00:00
tron
79530aa7fe
(svn r2084) Set the name for drive items
2005-03-27 10:35:01 +00:00
matthijs
56ffd096da
(svn r2083) Add pasky's and my real name in readme.txt as well.
2005-03-27 01:23:31 +00:00
matthijs
25eba93fab
(svn r2082) I have a name too!
2005-03-27 01:10:23 +00:00
pasky
19f9eb42b1
(svn r2081) I have a real name, too.
2005-03-27 00:42:57 +00:00
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.
2005-03-27 00:28:14 +00:00
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.
2005-03-26 21:22:29 +00:00
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.
2005-03-26 20:10:59 +00:00
pasky
f4ee2c2711
(svn r2077) - Fix: [ 1170978 ] OS/2 project update: add waypoint.c. (-- Owen Rudge)
2005-03-26 18:12:58 +00:00
tron
5acfb5ec6f
(svn r2076) Set the name for the parent directory to ".."
2005-03-26 18:04:42 +00:00
truelight
92f6fe9f6b
(svn r2075) -Fix: added missing breaks in switches
...
-Fix: added const for a const variable
2005-03-26 12:08:56 +00:00
pasky
9d21e74480
(svn r2074) MouseLoop -> InputLoop(), factor out a real mouse-specific MouseLoop from the new InitLoop() (more in the spirit of HandleKeypress()).
2005-03-26 04:16:39 +00:00
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-.
2005-03-26 04:02:50 +00:00
tron
53f87add3a
(svn r2072) Use lengthof() instead of a home brewed version
2005-03-25 20:37:06 +00:00
Darkvater
4e6169db1e
(svn r2071) - Feature: [ 1168743 ] save command for console: "save <filename>" to save a game (pkirchhofer)
2005-03-25 20:20:23 +00:00
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++.
2005-03-25 20:15:00 +00:00
Darkvater
017a60aa3c
(svn r2069) - Feature: [ 1168743 ] save command for console (pkirchhofer)
2005-03-25 18:26:49 +00:00
Darkvater
ebf07edaf8
(svn r2068) - MSVC: [ 1167036 ] MSVC 6/.NET update for 2 new languages (bociusz)
2005-03-25 18:11:24 +00:00
Darkvater
2e0a7aef22
(svn r2067) - CodeChange: [ 1166931 ] Small OS/2 patch: SVN version detection (orudge)
2005-03-25 18:04:04 +00:00