rubidium
|
aa8a5b2c39
|
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
|
16 years ago |
frosch
|
b91781b715
|
(svn r12629) -Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
|
16 years ago |
rubidium
|
cf250390c5
|
(svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness.
|
16 years ago |
rubidium
|
53d101cc99
|
(svn r12593) -Codechange: hide Order's flags in most of the code.
|
16 years ago |
rubidium
|
935b562074
|
(svn r12588) -Codechange: do not access the destination of an order directly.
|
16 years ago |
rubidium
|
3b0e3d8d30
|
(svn r12584) -Codechange: do not access the order type directly.
|
16 years ago |
rubidium
|
ba0a9538cf
|
(svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder.
|
16 years ago |
rubidium
|
3fdddeac40
|
(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles.
|
16 years ago |
frosch
|
ae01e263ad
|
(svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable.
|
16 years ago |
frosch
|
51155403a4
|
(svn r12531) -Codechange: Rename some variables for consistency.
|
16 years ago |
rubidium
|
df1d9bd880
|
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
16 years ago |
rubidium
|
c51b81c247
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
16 years ago |
rubidium
|
b84b16cfcd
|
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
|
16 years ago |
rubidium
|
2426f5342f
|
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
|
16 years ago |
frosch
|
7f3d56041b
|
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
|
17 years ago |
frosch
|
1d120c51b8
|
(svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'.
|
17 years ago |
smatz
|
fe48d0be21
|
(svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
|
17 years ago |
smatz
|
391898b47a
|
(svn r12132) -Cleanup: convert pathfinder selection from if/else to switch/case at many places
|
17 years ago |
smatz
|
a3e3cd7d46
|
(svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick)
|
17 years ago |
frosch
|
f476d861d2
|
(svn r12085) -Fix(r12058): Road vehicles could get stuck, when NPF told them to reverse on junction tiles. (spotted by SmatZ)
|
17 years ago |
glx
|
7ce12e50da
|
(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
|
17 years ago |
smatz
|
881b74e882
|
(svn r11962) -Cleanup: OPF is no longer used to update signals
|
17 years ago |
smatz
|
dfb91c26ec
|
(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
|
17 years ago |
smatz
|
fc2895e8c2
|
(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places
|
17 years ago |
rubidium
|
736640fd87
|
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
17 years ago |
rubidium
|
9c0c798dd8
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |
rubidium
|
90acd52f22
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
17 years ago |
peter1138
|
0f7392bd61
|
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
17 years ago |
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
2d2e1e3863
|
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
|
17 years ago |
rubidium
|
0365c1f33b
|
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
|
17 years ago |
peter1138
|
0ae26a0312
|
(svn r11789) -Codechange: coding style for global variable names
|
17 years ago |
rubidium
|
64d691bacc
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
17 years ago |
rubidium
|
e2f7ec1d3e
|
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
|
17 years ago |
rubidium
|
444e77d8bc
|
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
|
17 years ago |
rubidium
|
445a733eb6
|
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
|
17 years ago |
smatz
|
c10d3da133
|
(svn r11707) -Fix: do not allow refitting flooded (destroyed) vehicles
|
17 years ago |
rubidium
|
722613f7f3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |
rubidium
|
db73addb43
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
17 years ago |
rubidium
|
f82aeb82c5
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
|
17 years ago |
rubidium
|
81bf9f8503
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
17 years ago |
rubidium
|
3074bca136
|
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
|
17 years ago |
rubidium
|
766551b0bc
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
17 years ago |
rubidium
|
8427b8bad2
|
(svn r11675) -Codechange: split the string types from the string functions.
|
17 years ago |
rubidium
|
be923601bf
|
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
|
17 years ago |
rubidium
|
b6bc3aa698
|
(svn r11605) -Fix [FS#1482, FS#1523]: wrong count of Kirby trains when a ship was build.
|
17 years ago |
skidd13
|
f92f3aec06
|
(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style
|
17 years ago |
skidd13
|
3ae50673a3
|
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
|
17 years ago |
skidd13
|
6801cceda1
|
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
|
17 years ago |
skidd13
|
c0a2c0c23e
|
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
|
17 years ago |
rubidium
|
fd14bd68f7
|
(svn r11365) -Fix [FS#1288]: when stopping a ship or aircraft, set their speed to 0 so they won't continue at the speed where they were stopped at.
|
17 years ago |
rubidium
|
b4e7203b0a
|
(svn r11332) -Fix: vehicles getting a value of 0 on construction.
-Fix: assertion when selling vehicles.
|
17 years ago |
rubidium
|
2e8f93a821
|
(svn r11229) -Fix [FS#1307]: one could sell vehicles that were crashed in a depot, which would still yield money.
|
17 years ago |
rubidium
|
a28b307c95
|
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
|
17 years ago |
rubidium
|
634aba16a7
|
(svn r11072) -Fix [FS#1045]: when a vehicle had a service order, the goto-depot button did not make it possible to stop the vehicle at that depot.
|
17 years ago |
rubidium
|
cadc470da5
|
(svn r11017) -Codechange: unify determining whether a vehicle needs/can be service a little more.
|
17 years ago |
rubidium
|
c2dcccae16
|
(svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot.
|
17 years ago |
bjarni
|
495bc4ecf4
|
(svn r10823) -Fix r8610 [FS#1097]: the autoreplace window vehicle count didn't always update correctly) (Matthias)
|
17 years ago |
rubidium
|
b21f29c38f
|
(svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.
-Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
|
17 years ago |
rubidium
|
a67957866a
|
(svn r10697) -Codechange: give a more sensible names to some of the unkX variables.
|
17 years ago |
rubidium
|
df009178d4
|
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
|
17 years ago |
rubidium
|
ec137f60ed
|
(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
|
17 years ago |
rubidium
|
c0e341ee05
|
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
|
17 years ago |
peter1138
|
85fb4eb94b
|
(svn r10363) -Fix [FS#911]: invalidating autoreplace windows didn't take account of vehicle group (Matthias Wolf)
|
17 years ago |
maedhros
|
9fce70ac21
|
(svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable.
|
17 years ago |
rubidium
|
fc201d4ad8
|
(svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
|
17 years ago |
maedhros
|
7fb6e8f11d
|
(svn r10236) -Feature: Introduce a form of timetabling for vehicles.
|
17 years ago |
rubidium
|
23727da96f
|
(svn r10208) -Codechange: replace int32 with Money where appropriate.
|
17 years ago |
rubidium
|
773a7c9cb6
|
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
|
17 years ago |
rubidium
|
3ccc83e640
|
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
|
17 years ago |
rubidium
|
5eda486f93
|
(svn r10131) -Fix [FS#810]: when removing a dock, a ship will always try to reach the old location of the dock even when it cannot anymore because it the old location of the dock is now land instead of water.
|
17 years ago |
rubidium
|
821e58ac95
|
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
|
17 years ago |
rubidium
|
fcb5e74fbb
|
(svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing.
|
17 years ago |
peter1138
|
e16ea9b758
|
(svn r9828) -Codechange: [NewGRF] Add support for changing cargo capacity with callback 36. This is set on construction for ships and roadvehicles, and whenever carriages are attached for trains.
|
17 years ago |
peter1138
|
4cfef9b7f5
|
(svn r9809) -Codechange: [NewGRF] Add callback 36 properties to purchase lists and add running cost changing for ships.
|
17 years ago |
rubidium
|
a84ca16dc4
|
(svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions.
|
17 years ago |
rubidium
|
2813b4440b
|
(svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station.
|
17 years ago |
peter1138
|
ebe81b98ce
|
(svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, for all vehicle types.
|
17 years ago |
rubidium
|
9a893ebe20
|
(svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
|
17 years ago |
rubidium
|
cc9d811f53
|
(svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station.
|
17 years ago |
rubidium
|
5a46c763f0
|
(svn r9760) -Codechange: remove the need for saving some vehicle variables.
|
17 years ago |
rubidium
|
df59f5cd15
|
(svn r9755) -Codechange: refactor some more of the begin loading stuff.
|
17 years ago |
rubidium
|
0def47a3b0
|
(svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches.
|
17 years ago |
rubidium
|
dba21ab802
|
(svn r9752) -Codechange: remove some duplication related to BeginLoading.
|
17 years ago |
maedhros
|
8acc58b731
|
(svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, hopefully for good this time.
|
17 years ago |
maedhros
|
aaa917d56d
|
(svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station is sent to a depot.
|
17 years ago |
rubidium
|
7577954ced
|
(svn r9672) -Cleanup: lots of coding style fixes around operands.
|
17 years ago |
peter1138
|
0d32783f87
|
(svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
|
17 years ago |
maedhros
|
3d81de8d7e
|
(svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
|
17 years ago |
belugas
|
6a86e75870
|
(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
|
17 years ago |
maedhros
|
00d828e738
|
(svn r9543) -Fix [FS#691]: Split up STR_ENGINE_NOT_BUILDABLE into four strings so it can be
translated properly and remove "buildable", since it isn't actually a word.
|
18 years ago |
belugas
|
691f8578fd
|
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
|
18 years ago |
peter1138
|
70e32d663a
|
(svn r9259) -Codechange: NUM_CARGO isn't a valid cargo type...
|
18 years ago |
bjarni
|
0ad237611e
|
(svn r9072) -Codechange: [Orders] added methods to orders to free them and check if they are in use
|
18 years ago |
rubidium
|
36cea84b11
|
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
|
18 years ago |
rubidium
|
979ccd45ba
|
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
|
18 years ago |
rubidium
|
4169bfba06
|
(svn r9050) -Codechange: Foo(void) -> Foo()
|
18 years ago |
maedhros
|
78c3edcbb1
|
(svn r8946) -Feature: [NewGRF] Add support for vehicle variables 0xFE and 0xFF bit 10,
which is set when a vehicle was built during the exclusive testing phase.
|
18 years ago |
maedhros
|
2f557f7dc0
|
(svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can be used for more than just the gradual loading status.
|
18 years ago |
tron
|
05c6e8f883
|
(svn r8897) -Fix
Change the signature of GetNewVehiclePos():
-void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp);
+GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
|
18 years ago |