Commit Graph

66 Commits (3536357cc6b1b80f8b578314142b7ed2fa276592)

Author SHA1 Message Date
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
terkhen 64e63b72e9 (svn r19964) -Add: Show an error message when trying to start a crashed or destroyed vehicle. 14 years ago
terkhen 5387d4d87c (svn r19953) -Fix [FS#3874]: Don't show an error message when trying to start/stop a crashed plane. 14 years ago
smatz e3c89df398 (svn r19714) -Feature: ctrl+click on a vehicle to start/stop it 14 years ago
frosch 2365a4dea0 (svn r19657) -Fix: Add saneness checks for front vehicles. 14 years ago
frosch 5ecf2f7f8c (svn r19656) -Codechange/Fix: Report back if invalid vehicle lists are requested. 14 years ago
frosch 75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
peter1138 e188c5d87c (svn r19498) -Feature [FS#3710]: Keep number padding intact when cloning vehicle names. 14 years ago
alberth 05d705e077 (svn r19494) -Codechange: Remove _error_message. 14 years ago
alberth a901ab5392 (svn r19493) -Codechange: Keep track of last error in CmdDepotSellAllVehicles(). 14 years ago
alberth 8b785ccb8a (svn r19489) -Codechange: Introduce a had_success variable in SendAllVehiclesToDepot(). 14 years ago
alberth 073f627930 (svn r19482) -Doc: Doxygen additions/updates. 14 years ago
alberth 7cc68f493d (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 15 years ago
terkhen e4a5a556b4 (svn r19338) -Codechange: Move the acceleration cache to GroundVehicle. 15 years ago
rubidium 8ee4a6e7f2 (svn r19024) -Fix [FS#3577]: mass stopping/starting/autoreplacing gave empty errors when there were no vehicles 15 years ago
rubidium 4d93b704d9 (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 3e5a87a52c (svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the CommandCost it tests when you don't have enough money instead of setting a global variable. 15 years ago
yexo 27fc22a76b (svn r18724) -Fix [FS#3475] (r17899): refitting a non-refittable vehicle to it's default cargotype failed, causing problems for AIs 15 years ago
rubidium a190ae9a71 (svn r18498) -Fix [FS#2616]: cloning of vehicles could create vehicles with invalid cargo sub types for the build year of the vehicle. Fall back to another cargo sub type with the exact same name, otherwise fallback to cargo sub type 0. 15 years ago
rubidium b094312631 (svn r18465) -Codechange: simplify CheckTrainInDepot and remove some unneeded wrapper functions 15 years ago
frosch d507136e04 (svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself. 15 years ago
frosch 912bce0b8c (svn r18266) -Codechange: Add a function to compute prices from price base and cost factor and use it consistently for vehicle purchase, running cost, and refit cost. 15 years ago
frosch ba1fc280e3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 15 years ago
frosch 67cae40ec1 (svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail consistent. Now always the cargo class decides. 15 years ago
frosch 00aca63b48 (svn r17899) -Codechange: Deduplicate code for refitting vehicles. 15 years ago
rubidium e9624fe0cc (svn r17682) -Codechange: remove erroneous space before some commas 15 years ago
frosch 7fa4d576ca (svn r17594) -Fix: Vehicle image was not always updated when needed. 15 years ago
rubidium e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium 04d5b67eb6 (svn r17567) -Fix: some doxygen warnings 15 years ago
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 4c65a04a50 (svn r17509) -Fix [FS#3196]: if building a part fails during cloning, sell what was already cloned instead of leaving it 'for free'
-Fix: make cloning multiheaded trains possible with with 'max - 1' vehicles existing
15 years ago
rubidium 1f21a5cb41 (svn r17446) -Codechange: rename BUILD with BUY for strings that are about building (in the future buying) vehicles. 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 15 years ago
smatz 92f021a0a2 (svn r16931) -Cleanup (r16922): one semicolon too much 15 years ago
rubidium fefc880971 (svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :) 15 years ago
rubidium b04ba7dcea (svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place 15 years ago
rubidium 2962d8f0fc (svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message 15 years ago
rubidium c17c31b5b6 (svn r16919) -Codechange: unify some more StringID w.r.t. their naming 15 years ago
smatz 6a0855f0d1 (svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train 15 years ago
rubidium 4d14c1b534 (svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions 15 years ago
rubidium 61e735ba4c (svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle. 15 years ago
smatz d86e17d65a (svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train 15 years ago
smatz adc5363202 (svn r16717) -Codechange: make IsFrontEngine() member of Train 15 years ago
smatz 8343340acb (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 15 years ago
smatz 0c10006907 (svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check 15 years ago
alberth bab70a823d (svn r16491) -Codechange: Added parentheses around bitwise operators for code style. 15 years ago