------------------------------------------------------------------------ r2471 | matthijs | 2005-06-22 01:06:04 +0000 (Wed, 22 Jun 2005) | 3 lines - Fix: [ 1221249 ] [NPF] Vehicles try to drive into a tunnel entrance from above. ------------------------------------------------------------------------ r2470 | hackykid | 2005-06-21 21:13:10 +0000 (Tue, 21 Jun 2005) | 2 lines - Fix: Display station signs correctly in smallest zoom level in transparent buildings or tranparant station signs mode. (Peter1138) ------------------------------------------------------------------------ r2469 | hackykid | 2005-06-21 19:45:05 +0000 (Tue, 21 Jun 2005) | 2 lines - Add: When removing tracks with the 'remove' tool, have it automatically remove signals on the tracks. ------------------------------------------------------------------------ r2468 | celestar | 2005-06-21 16:28:17 +0000 (Tue, 21 Jun 2005) | 2 lines -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer ------------------------------------------------------------------------ r2467 | hackykid | 2005-06-21 14:50:08 +0000 (Tue, 21 Jun 2005) | 2 lines - Fix: [newgrf] Prevent trains with shorter wagons breaking apart when reversing in some cases. (Therax) ------------------------------------------------------------------------ r2466 | miham | 2005-06-21 07:30:01 +0000 (Tue, 21 Jun 2005) | 1 line [Translations] Updated to 2005-06-21 (37 strs / 2 langs) ------------------------------------------------------------------------ r2465 | tron | 2005-06-20 20:09:46 +0000 (Mon, 20 Jun 2005) | 1 line Remove some unreachable code ------------------------------------------------------------------------ r2464 | tron | 2005-06-20 20:08:10 +0000 (Mon, 20 Jun 2005) | 1 line Move definition of _inclined_tileh out of variables.h ------------------------------------------------------------------------ r2463 | Darkvater | 2005-06-20 19:39:49 +0000 (Mon, 20 Jun 2005) | 1 line - Fix: partly revert the strncat madness and update nightly script (invisible) to correctly insert date. ------------------------------------------------------------------------ r2462 | miham | 2005-06-20 09:33:43 +0000 (Mon, 20 Jun 2005) | 1 line [Translations] Updated to 2005-06-20 (202 strs / 5 langs) ------------------------------------------------------------------------ r2461 | bjarni | 2005-06-19 17:05:24 +0000 (Sun, 19 Jun 2005) | 2 lines -Feature [Makefile] libpng-config can now be called something else in Makefile.config useful if you for some reason got a libpng-config, which is called something else ------------------------------------------------------------------------ r2460 | hackykid | 2005-06-19 11:56:07 +0000 (Sun, 19 Jun 2005) | 3 lines - Fix: Prevent assertion failure when trying to drag signals starting from a non-rail tile. - CodeChange: Remove unused variable in CmdSignalTrackHelper. ------------------------------------------------------------------------ r2459 | Darkvater | 2005-06-18 20:23:35 +0000 (Sat, 18 Jun 2005) | 1 line - Fix: windows title-bar did not correctly add date/revision for nightly build ------------------------------------------------------------------------ r2458 | truelight | 2005-06-18 15:08:35 +0000 (Sat, 18 Jun 2005) | 1 line -Fix: Quickfix to make dedicated-server compile again. We need a more ellegant way to fix this... ------------------------------------------------------------------------ r2457 | truelight | 2005-06-18 10:02:47 +0000 (Sat, 18 Jun 2005) | 1 line -Fix: typo in Makefile for OSX builds ------------------------------------------------------------------------ r2456 | matthijs | 2005-06-17 17:11:05 +0000 (Fri, 17 Jun 2005) | 3 lines * Prettyfied npf.c using enums and wrappers from rail.h. * Moved GetTileRailType() from npf.c to rail.[ch]. ------------------------------------------------------------------------ r2455 | miham | 2005-06-17 13:39:59 +0000 (Fri, 17 Jun 2005) | 1 line [Translations] Updated to 2005-06-17 (100+ strs / 10+ langs) ------------------------------------------------------------------------ r2454 | matthijs | 2005-06-17 11:30:50 +0000 (Fri, 17 Jun 2005) | 4 lines * Codechange: Move #include "stdafx.h" and "openttd.h" from rail.h to rail.c * Codechange: Move declaration of lookup arrays into the functions that need them. This doesn't pollute the global namespace with the array names. * Add: rail.h to the openttd.vcproj and openttd.dsp for MSVC. ------------------------------------------------------------------------ r2453 | matthijs | 2005-06-17 09:53:22 +0000 (Fri, 17 Jun 2005) | 2 lines * CodeChange: Declared the lookup arrays in rail.h as extern, so the linker will complain if they are not defined (ie when rail.c is not included). ------------------------------------------------------------------------ r2452 | tron | 2005-06-17 07:35:10 +0000 (Fri, 17 Jun 2005) | 1 line Fix defect in r2448 which caused building tracks unexpectedly fail or succeed ------------------------------------------------------------------------ r2451 | matthijs | 2005-06-17 00:46:33 +0000 (Fri, 17 Jun 2005) | 2 lines * Fix: Assertion caused by passing a trackdir where a track was expected. ------------------------------------------------------------------------ r2450 | matthijs | 2005-06-17 00:22:46 +0000 (Fri, 17 Jun 2005) | 6 lines * Codechange: Replaced all uses of the arrays in tile.h with calls to the associated wrapper functions. * Codechange: Made npf.c use some map array accessing wrappers instead of direct access. * Codechange/Fix: Named every enum in tile.h. Fixes a nasty bug on MSVC where arrays would be initialised with zeroes (tnx Asterix_) * Removed magic numbers from tables in tile.c. * Added some explicit casts in tile.h. ------------------------------------------------------------------------ r2449 | matthijs | 2005-06-16 20:54:37 +0000 (Thu, 16 Jun 2005) | 2 lines * Added an extra warning to the stopall command, "For debugging only!". ------------------------------------------------------------------------ r2448 | matthijs | 2005-06-16 18:04:02 +0000 (Thu, 16 Jun 2005) | 18 lines General cleanup of rail related code, more to follow. * Add: rail.[ch] for rail-related enums and wrapper functions. * Codechange: Removed dozens of magic numbers with below enums. * Codechange: Rewrote CheckTrackCombination(). * Add: TILE_SIZE, TILE_PIXELS and TILE_HEIGHT constants. * Add: enums RailTileType, RailTileSubtype, SignalType to mask against the map arrays. * Add: enums Track, TrackBits, Trackdir, TrackdirBits for railway track data. (Note that the old RAIL_BIT constants are replaced by TRACK_BIT ones). * Add: enums Direction and DiagDirection * Codechange: Moved a bunch of track(dir) related lookup arrays from npf.[ch] to rail.[ch]. * Codechange: move RailType enum from tile.h to rail.h. * Add: Wrapper functions for masking signal status in the map arrays: SignalAlongTrackdir, SignalAgainstTrackdir and SignalOnTrack. * Add: Wrapper functions to access rail tiles, using above enums * Add: Wrapper functions to modify tracks, trackdirs, directions, etc. * Add: Wrapper functions for all lookup arrays in rail.[ch] (Arrays are still used in parts of the code) * Codechange: Renamed some variables and arguments to better represent what they contain (railbit -> track, bits -> trackdirbits, etc.). * Codechange: Don't use FindLandscapeHeight() in CmdRemoveSingleRail(), since it returns way too much info. Use GetTileSlope() instead. * Codechange: [NPF] Removed some unused globals and code from npf.c. ------------------------------------------------------------------------ r2447 | matthijs | 2005-06-16 17:53:40 +0000 (Thu, 16 Jun 2005) | 2 lines * Add: [NPF] Penalty for road vehicles making turns. ------------------------------------------------------------------------ r2446 | matthijs | 2005-06-16 01:25:01 +0000 (Thu, 16 Jun 2005) | 2 lines * Made os/debian/rules executable. ------------------------------------------------------------------------ r2445 | matthijs | 2005-06-16 00:54:19 +0000 (Thu, 16 Jun 2005) | 2 lines * Add: "stopall" console command, which forcibly stops all vehicles (useful for debugging). ------------------------------------------------------------------------