Commit Graph

54 Commits (1ceb349779223715b9019523520d53007a32d7f5)

Author SHA1 Message Date
smatz 05db91dc65 (svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile() 16 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium d5def69d87 (svn r13934) -Codechange [YAPP]: Handle through signals in the pathfinders. (michi_cc) 16 years ago
rubidium ee843728bf (svn r13464) -Codechange: support NewGRF Action 0x05, type 12. 17 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 17 years ago
rubidium dc77647ea4 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
17 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 17 years ago
rubidium 6d063c3ad6 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 17 years ago
smatz ec588da9e8 (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used 17 years ago
smatz 966e476df8 (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() 17 years ago
rubidium 8ab49198b9 (svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth. 17 years ago
frosch 525ef7ae6f (svn r12545) -Cleanup: Replace some tables of magic values with already existing functions. 17 years ago
frosch ae01e263ad (svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable. 17 years ago
rubidium 571ba97f56 (svn r12536) -Codechange: some stack allocations were too large for NDS, so use the SmallStackSafeStackAlloc wrapper. Allocate on the stack by default and on the heap for NDS (or other devices that have a very small stack). 17 years ago
smatz d46ac78438 (svn r12348) -Fix (r7573): NTP skipped junction just after bridge end 17 years ago
frosch 4ec7f33f8c (svn r12313) -Fix: YAPF and NTP did not apply penalty for uphill tracks on steep slopes. 17 years ago
frosch 7f3d56041b (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). 17 years ago
frosch 1d120c51b8 (svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'. 17 years ago
smatz a783cb333b (svn r12055) -Fix: another way to fix AI trying to build road through depots 17 years ago
smatz 74af65e556 (svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead 17 years ago
smatz dbd4d7d6a8 (svn r11967) -Fix (r1400): MP_ROAD can have railbits too - OPF searching over rail of diffent owner behind crossing 17 years ago
smatz c19fd4fcde (svn r11966) -Fix: OPF was searching through depots and normal road stops
In effect, it also fixes old AI bugs like FS#1403 and FS#1506
17 years ago
smatz 75784655b7 (svn r11965) -Codechange: simplified tunnel/bridge code in TPFMode1 17 years ago
smatz 881b74e882 (svn r11962) -Cleanup: OPF is no longer used to update signals 17 years ago
smatz 8be486c27e (svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions 17 years ago
rubidium 9c0c798dd8 (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago
rubidium 2d2e1e3863 (svn r11800) -Codechange: move some functions to a more logical location + some type safety. 17 years ago
rubidium f82aeb82c5 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 3074bca136 (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. 17 years ago
rubidium be923601bf (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h 17 years ago
rubidium 818a23e7f2 (svn r11664) -Codechange: use more specific ("rail_type.h" instead of "rail.h" that includes way more than only "rail_type.h") includes at some places. 17 years ago
smatz d56a690ba4 (svn r11649) -Codechange: some code can be simplified thanks to changes in r11642 17 years ago
smatz 926fe5c9e9 (svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h 17 years ago
skidd13 057ae477b5 (svn r11527) -Codechange: Split the bitmath functions of to their own files 17 years ago
skidd13 f56579e0d9 (svn r11526) -Codechange: Rename the function delta fitting to the naming style 17 years ago
skidd13 795174edf1 (svn r11483) -Codechange: Replace codeparts with functions that do the same to increase readability 17 years ago
skidd13 c0a2c0c23e (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
truelight b935a74782 (svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13) 17 years ago
matthijs 875a376039 (svn r10346) -Fix: Forgotten "else" in r10345 (thanks peter1138). 18 years ago
matthijs 25f7e8c8a0 (svn r10345) -Fix [FS#290]: Make OPF handle coming out of a tunnel as well as going into a tunnel, to support road vehicles looking back when finding a depot while in a tunnel.
-Fix [FS#290]: Make NPF look back when finding a depot for road vehicles.
18 years ago
peter1138 d5d902490a (svn r10336) -Fix [FS#910]: reaching the end of a line in certain cases incorrectly stopped signal updates 18 years ago
rubidium 821e58ac95 (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile. 18 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 18 years ago
maedhros 3d81de8d7e (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist. 18 years ago
belugas e9295b82ff (svn r9391) -Documentation : correct Doxygen of comments and @file inclusion. Time for P and Q files 18 years ago
rubidium 979ccd45ba (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 18 years ago
rubidium b5a997a446 (svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType. 18 years ago
rubidium a2999dadc9 (svn r8735) -Feature: drive-through road stops made possible by the hard work of mart3p. 18 years ago