Commit Graph

4286 Commits

Author SHA1 Message Date
KUDr
ba25c1e222 (svn r5076) CodeChange: [YAPF] Platform selection feature related settings added into regular savegames (breaks savegame compatibility only with r5070 and 5071). 2006-06-02 16:31:35 +00:00
peter1138
c1df13f299 (svn r5071) - Fix (FS#184): "Erroneous train reversal on waypoints". When processing the next train order, do not even consider reversing the train if the last order was to a waypoint. 2006-06-02 13:15:50 +00:00
celestar
b618b75c9b (svn r5070) Merged the bridge branch
-Feature: Bridges can now be placed above:
	Any railway track combination (excluding depots and waypoints)
	Any road combination (excluding depots)
	Clear tiles (duh), including fields
	Tunnel entrances
	Bridge heads

Thanks to Tron for idea and implementation, KUDr for the yapf synchronization and many others for hours of testing

There are still a number of visual problems remaining, especially when electric railways are on or under the bridge.
DO NOT REPORT THOSE BUGS FOR THE TIME BEING please.
2006-06-02 13:05:41 +00:00
KUDr
7e6d84a34e (svn r5067) -Codechange: [YAPF] Platform selection feature now applies penalty per platform instead of per tile (should give better results) 2006-06-01 22:20:40 +00:00
KUDr
10185f6c11 (svn r5066) -Feature: [YAPF] Train selects the best station platform by length 2006-06-01 21:39:35 +00:00
KUDr
60957de409 (svn r5065) -CodeChange: [YAPF] Added PfDetectDestination(tile, trackdir) for trains (to be used by platform selection feature) 2006-06-01 21:00:59 +00:00
celestar
53cc2673ab (svn r5064) -Fix: Remove stay debug stuff from lat commit. (thanks peter1138) 2006-06-01 09:43:39 +00:00
celestar
0b72bcdcaa (svn r5063) -Codechange: Add a function to determine the length of a platform (request by KUDr) 2006-06-01 09:41:35 +00:00
KUDr
81f48c78a7 (svn r5062) -Fix: town extends road beyond depot or roadstop (introduced by YAPF related change of GetTileTrackStatus() - r4419) 2006-05-31 20:08:55 +00:00
peter1138
17d774517b (svn r5061) - NewGRF: always use visual effect callback if it is defined, not just for powered wagons. 2006-05-31 18:00:08 +00:00
peter1138
40008b8270 (svn r5060) - NewGRF: add support for variable 7F (retrieve GRF parameter) for vehicles 2006-05-31 17:40:48 +00:00
peter1138
bdfcc8008f (svn r5059) - NewGRF: store a GRFFile pointer reference for each pointer, instead of just the GRF ID. 2006-05-31 17:31:08 +00:00
KUDr
c514f84a16 (svn r5057) -Fix: [YAPF] trains can't find depot for servicing (thanks Smoky555) 2006-05-31 06:51:56 +00:00
celestar
f227b9b77c (svn r5055) -Fix: Correct some errors in the bridge sprite numbers 2006-05-31 06:43:05 +00:00
peter1138
2e796941f0 (svn r5048) - NewStations: Set up clipping areas to draw the station preview graphics in. This prevents larger station graphics from overflowing onto the list. 2006-05-30 21:27:51 +00:00
peter1138
3f0fb3139d (svn r5047) - NewGRF: fix typo of AIRPORT in enum 2006-05-30 21:23:01 +00:00
peter1138
e859b54250 (svn r5046) - Implement smooth horizontal depot scrolling by setting up a clipping area to draw the train image. This fixes a couple of usability issues when shorter wagons are used in the depot; shorter wagons scrolled at a different speed, and not all wagons were visible sometimes. 2006-05-30 21:19:46 +00:00
KUDr
325a1d88f7 (svn r5037) -Fix: assert when GetVehicleTrackdir() returns wrong trackdir - introduced by r5033 (thanks yanek) 2006-05-30 15:04:59 +00:00
miham
55fb73394d (svn r5036) WebTranslator2 update to 2006-05-30 15:45:43
american   - 129 changed by WhiteRabbit (129)
czech      - 3 changed by Hadez (3)
2006-05-30 13:45:53 +00:00
miham
f7301a9066 (svn r5035) WebTranslator2 update to 2006-05-30 15:32:01
american   - 44 fixed, 167 changed by WhiteRabbit (211)
czech      - 3 fixed, 1 changed by Hadez (4)
estonian   - 3 fixed by vermon (3)
finnish    - 7 changed by lauri.kajan (7)
french     - 3 fixed by glx (3)
2006-05-30 13:32:19 +00:00
KUDr
af1b942906 (svn r5033) -CodeChange: [YAPF] RoadFindPathToStop() can now use YAPF for multistop handling. 2006-05-30 10:53:27 +00:00
KUDr
af9f81b6a8 (svn r5018) [YAPF] Added some comments to YAPF implementation. 2006-05-29 18:39:42 +00:00
miham
a025ab5524 (svn r5017) WebTranslator2 update to 2006-05-29 19:33:27
dutch      - 3 fixed by webfreakz (3)
italian    - 3 fixed by sidew (3)
turkish    - 4 fixed by jnmbk (4)
2006-05-29 17:33:39 +00:00
KUDr
fe2d631b66 (svn r5013) -Fix: [YAPF] RVs trying to plan route through railway.
Should fix assert("(GetTileTrackStatus(m_old_tile, TT()) & TrackdirToTrackdirBits(m_old_td)) != 0")
Thanks Celestar for the reproducible case.
2006-05-29 15:04:42 +00:00
miham
4af1645676 (svn r5007) WebTranslator2 update to 2006-05-29 13:37:28
german     - 3 fixed by Neonox (3)
hungarian  - 3 fixed by miham (3)
ukrainian  - 3 fixed by znikoz (3)
2006-05-29 11:37:39 +00:00
KUDr
21e7d7eaaa (svn r5006) Added comments where doxygen generated warnings to test if it can help. 2006-05-28 19:01:29 +00:00
miham
95e9f29b6e (svn r5004) WebTranslator2 update to 2006-05-28 19:45:13
finnish    - 6 fixed, 41 changed by lauri.kajan (47)
french     - 3 fixed by glx (3)
polish     - 3 fixed by meush (3)
2006-05-28 17:45:26 +00:00
miham
70c159d512 (svn r5003) [Translations] Several languages fixed by Tron 2006-05-28 17:19:34 +00:00
bjarni
d5bb8a3267 (svn r4997) -Fix: [OSX] reverted the OSX part of rev 4994 as it caused dyld (lib) crashes
now OSX strips after linking again
2006-05-27 23:16:37 +00:00
truelight
7bd65117af (svn r4994) -Fix: changed the stripping parts a bit. OSX is no longer an exeption 2006-05-27 20:51:57 +00:00
truelight
c2966591f7 (svn r4993) -Fix: if 1 file is C++, link the whole project with g++ 2006-05-27 20:22:20 +00:00
KUDr
e587898598 (svn r4992) - Fix: [YAPF] error "too many arguments to function `void * operator new(unsigned int)'" on MorphOS 2006-05-27 18:52:28 +00:00
truelight
4941e487c2 (svn r4991) -Fix: don't compile UNITTEST by default, it isn't needed
-Fix: do not use hardcoded names for things like 'strip', keep it configurable!!
2006-05-27 18:17:10 +00:00
truelight
ca7bbd262b (svn r4990) -Fix: use CXX to link MacOSX OpenTTD, not CC 2006-05-27 17:53:31 +00:00
truelight
a887a529a0 (svn r4989) -Fix: make the OSX Makefile stuff to work with the compile-farm 2006-05-27 17:51:11 +00:00
KUDr
308f27a3de (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing. 2006-05-27 16:12:16 +00:00
miham
3c2eb4f086 (svn r4977) WebTranslator2 update to 2006-05-25 22:58:12
estonian   - 1 fixed, 341 changed by vermon (342)
polish     - 1 fixed by meush (1)
ukrainian  - 1 fixed by znikoz (1)
2006-05-25 20:58:23 +00:00
peter1138
ce83472788 (svn r4975) - Codechange: increase the number of file handles from 32 to 64 (arbitrary powers of 2!) to allow more GRF files to be loaded. 2006-05-25 09:57:27 +00:00
miham
9d272d699a (svn r4971) WebTranslator2 update to 2006-05-24 19:45:32
dutch      - 1 fixed by webfreakz (1)
slovak     - 57 fixed, 2 changed by miro-boss (59)
2006-05-24 17:45:42 +00:00
bjarni
337e896661 (svn r4967) -Fix: [clone vehicles] a cloned train engine heads the same way as the original (pointed out by bobingabout)
[autoreplace] the same applies to autoreplaced trains if the engine is a single unit (not dualheaded or articulated)
2006-05-23 21:49:18 +00:00
peter1138
4f2b6c8cf5 (svn r4965) - NewGRF: add support for action 0x06 (modify sprite data) for pseudo sprites 2006-05-23 20:59:01 +00:00
peter1138
a856831aec (svn r4964) - Fix NTP over bridges: don't check the rail type when on a bridge 2006-05-23 20:02:52 +00:00
peter1138
1ed3c5778b (svn r4960) - NewGRF: explicitly handle unsupported variables, instead of returning -1. 2006-05-23 19:36:50 +00:00
miham
452500131c (svn r4956) WebTranslator2 update to 2006-05-23 19:45:23
catalan    - 29 fixed, 9 changed by jecaro (38)
czech      - 1 fixed by Hadez (1)
german     - 1 fixed by Neonox (1)
hungarian  - 1 fixed by miham (1)
italian    - 1 fixed by sidew (1)
norwegian  - 2 fixed by brygge_2 (2)
portuguese - 1 fixed by izhirahider (1)
romanian   - 16 fixed by kneekoo (16)
2006-05-23 17:45:46 +00:00
Darkvater
63f1a93530 (svn r4947) - Fix [FS#145]: Starting scenarios did not adhere to local difficulty settings 2006-05-22 16:44:16 +00:00
celestar
b725af6ad7 (svn r4946) "Feature": Add a cheat that allows running electric engines on normal rail 2006-05-22 14:41:20 +00:00
rubidium
59174d8dbc (svn r4945) Fix (r3726): make -t command line option (set starting date/year) work again 2006-05-22 10:08:23 +00:00
rubidium
a6fc0e521d (svn r4944) Codechange: make _patches_newgame available via settings.h and remove instances of extern Patches _patches_newgame in .c files 2006-05-22 09:59:09 +00:00
tron
d9e968e759 (svn r4943) uint tile -> TileIndex tile, byte player -> PlayerID player 2006-05-21 16:18:58 +00:00
tron
f233b89efd (svn r4942) if (x != NULL) free(x); -> free(x); 2006-05-21 15:27:10 +00:00