summaryrefslogtreecommitdiff
path: root/vehicle.c
AgeCommit message (Expand)Author
2006-03-08(svn r3787) Use DirToDiagDir() instead of >> 1tron
2006-03-08(svn r3784) Add a type and functions to handle direction changestron
2006-03-08(svn r3783) Replace further ints and magic numbers by Direction, DiagDirectio...tron
2006-03-04(svn r3757) -Feature: Delete news items about vehicles, when they get staletron
2006-03-03(svn r3747) Change HASBIT() to return 0/1 instead of 0/value of tested bit, b...tron
2006-03-01(svn r3717) - [2cc] Add 2cc colour maps and use for newgrf engines requiring ...peter1138
2006-03-01(svn r3701) [2cc] move vehicle/engine palette functions out of header file an...peter1138
2006-02-20(svn r3627) - Change all hardcoded 255 max-saveload versions with the define ...Darkvater
2006-02-20(svn r3620) - 2cc: Replace use of macro to determine colour map with a functi...peter1138
2006-02-20(svn r3619) - Codechange: Simplify a NullStruct initialization in the vehicle...Darkvater
2006-02-13(svn r3598) -Fix: suppress invalid warning by assigning value to variabletruelight
2006-02-11(svn r3589) - Rename u.road.unk2 to u.road.blocked_ctrpeter1138
2006-02-08(svn r3579) v->u.rail.first_engine holds an engine type, not a vehicle index,...peter1138
2006-02-08(svn r3576) - Allow unused wagons have their ->first set. This fixes the faul...peter1138
2006-02-07(svn r3573) - Replace assert(0) with NOT_REACHED(). This commit sponsored by ...peter1138
2006-02-07(svn r3572) - Rewrite GetFreeUnitNumber() so that only one loop of vehicles i...peter1138
2006-02-07(svn r3571) - When loading a game, call TrainConsistChanged() for each train ...peter1138
2006-02-04(svn r3535) -Feature: [autoreplace] allow autoreplacing of train wagonsbjarni
2006-02-01(svn r3511) More whitespace ([FS#46] by Rubidium)tron
2006-02-01(svn r3510) Fiddle with whitespace and parenthesestron
2006-01-31(svn r3498) Fix the edge case for r3419/r3488: when a vehicle just enters a t...tron
2006-01-30(svn r3488) Simplify the check in r3419tron
2006-01-29(svn r3482) - Fix: since multiheaded links are not saved anymore do NOT save ...Darkvater
2006-01-29(svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in...Darkvater
2006-01-22(svn r3419) - Fix: [FS#40] (Possible) game crash on removing track/road unde...Darkvater
2006-01-18(svn r3403) -Codechange: [multiheaded engines] the references between the fro...bjarni
2006-01-12(svn r3396) - Autoreplace changes:peter1138
2006-01-08(svn r3390) -Fix: [autoreplace] fixed issue where autoreplace failed to attac...bjarni
2006-01-05(svn r3367) Unify the 4 distinct CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SER...tron
2006-01-05(svn r3365) Staticise 36 functionstron
2006-01-04(svn r3362) Fix issue with loading old (TTD) savegames:peter1138
2006-01-04(svn r3361) - Clone Vehicle: Disallow cloning of crashed rail vehicles after ...peter1138
2005-12-29(svn r3353) Simplify the automatic length adjustment algorithm for replacing ...tron
2005-12-28(svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC b...peter1138
2005-12-24(svn r3339) Remove unnecessary includestron
2005-12-14(svn r3298) Remove unused and write-only variablestron
2005-12-14(svn r3297) Staticisetron
2005-12-05(svn r3261) - Autoreplace: If a replaced vehicle had a custom name, transfer ...peter1138
2005-11-29(svn r3248) - Codechange: Change interface of CanRefitTo() to supply the engi...peter1138
2005-11-26(svn r3239) - Codechange: Introduce and use helper functions for engine repla...peter1138
2005-11-22(svn r3227) -Codechange: [Savegame] removed 'minor' version, and renamed 'maj...truelight
2005-11-19(svn r3223) -Fix: [autoreplace] fixed crash when replacing a train engine wit...bjarni
2005-11-19(svn r3220) -Fix: [autoreplace] Autoreplaced trains now replace their cargo t...bjarni
2005-11-19(svn r3219) -Codechange: removed the now obsolite code in the build train com...bjarni
2005-11-18(svn r3218) -Feature: Multiheaded train engines will now stay in the same trainbjarni
2005-11-16(svn r3208) Don't explicitly pass the engine type to look for to GetRearEngin...tron
2005-11-16(svn r3193) Staticise the vehicle position hashtron
2005-11-14(svn r3181) -Bracingtron
2005-11-14(svn r3177) GB, CLRBIT, HASBIT, TOGGLEBITtron
2005-11-13(svn r3173) Use the trinary operator and switch to improve readabilitytron