Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-09-04 | (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines ↵ | rubidium | |
more uniform. -Cleanup: whitespace alignment of a few tables. | |||
2006-08-28 | (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else ↵ | rubidium | |
{' -> '} else {', tabs between code and comment, etc. | |||
2006-08-22 | (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. ↵ | rubidium | |
whitespace fixes only except for a few comments to make them uniform for the whole enum/struct. | |||
2006-08-15 | (svn r5911) -Fix [FS#215]: Discard upper bits of TrackdirBitsToTrackBits result. | matthijs | |
2006-07-22 | (svn r5582) Add and use AxisToTrack{Bits,}() | tron | |
2006-06-27 | (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular | tron | |
2006-06-18 | (svn r5309) Partially fix the rail header dependency fiasco: rail_map.h now ↵ | tron | |
depends on rail.h and not the other way round anymore | |||
2006-05-27 | (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous ↵ | KUDr | |
support and users for testing. | |||
2006-05-22 | (svn r4946) "Feature": Add a cheat that allows running electric engines on ↵ | celestar | |
normal rail | |||
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 r4764) Move some functions from rail.h to rail_map.h | tron | |
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-12 | (svn r4376) -Codechange Renamed GetSignalState to GetSignalStateByTrackdir | celestar | |
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 r4351) Simplify ReverseTrackdir() to use a simple arithmetic operation ↵ | tron | |
instead of a table lookup | |||
2006-04-10 | (svn r4349) Remove GetCrossingTransportType(), it's slightly overkill | tron | |
2006-04-10 | (svn r4348) Move IsLevelCrossing() from rail.h to road_map.h | tron | |
2006-03-31 | (svn r4204) - Get trunk compiling again on OS/2 | orudge | |
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-19 | (svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to ↵ | tron | |
get information about rail tiles | |||
2006-03-18 | (svn r3946) Add short hand names for common track combinations | tron | |
2006-03-18 | (svn r3941) Get rid of RAIL_TYPE_SPECIAL | tron | |
2006-03-17 | (svn r3913) Move declarations to rail_map.h so rail.h is dependent on ↵ | tron | |
rail_map.h and not the other way round | |||
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 r3911) Add functions to retrieve/set the signal variant ↵ | tron | |
(electric/semaphore) | |||
2006-03-05 | (svn r3767) Move all direction related enums and functions to a separate header | tron | |
2006-03-03 | (svn r3747) Change HASBIT() to return 0/1 instead of 0/value of tested bit, ↵ | tron | |
because the name suggests it does the former and current behavior broke in some places in very subtle ways (for example HASBIT(x, 0) != HASBIT(y, 1) doesn't work, returning a bool after HASBIT(x, 9) neither) | |||
2006-03-01 | (svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in ↵ | tron | |
which direction a pieces of rail goes | |||
2006-02-06 | (svn r3564) Several smaller changes: | tron | |
- Don't treat non-booleans as booleans - Reduce variable scope - Bracing - Use DeMorgan's law to make conditionals easier to read - if cascade -> switch - Replace some magic numbers by symbolic names - Avoid assignments within other statements | |||
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-29 | (svn r3466) - Codechange: Some changes to increase readability of signals code. | Darkvater | |
2006-01-26 | (svn r3443) - Fix signed/unsigned comparison warning when compiling with gcc ↵ | peter1138 | |
2.95 (tokai) | |||
2006-01-05 | (svn r3365) Staticise 36 functions | tron | |
2005-12-21 | (svn r3329) - Doc: Some documentation cleanups. | matthijs | |
- Add: TracksOverlap() (from the map branch), TrackdirBitsToTrackBits(), DiagdirReachesTrackdirs(), DiagdirReachesTracks(). - Fix: Infinite loop in the pathfinder introduces in r3321. | |||
2005-10-22 | (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in ↵ | tron | |
comments, excess empty lines, minor other changes nothing spectacular, just some stuff, which piled up | |||
2005-10-19 | (svn r3065) -Codechange/Add: Modified the bridge drawing code so that the ↵ | celestar | |
basic offset is read from the RailTypeInfo struct. This is (hopefully) the last DrawTile change on the way to electrified railways. While being at it, de-mystified the function a bit and added some asserts. | |||
2005-10-16 | (svn r3049) Replace byte/int/uint by RailType where appropriate | tron | |
2005-10-14 | (svn r3040) Don't deduce the cursor sprites when building rails from magic ↵ | tron | |
numbers, but fetch them from the central rail info array. | |||
2005-10-13 | (svn r3037) Don't deduce the sprites for tunnels and level crossings from ↵ | tron | |
magic numbers, but fetch them from the central rail info array. This is a preparation step for electrified rails | |||
2005-09-29 | (svn r2998) -Codechange: Split rail drawing code off from DrawTile_Rail into ↵ | peter1138 | |
a separate function to be used elsewhere. (Deja vu?) | |||
2005-09-18 | (svn r2962) - const correctness for all Get* functions and most Draw* ↵ | Darkvater | |
functions that don't change their pointer parameters - change a lot of byte player types to PlayerID - beautify header files, same "#endif /* filename */" ending | |||
2005-08-03 | (svn r2798) -Codechange: Unified the rail toolbars into one that is modified by | celestar | |
request using the RailtypeInfo struct | |||
2005-07-31 | (svn r2774) -Codechange: Removed TRACKTYPE_SPRITE_PITCH globally and ↵ | celestar | |
replaced it by a member of RailtypeInfo | |||
2005-07-29 | (svn r2756) Renamed railtypes into _railtypes | ludde | |
Renamed railtypes.c into railtypes.h, all other tables are in .h files. (It should be in the tables dir but I couldn't figure out how to get it there without deleting it first). Added const and extern. | |||
2005-07-29 | (svn r2753) -Codechange: Introduced a new struct "RailtypeInfo" to store ↵ | celestar | |
rail type specific information. Begun populating it with a bunch of sprites, more to come later. This should result in cleaner, more compact code which allows easy introduction of new railtypes. | |||
2005-07-29 | (svn r2752) -Doc: Added some doxygen stuff to rail.h. I'm gonna mess around ↵ | celestar | |
with this file and wanted to get rid of this first | |||
2005-07-24 | (svn r2701) Insert Id tags into all source files | tron | |
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. |