Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-08-28 | (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else ↵ | rubidium | |
{' -> '} else {', tabs between code and comment, etc. | |||
2006-08-27 | (svn r6179) - Silence the old npf warnings | glx | |
2006-08-26 | (svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore) | truelight | |
-Codechange: introduced DestinationID, which is in fact an union of several types Used in Order struct, so no longer StationID is abused for all targets. Hangars are a big exception, as they use a station-id with GOTO_DEPOT (go figure) | |||
2006-08-22 | (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips ↵ | truelight | |
invalid ones -Codechange: use IsValidXXX where ever possible Note: both changes to prepare for new pool system, which needs those changes. For every pool there are 2 ugly lines, which will be removed when done implementing new pool system. Based on FS#13 by blathijs, partly implemented. | |||
2006-06-27 | (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular | tron | |
2006-06-19 | (svn r5317) s/RGT_/ROADSIDE_/ and some minor changes | tron | |
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-09 | (svn r5196) - Codechange: replace two incorrect uses of TILE_HEIGHT with ↵ | peter1138 | |
TILE_SIZE / 2 | |||
2006-06-07 | (svn r5155) - Remove the bridge branch merge (revision r5070) | tron | |
2006-06-05 | (svn r5116) Move the overly generic GetDepotDirection() from a header to its ↵ | tron | |
only consumer | |||
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-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-04-22 | (svn r4529) - Codechange: Use proper naming for hex numbers in debug prints ↵ | Darkvater | |
eg. 0xF3A6. Use fixed lengths where applicable (newgrf). Unfortunately '%#X' is unusable since it gives 0XFF3 and '%#x' gives 0xff3 while we want 0xFF3 :P | |||
2006-04-12 | (svn r4389) -Fix: [NPF] Don't mark tiles when debugging in multiplayer, ↵ | matthijs | |
this will cause desyncs. | |||
2006-04-12 | (svn r4387) -Codechange: Use map accessors even for debugging purposes (npf). | celestar | |
-Codechange: Removed unused code from NPF | |||
2006-04-12 | (svn r4376) -Codechange Renamed GetSignalState to GetSignalStateByTrackdir | celestar | |
2006-04-10 | (svn r4349) Remove GetCrossingTransportType(), it's slightly overkill | tron | |
2006-04-04 | (svn r4272) -Codechange: Moved the map-accessing stuff from station.h into ↵ | celestar | |
station_map.h | |||
2006-03-31 | (svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and ↵ | celestar | |
moved them to station_map.h to keep consistency | |||
2006-03-29 | (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of ↵ | celestar | |
code and proofreading, thanks to peter1138 for another lot of code and ideas. | |||
2006-03-26 | (svn r4111) Fix/Remove some stale comments | tron | |
2006-03-24 | (svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the ↵ | tron | |
station from a tile | |||
2006-03-23 | (svn r4071) - Fix: [NPF] Trains & busses were unable to find a route when ↵ | matthijs | |
leaving a depot or bus stop. Small omission from r4023 (fix by glx) | |||
2006-03-22 | (svn r4023) - Fix: [ 1453646 NPF ] Road vehicles planning through the back ↵ | matthijs | |
of depots and stations. | |||
2006-03-17 | (svn r3912) Move the signal type enum and GetSignalType() to rail_map.h; ↵ | tron | |
also add SetSignalType() and use the functions | |||
2006-03-16 | (svn r3908) Fix last commit (I'm saying that way too often *sigh*) (Pointed ↵ | tron | |
out by Celestar) | |||
2006-03-16 | (svn r3907) Replace many bridge related direct map accesses with calls to ↵ | tron | |
shiny new functions and mark some strange constructs with XXX | |||
2006-03-12 | (svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add ↵ | tron | |
IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does | |||
2006-03-11 | (svn r3816) Use existing accessors | tron | |
2006-03-06 | (svn r3777) Add some functions to handle tunnels | tron | |
2006-03-05 | (svn r3767) Move all direction related enums and functions to a separate header | tron | |
2006-03-03 | (svn r3750) Use INVALID_STATION instead of -1 in NPF | tron | |
2006-02-21 | (svn r3642) There is a 'npf' debug level for a reason, use that instead of ↵ | Darkvater | |
bastardizing 'misc'. Also, pointers are checked against NULL in an if-statement | |||
2006-02-13 | (svn r3597) Miscellaneous (I like that word) changes: Fix some indentation, ↵ | tron | |
add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff | |||
2006-02-01 | (svn r3511) More whitespace ([FS#46] by Rubidium) | tron | |
2006-02-01 | (svn r3510) Fiddle with whitespace and parentheses | tron | |
2006-01-29 | (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it ↵ | Darkvater | |
in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron) - The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals. | |||
2006-01-24 | (svn r3426) - Fix typo from r3019 -- only affected NPF debugging. | peter1138 | |
2005-12-08 | (svn r3271) Remove some debug statements of mine which somehow got into svn. | hackykid | |
2005-11-05 | (svn r3142) Remove a now invalid case fall-through and use helper function ↵ | peter1138 | |
instead of map access. | |||
2005-10-05 | (svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB | tron | |
2005-09-11 | (svn r2942) Staticise some functions | tron | |
2005-09-09 | (svn r2929) * Move DistanceTrack from map.c to npf.c and rename to ↵ | matthijs | |
NPFDistanceTrack. * Make NPFDistanceTrack return the distance multiplied by NPF_TILE_LENGTH to prevent rounding This should make ship and train pathfinding more accurate and faster. * Update IsEndOfLine to prevent trains from trying to go off a slope onto a tunnel entrance. | |||
2005-07-24 | (svn r2701) Insert Id tags into all source files | tron | |
2005-07-23 | (svn r2696) Remove stray semicolons | tron | |
2005-07-22 | (svn r2674) - CodeChange: [pbs] Generalise the PSBISPbsDepot function so it ↵ | hackykid | |
can check if an arbitrary junction is a pbs junction. Preparations for making pbs more safe. | |||
2005-07-22 | (svn r2673) Include functions.h directly, not globally via openttd.h | tron | |
2005-07-17 | (svn r2625) - Fix: [pbs] Store the end of a train's reserved path ↵ | hackykid | |
explicitly. Prevents trains from unreserving eachothers paths in some cases. - CodeChange: Use the TrackdirToTrack function instead of &7, and remove an unneeded variable. | |||
2005-07-15 | (svn r2585) - Fix [Makefile]: some small cleanups, remove warnings, and add ↵ | Darkvater | |
mersenne to makefile (Luca) | |||
2005-07-13 | (svn r2558) Change the internal map format from 7 arrays to one array of ↵ | tron | |
structs, this doesn't change the saved format for now. It's a stepping stone for further changes. |