Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-18 | (svn r5308) Replace an array of function pointers with a switch: It's ↵ | tron | |
shorter, more comprehensible, less dependent on magic numbers | |||
2006-06-10 | (svn r5210) Many small changes which piled up: const, unsigned, variable ↵ | tron | |
scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc. | |||
2006-06-07 | (svn r5155) - Remove the bridge branch merge (revision r5070) | tron | |
2006-06-02 | (svn r5070) Merged the bridge branch | celestar | |
-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-05-27 | (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous ↵ | KUDr | |
support and users for testing. | |||
2006-05-21 | (svn r4940) Remove the dubious feature of remembering the last built depot. ↵ | tron | |
It serves no real purpose except causing confusion | |||
2006-05-21 | (svn r4937) Reduce the use of _error_message a bit | tron | |
2006-05-20 | (svn r4927) Replace 3 big ifs (which regard foundations) by a bit less ↵ | tron | |
confusing code | |||
2006-05-18 | (svn r4906) - Fix: Refresh build vehicle window (if opened) when converting ↵ | glx | |
rail depot | |||
2006-05-09 | (svn r4790) Remove slope magic from EnsureNoVehicleZ() and rename it to ↵ | tron | |
EnsureNoVehicleOnGround() to make more clear what it does | |||
2006-05-09 | (svn r4789) - Codechange: rename RoadType to RoadTileType and ↵ | rubidium | |
ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency | |||
2006-05-09 | (svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and ↵ | rubidium | |
RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity | |||
2006-05-07 | (svn r4770) - Revert unindented change to rail_cmd.c in r4769. | peter1138 | |
2006-05-07 | (svn r4769) - Newstations: add newstations ttdpatch flag | peter1138 | |
2006-05-07 | (svn r4767) - Newstations: fix loading / use of custom ground sprites | peter1138 | |
2006-05-06 | (svn r4754) - Newstations: expose default station display data via a ↵ | peter1138 | |
function so we can use it (rarely) in other places. | |||
2006-05-06 | (svn r4748) - Newstations: use custom sprite layout callback for waypoints ↵ | peter1138 | |
as well as stations. Supports merging of adjacent waypoints if the GRF supports it (newstatsw.grf) | |||
2006-05-04 | (svn r4739) - Newstations: remove cargo type parameter of ↵ | peter1138 | |
GetCustomStationRelocation() as we can determine it internally | |||
2006-05-03 | (svn r4723) - Newstations: add TileIndex parameter to station resolver. | peter1138 | |
2006-05-03 | (svn r4719) - Newstations: instead of drawing nothing, fall back to the ↵ | peter1138 | |
default sprite layout if a station layout specifies so. | |||
2006-04-27 | (svn r4593) CodeChange : Renamed spec (when using StationSpec) to statspec. | belugas | |
This is following the same scheme as for IndustrySpec | |||
2006-04-26 | (svn r4586) - Codechange: Recursive commands that rely on _error_message to ↵ | Darkvater | |
handle success/failure can fail if a recursive call fails but doesn't set the error message, thus resulting in an old, possibly erroneous being used (see FS#130 prior to r4585). Now properly reset the global variable _error_message in these cases. | |||
2006-04-25 | (svn r4572) Remove vehicle_leave_tile_proc | tron | |
There's exactly one implemented function (unbarring a level crossing) and one place where it can be triggered (a train leaves a level crossing) It's a bit overkill, so just handle this one case where it can happen | |||
2006-04-23 | (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE} | tron | |
2006-04-23 | (svn r4546) - NewGRF: add support for Action 0x05, type 0x04: replacement ↵ | peter1138 | |
signal graphics. Thanks to Purno for supplying data to test with. | |||
2006-04-23 | (svn r4541) Add a type for slopes and replace many magic numbers by the ↵ | tron | |
appropriate enums | |||
2006-04-17 | (svn r4461) -Codechange: Add and make use of map accessor functions for ↵ | celestar | |
signal drawing. Includes some basic cleanup of the drawing functions | |||
2006-04-15 | (svn r4440) - Fix: Yoyo-effect of rail in desert/snow introduced by r4379. ↵ | Darkvater | |
When a special groundtype below the track is encountered in the tileloop, always return even if groundtype hasn't changed. | |||
2006-04-14 | (svn r4415) Fix bug introduced in r4384 where drawing a default waypoint for ↵ | peter1138 | |
the GUI caused a game crash. This only manifested with some newstations loaded. Thanks to Richk67 for finding this. | |||
2006-04-12 | (svn r4386) -Codechange: Add and make use of IsCustomWaypoint | celestar | |
2006-04-12 | (svn r4384) -Codechange: rail drawing code | celestar | |
-Added a function to obtain the axis of a waypoint -Moved the waypoint layout tables from the depot layout tables into an own one -Use GetRailTileSubtype | |||
2006-04-12 | (svn r4383) - Codechange: Remove extraneous code from 4354; no need to get ↵ | peter1138 | |
RailTypeInfo when we already have it... | |||
2006-04-12 | (svn r4382) -Codechange: Make use of SetSignalType where appropriate | celestar | |
2006-04-12 | (svn r4381) -Codechange: Forgot an occurence for rail ground types | celestar | |
2006-04-12 | (svn r4380) -Codechange: Make use of GetTrackBits where appropriate | celestar | |
2006-04-12 | (svn r4379) -Codechange: Add and make use of map accessor functions ↵ | celestar | |
concerning rail ground types | |||
2006-04-12 | (svn r4378) -Add and make use of an accessor function two-way => one-way => ↵ | celestar | |
one-way => two-way signal cycling | |||
2006-04-12 | (svn r4377) -Add and make use of a function that finds out whether a signal ↵ | celestar | |
is an entry or and exit signal to a presignal block (as combos act as both) | |||
2006-04-12 | (svn r4376) -Codechange Renamed GetSignalState to GetSignalStateByTrackdir | celestar | |
2006-04-12 | (svn r4375) -Codechange: Move the signal drawing bit to an own function and ↵ | celestar | |
rename DrawSignalHelper to DrawSingleSignal | |||
2006-04-11 | (svn r4358) -Codechange: Don't use a TileInfo where a TileIndex will do | celestar | |
2006-04-11 | (svn r4357) -Codechange: Moved global _signal_base_sprites into the only ↵ | celestar | |
function where it is used and use a better array arrangement for it | |||
2006-04-11 | (svn r4354) [Elrail][NewGRF] Codechange: Drawing of custom waypoints with ↵ | peter1138 | |
custom ground sprites used the index of the rail type as an offset. With the introduction of elrails this offset is incorrect, so instead there is now a lookup table within the RailTypeInfo struct to explicitly list the offset. | |||
2006-04-11 | (svn r4353) Codechange: Move global _signal_position into the only function ↵ | celestar | |
that uses it and convert the bit-hacking into a struct | |||
2006-04-10 | (svn r4344) Use tile coordinates or even TileIndices instead of virtual tile ↵ | tron | |
coordinates where it suffices. | |||
2006-04-10 | (svn r4342) Change the first two parameters of commands - virtual pixel ↵ | tron | |
coordinates of the tile to operate on - to a TileIndex Remove DoCommandByTile(), because now it does the same as DoCommand() | |||
2006-04-09 | (svn r4337) -Fix: A problem where GetRailType was called instead of ↵ | celestar | |
GetRailTileType. Thanks to glx for noticing | |||
2006-04-09 | (svn r4332) Turn a table lookup into a ternary operator | tron | |
2006-04-03 | (svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from ↵ | Darkvater | |
declaration) | |||
2006-04-02 | (svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo | tron | |