Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-25 | (svn r13255) -Codechange: move _opt to _settings. | rubidium | |
2008-05-25 | (svn r13251) -Codechange: rename _patches to _settings as that is more logic. | rubidium | |
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped. | |||
2008-05-25 | (svn r13250) -Codechange: Use VehicleList in SendAllVehiclesToDepot() | peter1138 | |
2008-05-25 | (svn r13248) -Codechange: Use VehicleList for depot GUI. | peter1138 | |
2008-05-25 | (svn r13246) -Fix (r13245): incorrect parameters to memcpy | peter1138 | |
2008-05-25 | (svn r13245) -Codechange: Use SmallVectors for generating vehicle lists, ↵ | peter1138 | |
simplifying calling code somewhat. | |||
2008-05-25 | (svn r13241) -Codechange: Simplify CmdDepotSellAllVehicles() a bit | peter1138 | |
2008-05-25 | (svn r13240) -Codechange: More const-ness for GUI code. | peter1138 | |
2008-05-24 | (svn r13232) -Codechange: Simplify BuildDepotVehicleList() | peter1138 | |
2008-05-18 | (svn r13165) -Codechange: replace some ↵ | rubidium | |
RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. | |||
2008-05-17 | (svn r13146) -Codechange: vehicle_base.h doesn't need to be included in ↵ | rubidium | |
vehicle_gui.h. | |||
2008-05-17 | (svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so ↵ | rubidium | |
window_gui.h only needs to be included in *_gui.cpp. | |||
2008-05-16 | (svn r13125) -Fix [FS#2000](r12913): [autoreplace] failing replacement and ↵ | bjarni | |
restoring a vehicle will no longer decrease the vehicle count in groups | |||
2008-05-15 | (svn r13100) -Codechange: reduce the amount of parameters passed via ↵ | rubidium | |
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls. | |||
2008-05-14 | (svn r13090) -Codechange: add functions for direct conversion from ↵ | smatz | |
DiagDirection to Track and Trackbits | |||
2008-05-14 | (svn r13087) -Codechange: Constify CalcPercentVehicleFilled() (michi_cc) | peter1138 | |
2008-05-11 | (svn r13047) -Codechange: remove vp_d | glx | |
2008-05-08 | (svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings | glx | |
2008-05-07 | (svn r12988) -Fix [FS#1992](r12913): [autoreplace] failing to replace a road ↵ | bjarni | |
vehicle could free it's slot without the vehicle knowing it (leading to assert) | |||
2008-05-06 | (svn r12971) -Documentation: add @file in files that missed them and add ↵ | rubidium | |
something more than whitespace as description of files that don't have a description. | |||
2008-05-04 | (svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should ↵ | bjarni | |
include the cargo packets in the vehicle as well | |||
2008-04-29 | (svn r12924) -Feature: Introducing the so called 'engine pool' which ↵ | peter1138 | |
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist. | |||
2008-04-29 | (svn r12917) -Codechange: standardise variable names called with ↵ | peter1138 | |
FOR_ALL_ENGINEIDS_OF_TYPE | |||
2008-04-27 | (svn r12913) -Add: ability to backup and restore a player's economic data ↵ | bjarni | |
and data for a vehicle (or chain of vehicles) Autoreplace uses this with the following benefits: -Mass autoreplace (the button in the depot window) will now estimate costs correctly -Autoreplace now either replaces correctly or manages to keep the original vehicle (no more broken trains) Thanks to Ammler for testing this | |||
2008-04-25 | (svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD ↵ | smatz | |
without tram support, it is better than to simply crash | |||
2008-04-24 | (svn r12862) -Codechange: reduce code duplication for VehicleType -> ↵ | smatz | |
WindowClass lookup | |||
2008-04-24 | (svn r12860) -Fix [FS#1947]: Train depart animation trigger was not called ↵ | peter1138 | |
in some cases. | |||
2008-04-20 | (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp | rubidium | |
2008-04-20 | (svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a ↵ | rubidium | |
uniform naming of the thing instead of using both names for the same thing. | |||
2008-04-20 | (svn r12800) -Codechange: move the animated tile related functions out of ↵ | rubidium | |
texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions. | |||
2008-04-19 | (svn r12792) -Codechange: [autoreplace] added a function to figure out if a ↵ | bjarni | |
replacement is needed and if so, to which EngineID It's designed to save a bit of CPU time, specially if the replacement isn't buildable (think autorenew of old vehicle) | |||
2008-04-19 | (svn r12791) -Codechange: [autoreplace] Added a flag parameter (listens for ↵ | bjarni | |
DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost This allowed cleaning up the code in MaybeReplaceVehicle() | |||
2008-04-18 | (svn r12772) -Codechange: some vehicle.cpp coding style. | rubidium | |
2008-04-18 | (svn r12762) -Fix: tabs after the first non-tab character are generally not ↵ | rubidium | |
okay (or lines starting with a space and then tabs). | |||
2008-04-17 | (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵ | rubidium | |
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. | |||
2008-04-17 | (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler ↵ | smatz | |
function can be used | |||
2008-04-17 | (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() | smatz | |
2008-04-14 | (svn r12711) -Codechange: remove unneeded loops | glx | |
2008-04-13 | (svn r12684) -Fix [FS#1891]: manually given service at depot order is not ↵ | rubidium | |
forgotten anymore when autoservice 'interferes'. | |||
2008-04-12 | (svn r12669) -Fix (r12667): crash when a vehicle has never been to a station ↵ | rubidium | |
and the load percentage conditional variable is evaluated. | |||
2008-04-12 | (svn r12664) -Codechange: do not force the 'color' pointer to be non-NULL ↵ | rubidium | |
when trying to get the load percentage. | |||
2008-04-11 | (svn r12659) -Cleanup: some style cleanups in vehicle.cpp. | rubidium | |
2008-04-11 | (svn r12658) -Codechange: unify a vast portion of the ↵ | rubidium | |
CmdSend<VehicleType>ToDepot commands. | |||
2008-04-10 | (svn r12648) -Feature: allow four different non-stop types in a single game ↵ | rubidium | |
instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains. -Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting. | |||
2008-04-08 | (svn r12629) -Codechange: Split VehicleNeedsService() into ↵ | frosch | |
Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing(). -Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders. | |||
2008-04-07 | (svn r12617) -Codechange: add type safety to the Order's load and unload types. | rubidium | |
2008-04-07 | (svn r12615) -Codechange: rename some enums related to depot orders to make ↵ | rubidium | |
it more clear that they are no loading/unloading flags. Also add more type strictness. | |||
2008-04-07 | (svn r12600) -Codechange: make GetNonStopType return a more augmented type; ↵ | rubidium | |
not is there a non-stop order but the kind of non-stop order, so one doesn't need to check _patches.new_nonstop type everywhere. | |||
2008-04-06 | (svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify ↵ | smatz | |
compiler's decisions about inlining | |||
2008-04-06 | (svn r12593) -Codechange: hide Order's flags in most of the code. | rubidium | |