Commit Graph

1567 Commits

Author SHA1 Message Date
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
Darkvater
4089c85653 (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
44d901dba7 (svn r2065) -Fix: reverted revision 2044, because it had more negative effects than positive 2005-03-25 16:10:33 +00:00
pasky
d77530b3ab (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
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.) 2005-03-25 15:31:01 +00:00
darkvater
f0cd2845d9 (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
d82e20ed7e (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
77d79ed22d (svn r2060) Clean up some string construction and remove now unused macro 2005-03-25 14:19:33 +00:00
truelight
6f5dae6684 (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
0560b88db2 (svn r2058) -Fix: hopefully this fixes the reverse-train-in-depot-bugs (plural) 2005-03-25 12:07:26 +00:00
tron
4d55d8a4bd (svn r2057) Add InlineString() to make _userstring construction a bit cleaner. 2005-03-25 11:32:58 +00:00
celestar
6246150d8d (svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron 2005-03-25 11:03:05 +00:00
celestar
0cec257797 (svn r2055) -CodeChange: Begun introducting StationID 2005-03-25 10:40:58 +00:00
celestar
ce00b71aa6 (svn r2054) -CodeChange: Removed an unused enum 2005-03-25 09:44:17 +00:00
darkvater
831f7d8a46 (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
877a9f7df7 (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
6c08d459d6 (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
802b63a5a9 (svn r2050) Weekly langfile updates 2005-03-24 18:48:20 +00:00
truelight
c45c4ff5d9 (svn r2049) -Update: updated project files 2005-03-24 17:50:19 +00:00
truelight
1b2aaed4ad (svn r2048) -Fix: deleted a word somehow :s (Tnx Tron!) 2005-03-24 17:33:27 +00:00
truelight
61c2c8da9f (svn r2047) -Fix: never commit your own personal changes... :( 2005-03-24 17:31:55 +00:00
truelight
d1e158d6f7 (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
625d041e99 (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
fd77153960 (svn r2044) -Fix: fix that TriggerVehicle is called from the wrong user 2005-03-24 14:43:40 +00:00
truelight
813e84bf9e (svn r2043) -Fix: committed too many files in the last commit 2005-03-24 14:33:05 +00:00
truelight
e51659da60 (svn r2042) -Fix: forgot to remove a printf ;) 2005-03-24 14:31:27 +00:00
truelight
49d69f6fa3 (svn r2041) -Fix: not all vehicles did get a day_proc call (because of rounding errors) 2005-03-24 13:59:44 +00:00
tron
0a95a224ff (svn r2040) Readd check that got accidently removed in r2022 2005-03-24 07:48:04 +00:00
tron
ca83a54490 (svn r2039) IS_RAIL_DEPOT -> IsRailDepot, IS_RAIL_WAYPOINT -> IsRailWaypoint
remove now unused enums and remove a redundant condition in one if
2005-03-23 21:57:10 +00:00
tron
2695b93fee (svn r2038) -Fix: A player only received the money for one rail when clearing a tile with 2 rails and signals
While here rewrite parts of the function to (hopefully) increase clarity
2005-03-23 20:02:28 +00:00
tron
b0eda62f1e (svn r2037) uint -> TileIndex, remove pointless casts, const, misc. 2005-03-23 11:54:20 +00:00
tron
59fa2e78e8 (svn r2036) Fix FindNearestHanger(), it never worked correctly because 0xFFFF != 65000 and a 16bit number has no 17th bit
While here also do some const gymnastics
2005-03-23 11:12:17 +00:00
tron
9655764730 (svn r2035) - Remove unneeded realloc()
- Use TileOffsByDir() instead of home brewed table
2005-03-23 08:24:13 +00:00
celestar
a9c0a173bf (svn r2034) -Codechange: Replaced the rather meaningless LOAD and UNLOAD flags for depots by something more meaningful 2005-03-20 08:43:29 +00:00
pasky
00ff85dcb8 (svn r2033) - Fix: Fix some more desync by saving the town growth frequency iterator _cur_town_iter. Needed to bump a svg revision for that thanks to the braindead SlGlob thing, or at least I don't know how to do it without bumping it. 2005-03-20 00:32:26 +00:00
Celestar
327261f8fe (svn r2032) -Codechange: A less hackish version of SVN version detection for OS/2 (orudge) 2005-03-19 23:23:56 +00:00
celestar
879513b1b2 (svn r2031) -Fix: Station #256 now gets cargo delivered as well 2005-03-19 23:17:59 +00:00
celestar
239aa75504 (svn r2030) -Fix: Save _cur_town_ctr with all its bits to prevent desyncs 2005-03-19 22:45:59 +00:00
celestar
6f41ecfe9e (svn r2029) -Fix: Added files I forgot to svn add the previous commit 2005-03-19 22:41:55 +00:00
celestar
2c1d712268 (svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge) 2005-03-19 22:36:13 +00:00
miham
e2321fe97a (svn r2027) Fixed a typo in the brazilian-portuguese language name 2005-03-19 22:11:21 +00:00
miham
446a5cbb57 (svn r2026) Moved brasilian_portuguese to finished languages 2005-03-19 22:04:59 +00:00
miham
71a558f09a (svn r2025) Daily langfile changes - 05/03/19 2005-03-19 22:04:36 +00:00
bjarni
e5abf58461 (svn r2024) -Fix: [autoreplace] reverted all changes involving v->set_for_replacement as they caused desyncs.
The bad sideeffect of this is that now no vehicle will automatically go to a depot anymore just 
because it is set to be autoreplaced. We will have to find a better way to solve this problem.

Revisions reverted: 1640, 1707, 1709, 1710, 1712(but not the cheat prevention in this one)
2005-03-19 21:16:22 +00:00
miham
c7e5ef76df (svn r2023) Added brazilian-portuguese translation [yet unfinished] 2005-03-19 12:24:51 +00:00
tron
b5c9012315 (svn r2022) Revise CmdRemoveSingleSignal: Check parameters for validity and simplify the function 2005-03-18 07:37:32 +00:00
pasky
49f769948b (svn r2021) Fix: Enlarge _cur_town_ctr from byte to uint32 so that all the towns are considered when growing them even for big maps, where much more than 256 towns are around; reported by Tomasz Dubiński <uboottd@hydra.polsl.gliwice.pl>. The savegame still saves just the lowest 8 bits but that doesn't hurt so much. 2005-03-17 23:12:23 +00:00