Commit Graph

1588 Commits

Author SHA1 Message Date
tron
c4133f2535 (svn r2091) Small cleanup: uint -> TileIndex, const, don't call FindLandscapeHeightByTile() 2005-03-27 16:40:01 +00:00
pasky
31c36d3dd4 (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
aafb136cd0 (svn r2089) - Codechange: Simplify slopes check in CmdBuildBridge(). Inspired by st3wis' patch 1144746. 2005-03-27 15:56:54 +00:00
pasky
04dc6441aa (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
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). 2005-03-27 15:13:51 +00:00
pasky
8acc24f000 (svn r2086) - Codechange: Two indentation fixes coming from Loic Guilloux' patch 1171208. 2005-03-27 15:12:26 +00:00
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
2005-03-27 12:48:25 +00:00
tron
aba225c88d (svn r2084) Set the name for drive items 2005-03-27 10:35:01 +00:00
matthijs
e01338fcf5 (svn r2083) Add pasky's and my real name in readme.txt as well. 2005-03-27 01:23:31 +00:00
matthijs
a0f9a7597c (svn r2082) I have a name too! 2005-03-27 01:10:23 +00:00
pasky
bf1fd0379c (svn r2081) I have a real name, too. 2005-03-27 00:42:57 +00:00
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.
2005-03-27 00:28:14 +00:00
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.
2005-03-26 21:22:29 +00:00
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. 2005-03-26 20:10:59 +00:00
pasky
8efcba81d7 (svn r2077) - Fix: [ 1170978 ] OS/2 project update: add waypoint.c. (-- Owen Rudge) 2005-03-26 18:12:58 +00:00
tron
742513d708 (svn r2076) Set the name for the parent directory to ".." 2005-03-26 18:04:42 +00:00
truelight
cef2e24ec4 (svn r2075) -Fix: added missing breaks in switches
-Fix: added const for a const variable
2005-03-26 12:08:56 +00:00
pasky
f89984642e (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
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-. 2005-03-26 04:02:50 +00:00
tron
7340aa5b8e (svn r2072) Use lengthof() instead of a home brewed version 2005-03-25 20:37:06 +00:00
Darkvater
67d2ada020 (svn r2071) - Feature: [ 1168743 ] save command for console: "save <filename>" to save a game (pkirchhofer) 2005-03-25 20:20:23 +00:00
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++. 2005-03-25 20:15:00 +00:00
Darkvater
3855c7f92f (svn r2069) - Feature: [ 1168743 ] save command for console (pkirchhofer) 2005-03-25 18:26:49 +00:00
Darkvater
c4f1d4dfed (svn r2068) - MSVC: [ 1167036 ] MSVC 6/.NET update for 2 new languages (bociusz) 2005-03-25 18:11:24 +00:00
Darkvater
5ce3537ef0 (svn r2067) - CodeChange: [ 1166931 ] Small OS/2 patch: SVN version detection (orudge) 2005-03-25 18:04:04 +00:00
Darkvater
7da3b3b92d (svn r2066) - Fix: [ 1164248 ] game crash while AI builds bridge. Also protect bridge building against invalid bridges and some safeguards when drawing. 2005-03-25 17:30:54 +00:00
truelight
05dbeaeba4 (svn r2065) -Fix: reverted revision 2044, because it had more negative effects than positive 2005-03-25 16:10:33 +00:00
pasky
339785dad7 (svn r2064) - Codechange: GetVehicleSpriteGroup() cleanup - drop overriding_engine, which was around probably only for historical reasons. (Paralellily developed by HackyKid.) 2005-03-25 16:07:35 +00:00
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.) 2005-03-25 15:31:01 +00:00
darkvater
44f3702919 (svn r2062) - Set native eol-style on some OS specific files to allow cross-OS diff patching #2 2005-03-25 15:30:51 +00:00
Darkvater
e94a921c2b (svn r2061) - Set native eol-style on some OS specific files to allow cross-OS diff patching 2005-03-25 15:18:00 +00:00
tron
9832a691fe (svn r2060) Clean up some string construction and remove now unused macro 2005-03-25 14:19:33 +00:00
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.
2005-03-25 13:37:37 +00:00
truelight
1eab014524 (svn r2058) -Fix: hopefully this fixes the reverse-train-in-depot-bugs (plural) 2005-03-25 12:07:26 +00:00
tron
0c325e10da (svn r2057) Add InlineString() to make _userstring construction a bit cleaner. 2005-03-25 11:32:58 +00:00
celestar
9cde836d08 (svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron 2005-03-25 11:03:05 +00:00
celestar
6e142d523e (svn r2055) -CodeChange: Begun introducting StationID 2005-03-25 10:40:58 +00:00
celestar
75bc6cd7e7 (svn r2054) -CodeChange: Removed an unused enum 2005-03-25 09:44:17 +00:00
darkvater
b721a08ef2 (svn r2053) - Remove VS.NET dependencies from project file and list properly as additional dependencies. This means you no longer need the lib files for each and every working copy you have checked out. You can either put them in the /lib directory (the header files in the /include dir) or keep them where they were, that continues to work. This concerns WITH_PNG and WITH_ZLIB. 2005-03-24 20:49:17 +00:00
darkvater
602fda327f (svn r2052) - Fix Regression: ALT+F4 once again shuts down openttd in windows and F10, etc. is fixed. 2005-03-24 20:47:21 +00:00
darkvater
62b8355af0 (svn r2051) - Remove trailing tabs from vs.net project file
- Set proper line-ending for newly added files waypoint.[ch]. PLEASE don't forget this!
2005-03-24 19:40:48 +00:00
miham
16a3bc35c0 (svn r2050) Weekly langfile updates 2005-03-24 18:48:20 +00:00
truelight
9791068844 (svn r2049) -Update: updated project files 2005-03-24 17:50:19 +00:00
truelight
2423eaac2c (svn r2048) -Fix: deleted a word somehow :s (Tnx Tron!) 2005-03-24 17:33:27 +00:00
truelight
5972d84c82 (svn r2047) -Fix: never commit your own personal changes... :( 2005-03-24 17:31:55 +00:00
truelight
83637d164e (svn r2046) -Codechange: moved all waypoint code to waypoint.c/waypoint.h
-Codechange: rewrote some functions while moving waypoint-stuff
-Add: added support for 64k waypoints
-Fix: made the waypoint struct a bit more logic (no bit-fucking)
2005-03-24 17:03:37 +00:00
truelight
f86318407c (svn r2045) -Fix: hopefully fixed the desync problem. Please all test this revision!!
(with tnx to Celestar, Hackykid, dp-_ and Tron)
2005-03-24 15:15:06 +00:00
truelight
1536c3ae5a (svn r2044) -Fix: fix that TriggerVehicle is called from the wrong user 2005-03-24 14:43:40 +00:00
truelight
9b1e6e6d3e (svn r2043) -Fix: committed too many files in the last commit 2005-03-24 14:33:05 +00:00
truelight
fbb11ea366 (svn r2042) -Fix: forgot to remove a printf ;) 2005-03-24 14:31:27 +00:00