summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-06-23(svn r2477) -Nothing: SVN Mirror Test 2/2truelight
2005-06-23(svn r2476) -Nothing: SVNMirror Test Filetruelight
2005-06-23(svn r2475) -Fix: [ 1214982 & 1217473 ] realistic acceleration problem. (glx)celestar
2005-06-23(svn r2474) - Fix: [newgrf] Some road vehicle action 0 properties were ↵hackykid
loaded as the wrong type (int8,int16,int32) causing undefined results. (like cargo types being wrong)
2005-06-22(svn r2473) - Add: VehicleMayEnterTile(), which checks if the tile owner of ↵matthijs
a tile is correct for a vehicle to enter it. Based upon glx's code. - Fix: [ 1203769 ] [NPF] NPF tries to plan over bridges, through tunnels, over level crossings of other players. (glx) - Codechange: Renamed TRANSPORT_MAX to TRANSPORT_END and added INVALID_TRANSPORT. - Codechange: Moved IsLevelCrossing() from tile.h to rail.h - Add: GetCrossingTransportType(), which returns the transport type (road, rail) of both tracks on a level crossing. - Removed old TODO that was fulfilled already.
2005-06-22(svn r2472) [Translations] Updated to 2005-06-22 (1 str / 1 lang + 1 string ↵miham
modified in english.txt lately)
2005-06-22(svn r2471) - Fix: [ 1221249 ] [NPF] Vehicles try to drive into a tunnel ↵matthijs
entrance from above.
2005-06-21(svn r2470) - Fix: Display station signs correctly in smallest zoom level ↵hackykid
in transparent buildings or tranparant station signs mode. (Peter1138)
2005-06-21(svn r2469) - Add: When removing tracks with the 'remove' tool, have it ↵hackykid
automatically remove signals on the tracks.
2005-06-21(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayercelestar
2005-06-21(svn r2467) - Fix: [newgrf] Prevent trains with shorter wagons breaking ↵hackykid
apart when reversing in some cases. (Therax)
2005-06-21(svn r2466) [Translations] Updated to 2005-06-21 (37 strs / 2 langs)miham
2005-06-20(svn r2465) Remove some unreachable codetron
2005-06-20(svn r2464) Move definition of _inclined_tileh out of variables.htron
2005-06-20(svn r2463) - Fix: partly revert the strncat madness and update nightly ↵Darkvater
script (invisible) to correctly insert date.
2005-06-20(svn r2462) [Translations] Updated to 2005-06-20 (202 strs / 5 langs)miham
2005-06-19(svn r2461) -Feature [Makefile] libpng-config can now be called something ↵bjarni
else in Makefile.config useful if you for some reason got a libpng-config, which is called something else
2005-06-19(svn r2460) - Fix: Prevent assertion failure when trying to drag signals ↵hackykid
starting from a non-rail tile. - CodeChange: Remove unused variable in CmdSignalTrackHelper.
2005-06-18(svn r2459) - Fix: windows title-bar did not correctly add date/revision for ↵Darkvater
nightly build
2005-06-18(svn r2458) -Fix: Quickfix to make dedicated-server compile again. We need a ↵truelight
more ellegant way to fix this...
2005-06-18(svn r2457) -Fix: typo in Makefile for OSX buildstruelight
2005-06-17(svn r2456) * Prettyfied npf.c using enums and wrappers from rail.h.matthijs
* Moved GetTileRailType() from npf.c to rail.[ch].
2005-06-17(svn r2455) [Translations] Updated to 2005-06-17 (100+ strs / 10+ langs)miham
2005-06-17(svn r2454) * Codechange: Move #include "stdafx.h" and "openttd.h" from ↵matthijs
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.
2005-06-17(svn r2453) * CodeChange: Declared the lookup arrays in rail.h as extern, so ↵matthijs
the linker will complain if they are not defined (ie when rail.c is not included).
2005-06-17(svn r2452) Fix defect in r2448 which caused building tracks unexpectedly ↵tron
fail or succeed
2005-06-17(svn r2451) * Fix: Assertion caused by passing a trackdir where a track was ↵matthijs
expected.
2005-06-17(svn r2450) * Codechange: Replaced all uses of the arrays in tile.h with ↵matthijs
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.
2005-06-16(svn r2449) * Added an extra warning to the stopall command, "For debugging ↵matthijs
only!".
2005-06-16(svn r2448) General cleanup of rail related code, more to follow.matthijs
* 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.
2005-06-16(svn r2447) * Add: [NPF] Penalty for road vehicles making turns.matthijs
2005-06-16(svn r2446) * Made os/debian/rules executable.matthijs
2005-06-16(svn r2445) * Add: "stopall" console command, which forcibly stops all ↵matthijs
vehicles (useful for debugging).
2005-06-15(svn r2444) - CodeChange: Add an enum for demagicifying the values of the ↵hackykid
'flags' parameter of DrawFrameRect(). (_Abraxa_)
2005-06-15(svn r2443) -Fix: somehow I delete one line too many :(celestar
2005-06-15(svn r2442) [Translations] Updated to 2005-06-15 #2. (27+X strs / all lang)miham
[Translations] 10 strings got added, 8 strings got changed in english.txt, lots of work ahead
2005-06-15(svn r2441) -Feature: You can now give transfer order to set up feeder systemscelestar
2005-06-15(svn r2440) - Fix: [newgrf] Fix the spritesorter to handle overlapping ↵hackykid
sprites properly, this fixes display problems with really short wagons. (algorithm by patchman, ported by therax) - Fix: [newgrf] Too short wagons could break the 'follow next vehicle' code used in the traincontroller. Clamp better to prevent this.
2005-06-15(svn r2439) [Translations] Updated to 2005-06-15 (6 strs / 3 lang)miham
2005-06-14(svn r2438) - Feature: New display option, 'transparent station signs', ↵hackykid
makes station signs transparent instead of using a solid bar to draw text on (peter1138)
2005-06-10(svn r2437) [Translations] Updated to 2005-06-10 (28 strs / 5 lang)miham
2005-06-09(svn r2436) - Fix: Deleting canals under bridges removes bridges first in ↵Darkvater
certain configurations (peter1138)
2005-06-08(svn r2435) [Translations] Updated to 2005-06-08 (11 strs / 1 lang)miham
2005-06-08(svn r2434) Fix some defects in r2433tron
2005-06-07(svn r2433) - CodeChange: unmagicify all road/train crossings with ↵Darkvater
IsLevelCrossing() function (peter1138)
2005-06-07(svn r2432) Use GetEngine() instead of DEREF_ENGINE() or even _engines[]tron
2005-06-07(svn r2431) - Fix: [newgrf] clamp() instead of assert() on the result of ↵hackykid
the vehicle length calculation, as it can depend on external input. (thanks tron)
2005-06-07(svn r2430) [Translations] Updated to 2005-06-07 (118 strs / 8 langs)miham
2005-06-07(svn r2429) - Fix: Oops, forgot to increase the size of the autoreplace ↵hackykid
window to fit the extra info from powered wagons.
2005-06-06(svn r2428) - Feature: [newgrf] Implement shorter train vehicles (Therax), ↵hackykid
and the callback that goes with it. - Codechange: Remove some magic numbers (PALETTE_CRASH)