Henry Wilson
|
a0f36a50e6
|
Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()
|
2019-03-26 20:15:57 +00:00 |
Henry Wilson
|
5795f66d2e
|
Codechange: Replaced SmallVector::Contains() with std::find() pattern
|
2019-03-26 20:15:57 +00:00 |
Henry Wilson
|
a690936ed7
|
Codechange: Replace SmallVector::Length() with std::vector::size()
|
2019-03-26 20:15:57 +00:00 |
Henry Wilson
|
bfd79e59dc
|
Codechange: Replace SmallVector::Clear() with std::vector::clear()
|
2019-03-26 20:15:57 +00:00 |
peter1138
|
e6bb90543e
|
Change: Show additional cost and refitted capacity in build vehicle window.
|
2019-03-24 15:28:48 +00:00 |
peter1138
|
d54b6ac09b
|
Feature: When filtering purchase list by cargo type, make buy button perform a refit if required.
|
2019-03-24 15:28:48 +00:00 |
PeterN
|
d242875d27
|
Fix #7197: Invalidate depot buttons when necessary. (#7212)
|
2019-02-10 08:43:54 +00:00 |
Peter Nelson
|
48fb575502
|
Fix 11ab3c4ea2f: Vehicles could not be refitted to cargo IDs higher than 32.
|
2019-01-29 17:57:28 +00:00 |
Niels Martin Hansen
|
c84b9913bd
|
Fix #6676: Prevent helicopters from stopping in midair during some kinds of landing
This adds a new flag that gets stored in the savegame, but it should still be compatible both ways, hence no save version bump.
|
2018-11-25 00:47:34 +01:00 |
Charles Pigott
|
f5b1115039
|
Doc: Lots and lots of doxymentation fixes
|
2018-10-31 12:35:54 +01:00 |
Joan Josep
|
944f785be8
|
Fix: Spelling errors (#6769)
|
2018-04-30 18:52:32 +02:00 |
frosch
|
476b2b0e8c
|
(svn r27677) -Codechange: Remove implicit VehicleListIdentifier from uint32 constructor, to make conversions more explicit.
|
2016-11-05 19:16:59 +00:00 |
frosch
|
0974f5489b
|
(svn r27428) -Fix: When selecting a refit cargo for orders, do not check whether the vehicle is in a depot or station, and do not ask whether the vehicle currently allows station-refitting. Also hide the refit cost for orders, it is not predictable.
|
2015-10-30 17:27:21 +00:00 |
rubidium
|
9ed12b0f07
|
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
|
2014-04-25 15:40:32 +00:00 |
rubidium
|
0463dbdc9e
|
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
2014-04-23 20:13:33 +00:00 |
frosch
|
41b7a04a68
|
(svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity when they are not supposed to, and truncate cargo appropiately if they are allowed to.
|
2014-02-07 23:48:56 +00:00 |
zuu
|
cef1c47f18
|
(svn r25865) -Codechange: Refactor detecting of depot vehicle type of a tile to a new function, GetDepotVehicleType (cirdan, LordAro)
|
2013-10-13 20:11:05 +00:00 |
frosch
|
fbe6b92b1d
|
(svn r25698) -Fix [FS#5700]: Autoreplace/renew also refits free wagons.
|
2013-08-06 21:01:14 +00:00 |
frosch
|
5bda07c10c
|
(svn r25648) -Change [FS#5669]: [NewGRF] Invalidate vehicle recolour palette during (un)loading.
|
2013-08-04 14:02:27 +00:00 |
rubidium
|
3947453277
|
(svn r25259) -Codechange: track capacities and usage of links
|
2013-05-19 14:22:04 +00:00 |
frosch
|
205543f727
|
(svn r25040) -Add: a mode to CmdRefitVehicle to preserve the current subtype, also when refitting multiple vehicles.
|
2013-02-24 16:40:32 +00:00 |
rubidium
|
2795ed5b09
|
(svn r25008) -Codechange: Make CargoList::Truncate behave similarly to CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
|
2013-02-17 14:10:15 +00:00 |
rubidium
|
ced17303c2
|
(svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag appropriately on creation (peter1138)
|
2013-02-14 17:24:55 +00:00 |
rubidium
|
369a6f9d1b
|
(svn r24995) -Codechange: Add flags to vehicle service interval for custom & ispercent (peter1138)
|
2013-02-14 17:06:49 +00:00 |
rubidium
|
c77cd1f409
|
(svn r24994) -Codechange: Replace access to service_interval with accessors (peter1138)
|
2013-02-14 17:04:01 +00:00 |
frosch
|
6018a0190e
|
(svn r24567) -Fix [FS#5261]: Non-train vehicle lists were not resorted when vehicles were renamed. (Juanjo)
|
2012-10-01 19:38:57 +00:00 |
frosch
|
08a8c3a773
|
(svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
|
2012-07-07 15:39:46 +00:00 |
frosch
|
22632d5e9a
|
(svn r24382) -Fix: Call Vehicle::IsStoppedInDepot only for the first vehicle in a chain (i.e. primary vehicle or free wagon).
|
2012-07-07 15:35:28 +00:00 |
frosch
|
6dc33ed4b5
|
(svn r23848) -Fix: Even if A == B, A can make more sense than B.
|
2012-01-24 22:30:57 +00:00 |
rubidium
|
1a0fe0e8c6
|
(svn r23783) -Cleanup: remove ancient but not needed command flag
|
2012-01-09 22:21:45 +00:00 |
frosch
|
00ec5da361
|
(svn r23745) -Fix (r23087): If autorefit fails, count the vehicle capacity nevertheless, if it is already carrying the right thing.
|
2012-01-03 23:08:15 +00:00 |
frosch
|
f5ebbc96e9
|
(svn r23743) -Fix [FS#4906]: Call CB 15E for all vehicles before actually executing any refit.
|
2012-01-03 22:04:12 +00:00 |
rubidium
|
6d6be50ae0
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
2012-01-03 21:32:51 +00:00 |
frosch
|
fba9c756c7
|
(svn r23581) -Fix (r23518) [FS#4890]: Cloning of vehicles crashed.
|
2011-12-17 21:22:10 +00:00 |
rubidium
|
4de1f3be88
|
(svn r23540) -Codechange: unify and document vehicle widgets
|
2011-12-16 16:58:55 +00:00 |
michi_cc
|
caebb5ac63
|
(svn r23518) -Fix (r23124): [NewGRF] The refit cost callback wasn't called if only the subtype differed.
|
2011-12-14 22:38:15 +00:00 |
michi_cc
|
def8e7215b
|
(svn r23504) -Feature: Aircraft range.
|
2011-12-13 00:43:35 +00:00 |
frosch
|
2fe8e89a45
|
(svn r23487) -Change/Fix: Make autoreplace, autorenew, cloning and autorefit check all articulated parts of a vehicle to find a shared cargo subtype.
|
2011-12-10 21:09:21 +00:00 |
frosch
|
026317bb44
|
(svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity().
|
2011-11-09 16:38:50 +00:00 |
frosch
|
d8f8909f85
|
(svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts.
|
2011-11-08 17:24:43 +00:00 |
michi_cc
|
a58b975fd0
|
(svn r23127) -Fix [FS#4819] (r23086): Don't crash when refitting default vehicles.
|
2011-11-06 22:14:55 +00:00 |
michi_cc
|
1b66101bd3
|
(svn r23124) -Change: [NewGRF] Interpret the result of the refit cost callback as a signed value.
|
2011-11-06 15:33:23 +00:00 |
michi_cc
|
a3e6e113fe
|
(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting.
|
2011-11-04 15:04:29 +00:00 |
michi_cc
|
f200ffa90c
|
(svn r23087) -Feature: Auto-refitting of vehicles during loading at a station when the vehicle allows it.
|
2011-11-04 00:38:51 +00:00 |
michi_cc
|
b9841bba81
|
(svn r23086) -Feature: [NewGRF] Callback to change refit cost depending on old and new cargo type.
|
2011-11-04 00:35:05 +00:00 |
frosch
|
acc3c75951
|
(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code.
|
2011-11-01 00:23:41 +00:00 |
frosch
|
72cd855978
|
(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.
|
2011-11-01 00:21:08 +00:00 |
frosch
|
d071eefc54
|
(svn r22985) -Feature: Display autoreplace status in group GUI.
|
2011-10-03 17:26:37 +00:00 |
frosch
|
dd74536bef
|
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
|
2011-10-03 17:23:41 +00:00 |
frosch
|
5be8f73204
|
(svn r22980) -Add: GroupStatistics for DEFAULT_GROUP.
|
2011-10-03 17:22:56 +00:00 |
rubidium
|
4836a6e50e
|
(svn r22845) -Fix [FS#4745]: perform stricter checks on some commands (monoid)
|
2011-08-26 16:39:02 +00:00 |
michi_cc
|
08b7981f37
|
(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.
|
2011-08-03 20:55:08 +00:00 |
peter1138
|
7b4620d66b
|
(svn r22337) -Fix: Overly specific error message
|
2011-04-17 17:28:33 +00:00 |
rubidium
|
1d0d7635e0
|
(svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled...
|
2011-02-07 22:49:38 +00:00 |
frosch
|
f48838ef3f
|
(svn r21926) -Fix [FS#4450](r21924): v != w.
|
2011-01-29 23:42:40 +00:00 |
terkhen
|
734994c9ba
|
(svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
|
2011-01-29 17:30:25 +00:00 |
frosch
|
072f6d67ef
|
(svn r21904) -Fix: Include the capacity of non-refittable vehicles in the refitted-capacity, if their cargo matches.
|
2011-01-23 18:31:04 +00:00 |
frosch
|
9a1c0f139a
|
(svn r21902) -Fix: Do not count articulated parts when passing the number of vehicles to refit to the command. That may exceed 8 bits.
|
2011-01-23 14:58:54 +00:00 |
frosch
|
3f103c35a6
|
(svn r21901) -Codechange: Save some bits in p2 of CmdRefitVehicle.
|
2011-01-23 13:25:26 +00:00 |
terkhen
|
cfbbcf1597
|
(svn r21858) -Codechange: Give more similar names to ArticulatedPart functions.
|
2011-01-19 18:41:53 +00:00 |
terkhen
|
a1ff6859c5
|
(svn r21561) -Change: Allow to specify the number of vehicles to refit in the refit vehicle command.
|
2010-12-21 13:52:10 +00:00 |
terkhen
|
12c86a1391
|
(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.
|
2010-12-14 21:28:45 +00:00 |
rubidium
|
ea68039718
|
(svn r21416) -Codechange: limit vehicle name by amount of characters, not bytes
|
2010-12-05 22:25:49 +00:00 |
terkhen
|
c96cb9ce37
|
(svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers.
|
2010-11-16 20:56:04 +00:00 |
alberth
|
7e48d85104
|
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
|
2010-10-30 17:51:07 +00:00 |
yexo
|
3e64d01a63
|
(svn r20795) -Codechange: clarify code/documentation of the start/stop bit in CmdMassStartStopVehicle (Krille)
|
2010-09-13 12:14:22 +00:00 |
rubidium
|
4b605f51ab
|
(svn r20773) -Codechange: use packed VehicleListIdentifiers for some commands as well
|
2010-09-08 21:40:00 +00:00 |
rubidium
|
881c6c679f
|
(svn r20771) -Add: concept of vehicle list identifiers to identify a vehicle list instead of a string of parameters
|
2010-09-08 21:28:50 +00:00 |
rubidium
|
0e840f7360
|
(svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters
|
2010-09-08 21:14:41 +00:00 |
rubidium
|
ea4b40704b
|
(svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot
|
2010-09-08 21:02:12 +00:00 |
rubidium
|
9badab6454
|
(svn r20768) -Codechange: unify send-to-depot commands
|
2010-09-08 18:55:58 +00:00 |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
2010-08-26 22:01:16 +00:00 |
frosch
|
4b0fa883f1
|
(svn r20595) -Fix (r20536)[FS#4068]: Autoreplace needs refitting of wagons in free wagon chains.
|
2010-08-22 19:15:47 +00:00 |
rubidium
|
cc658392eb
|
(svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit
|
2010-08-19 20:45:29 +00:00 |
rubidium
|
646fbb628a
|
(svn r20572) -Codechange: free/reserve some bits in the wagon move command to increase the vehicle pool limit
|
2010-08-19 20:42:00 +00:00 |
rubidium
|
e89a0fb7f9
|
(svn r20571) -Codechange: free/reserve some bits in the order commands to increase the vehicle pool limit
|
2010-08-19 20:39:12 +00:00 |
yexo
|
85740a0283
|
(svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile
|
2010-08-19 13:44:41 +00:00 |
rubidium
|
926594b599
|
(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
|
2010-08-18 20:48:38 +00:00 |
rubidium
|
8118cab6ba
|
(svn r20537) -Codechange: make RefitVehicle a static (local) function
|
2010-08-18 00:48:22 +00:00 |
rubidium
|
c5a670037b
|
(svn r20536) -Codechange: unify the refitting of vehicles
|
2010-08-18 00:47:31 +00:00 |
yexo
|
eeca1846d6
|
(svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings
|
2010-08-18 00:30:12 +00:00 |
rubidium
|
9b8d7048da
|
(svn r20533) -Codechange: shuffle a bit with the bits in the sell command
|
2010-08-18 00:03:08 +00:00 |
rubidium
|
4780cc50b2
|
(svn r20532) -Codechange: unify selling of vehicles a bit
|
2010-08-17 23:55:22 +00:00 |
rubidium
|
c14853b72e
|
(svn r20531) -Codechange: unify quite a bit of the vehicle building commands
|
2010-08-17 23:15:55 +00:00 |
yexo
|
bf29e5d860
|
(svn r20530) -Cleanup (r13507): p2 bit 0 for CmdBUildRailVehicle is no longer valid so don't use it
|
2010-08-17 22:33:27 +00:00 |
rubidium
|
29b489a055
|
(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well
|
2010-08-10 15:54:53 +00:00 |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
2010-08-01 19:22:34 +00:00 |
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
2010-08-01 18:53:30 +00:00 |
terkhen
|
64e63b72e9
|
(svn r19964) -Add: Show an error message when trying to start a crashed or destroyed vehicle.
|
2010-06-11 20:33:33 +00:00 |
terkhen
|
5387d4d87c
|
(svn r19953) -Fix [FS#3874]: Don't show an error message when trying to start/stop a crashed plane.
|
2010-06-10 16:32:39 +00:00 |
smatz
|
e3c89df398
|
(svn r19714) -Feature: ctrl+click on a vehicle to start/stop it
|
2010-04-24 20:55:51 +00:00 |
frosch
|
2365a4dea0
|
(svn r19657) -Fix: Add saneness checks for front vehicles.
|
2010-04-17 14:55:49 +00:00 |
frosch
|
5ecf2f7f8c
|
(svn r19656) -Codechange/Fix: Report back if invalid vehicle lists are requested.
|
2010-04-17 14:47:56 +00:00 |
frosch
|
75d4bc947d
|
(svn r19654) -Codechange: Use Extract<> in more places.
|
2010-04-17 13:31:41 +00:00 |
peter1138
|
e188c5d87c
|
(svn r19498) -Feature [FS#3710]: Keep number padding intact when cloning vehicle names.
|
2010-03-21 11:35:41 +00:00 |
alberth
|
05d705e077
|
(svn r19494) -Codechange: Remove _error_message.
|
2010-03-20 17:58:24 +00:00 |
alberth
|
a901ab5392
|
(svn r19493) -Codechange: Keep track of last error in CmdDepotSellAllVehicles().
|
2010-03-20 17:22:15 +00:00 |
alberth
|
8b785ccb8a
|
(svn r19489) -Codechange: Introduce a had_success variable in SendAllVehiclesToDepot().
|
2010-03-20 17:10:14 +00:00 |
alberth
|
073f627930
|
(svn r19482) -Doc: Doxygen additions/updates.
|
2010-03-20 15:23:26 +00:00 |
alberth
|
7cc68f493d
|
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
|
2010-03-13 17:11:28 +00:00 |