rubidium
|
32cdc157ee
|
(svn r19091) -Cleanup: remove some unneeded zeroing
|
2010-02-10 21:28:26 +00:00 |
|
rubidium
|
f94c83a387
|
(svn r18872) -Codechange: introduce PaletteID and use it
|
2010-01-21 01:38:13 +00:00 |
|
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
|
rubidium
|
f2785ae24d
|
(svn r18574) -Fix [FS#3392] (r18481): manually sending trains and RVs to depots didn't quite work
|
2009-12-20 16:19:47 +00:00 |
|
rubidium
|
472e5501fa
|
(svn r18481) -Codechange: unify the curve pathfinder penalty defaults; 0.01 tile won't make a dent, 3 tiles might be a bit too much
-Feature-ish: make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties.
|
2009-12-13 10:48:44 +00:00 |
|
rubidium
|
c10e953141
|
(svn r18373) -Codechange: unify some road pathfinder functions
|
2009-12-02 10:44:38 +00:00 |
|
rubidium
|
ef8cc49175
|
(svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders
|
2009-12-02 09:31:38 +00:00 |
|
rubidium
|
76fe20cdcc
|
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
|
2009-12-01 23:56:04 +00:00 |
|
rubidium
|
291f6490c6
|
(svn r18366) -Codechange: move the OPF ship pathfinder 'magic' that was in ship_cmd.cpp to the pathfinder code itself
|
2009-12-01 23:22:41 +00:00 |
|
rubidium
|
5d7af2561f
|
(svn r18365) -Cleanup: remove duplicate table
|
2009-12-01 23:19:46 +00:00 |
|
rubidium
|
f52e27c688
|
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
|
2009-12-01 22:45:39 +00:00 |
|
rubidium
|
3a83eab967
|
(svn r18362) -Cleanup: remove OPF for RVs and NTP to clean up lots of code and simplify some things for the future
|
2009-12-01 22:18:51 +00:00 |
|
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.
|
2009-11-24 13:15:58 +00:00 |
|
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.
|
2009-11-24 13:12:34 +00:00 |
|
rubidium
|
bae066ecaf
|
(svn r18123) -Codechange: try our best to keep the vehicles within the build vehicle list/autoreplace lists instead of overflowing.
|
2009-11-16 17:58:46 +00:00 |
|
rubidium
|
1c5a92ae98
|
(svn r18121) -Codechange: pass the maximum left/right location to the Draw*Engine functions
|
2009-11-16 17:15:42 +00:00 |
|
frosch
|
ba1fc280e3
|
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
|
2009-11-07 22:47:54 +00:00 |
|
frosch
|
00aca63b48
|
(svn r17899) -Codechange: Deduplicate code for refitting vehicles.
|
2009-10-28 21:09:37 +00:00 |
|
frosch
|
83894809d0
|
(svn r17897) -Fix [FS#3255]: CB15 and CB36 (capacity) were not always called when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
|
2009-10-28 18:31:16 +00:00 |
|
frosch
|
334b809644
|
(svn r17894) -Fix: Invalidate cache of vehicle vars 40-43 after testruns of certain commands, that change them temporarily.
|
2009-10-27 20:37:55 +00:00 |
|
frosch
|
f3aacb8fe3
|
(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when a Engine * is already present.
|
2009-10-06 19:17:07 +00:00 |
|
frosch
|
b243f6ca97
|
(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation.
|
2009-10-04 20:33:18 +00:00 |
|
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
|
frosch
|
e261d8d9a0
|
(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work.
|
2009-09-22 19:28:57 +00:00 |
|
frosch
|
7fa4d576ca
|
(svn r17594) -Fix: Vehicle image was not always updated when needed.
|
2009-09-20 19:36:27 +00:00 |
|
rubidium
|
04d5b67eb6
|
(svn r17567) -Fix: some doxygen warnings
|
2009-09-18 14:23:58 +00:00 |
|
rubidium
|
64bafcbe18
|
(svn r17534) -Codechange: unify the naming of callback masks/flags
|
2009-09-14 12:22:57 +00:00 |
|
frosch
|
ebd916be3d
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
2009-09-13 19:15:59 +00:00 |
|
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
frosch
|
efcaefd178
|
(svn r17121) -Fix [FS#3060]: Update vehicle position cache when the vehicle sprite changes.
|
2009-08-08 18:45:12 +00:00 |
|
smatz
|
adcc5338f3
|
(svn r17085) -Codechange: unify the place where vehicle's cargo ages
|
2009-08-06 12:44:10 +00:00 |
|
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
2009-08-05 17:59:21 +00:00 |
|
rubidium
|
3b8d0621a2
|
(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too
|
2009-07-10 18:30:02 +00:00 |
|
yexo
|
44c15e4196
|
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
|
2009-06-24 21:33:11 +00:00 |
|
smatz
|
05c695a647
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
2009-06-24 19:26:41 +00:00 |
|
smatz
|
8343340acb
|
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
|
2009-06-24 17:39:54 +00:00 |
|
rubidium
|
512b021e26
|
(svn r16581) -Codechange: unify the access to Engine::lifelength.
|
2009-06-16 13:52:18 +00:00 |
|
rubidium
|
4b05617c42
|
(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.
|
2009-06-16 13:31:06 +00:00 |
|
frosch
|
0d782b0f96
|
(svn r16498) -Codechange: Remove hardly used HASBITS.
|
2009-06-01 15:01:54 +00:00 |
|
frosch
|
9853c0dc22
|
(svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more vehicles in more places. Esp. they were only invalidated for trains.
|
2009-05-31 12:03:14 +00:00 |
|
smatz
|
5a463c8347
|
(svn r16442) -Codechange: use new Vehicle accessors at more places
|
2009-05-26 22:45:48 +00:00 |
|
yexo
|
0d56cfabfa
|
(svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them.
|
2009-05-26 21:59:49 +00:00 |
|
rubidium
|
984bd3b98d
|
(svn r16427) -Codechange: replace a few magic numbers with an existing constant and unduplicate a few lines.
|
2009-05-26 08:53:16 +00:00 |
|
frosch
|
a4557c7da4
|
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
|
2009-05-24 16:52:42 +00:00 |
|
rubidium
|
6d1c974254
|
(svn r16384) -Codechange: move u.effect to EffectVehicle
|
2009-05-22 18:56:25 +00:00 |
|
rubidium
|
441011b782
|
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
|
2009-05-22 18:17:20 +00:00 |
|
smatz
|
b687ac51ee
|
(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted
|
2009-05-22 13:53:14 +00:00 |
|
smatz
|
8808f3beea
|
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
|
2009-05-18 16:21:28 +00:00 |
|
smatz
|
871107f529
|
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
|
2009-05-17 01:00:56 +00:00 |
|
smatz
|
6221d74644
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
2009-05-16 23:34:14 +00:00 |
|