terkhen
|
39e5c7e526
|
(svn r20143) -Codechange: Remove RecalcShipStuff function.
|
14 years ago |
frosch
|
35f4b4155e
|
(svn r20079) -Codechange [FS#3922]: Add helper functions to deal with the 192-256-magic of vehicle movement.
|
14 years ago |
terkhen
|
b3d347f6c9
|
(svn r19961) -Codechange: Unify "vehicle is destroyed" errors.
|
15 years ago |
smatz
|
27949d219d
|
(svn r19756) -Codechange: move UpdateViewport() from Vehicle to SpecializedVehicle in order to improve performance
|
15 years ago |
frosch
|
0d6a432b4c
|
(svn r19621) -Codechange: Remove direct usage of magic 'p1's in build vehicle commands.
|
15 years ago |
alberth
|
72d62fd6fc
|
(svn r19494) -Codechange: Remove _error_message.
|
15 years ago |
alberth
|
d5fe3f96c7
|
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
|
15 years ago |
rubidium
|
b0a1ecf160
|
(svn r19091) -Cleanup: remove some unneeded zeroing
|
15 years ago |
rubidium
|
7127338414
|
(svn r18872) -Codechange: introduce PaletteID and use it
|
15 years ago |
rubidium
|
9467b7c6d6
|
(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
|
9d5a91ed07
|
(svn r18574) -Fix [FS#3392] (r18481): manually sending trains and RVs to depots didn't quite work
|
15 years ago |
rubidium
|
899b3db66b
|
(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.
|
15 years ago |
rubidium
|
3eaf87992e
|
(svn r18373) -Codechange: unify some road pathfinder functions
|
15 years ago |
rubidium
|
ec68bd67e3
|
(svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders
|
15 years ago |
rubidium
|
2341c2e283
|
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
|
15 years ago |
rubidium
|
d63429af1e
|
(svn r18366) -Codechange: move the OPF ship pathfinder 'magic' that was in ship_cmd.cpp to the pathfinder code itself
|
15 years ago |
rubidium
|
47fb92b986
|
(svn r18365) -Cleanup: remove duplicate table
|
15 years ago |
rubidium
|
2f3053508d
|
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
|
15 years ago |
rubidium
|
cbb87c41d5
|
(svn r18362) -Cleanup: remove OPF for RVs and NTP to clean up lots of code and simplify some things for the future
|
15 years ago |
frosch
|
f60a437d36
|
(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
|
fe65c7f833
|
(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 |
rubidium
|
d4774a2ce9
|
(svn r18123) -Codechange: try our best to keep the vehicles within the build vehicle list/autoreplace lists instead of overflowing.
|
15 years ago |
rubidium
|
ddafe77904
|
(svn r18121) -Codechange: pass the maximum left/right location to the Draw*Engine functions
|
15 years ago |
frosch
|
040404c5d3
|
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
|
15 years ago |
frosch
|
020c53fc7e
|
(svn r17899) -Codechange: Deduplicate code for refitting vehicles.
|
15 years ago |
frosch
|
23980e6486
|
(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.
|
15 years ago |
frosch
|
61fbba4dc1
|
(svn r17894) -Fix: Invalidate cache of vehicle vars 40-43 after testruns of certain commands, that change them temporarily.
|
15 years ago |
frosch
|
4cb5a3e8a2
|
(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when a Engine * is already present.
|
15 years ago |
frosch
|
2adc2f4324
|
(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation.
|
15 years ago |
rubidium
|
982b8ee5fc
|
(svn r17693) -Cleanup: remove some unneeded includes
|
15 years ago |
frosch
|
b6156da5e9
|
(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work.
|
15 years ago |
frosch
|
1192ed4c2d
|
(svn r17594) -Fix: Vehicle image was not always updated when needed.
|
15 years ago |
rubidium
|
06e490fadc
|
(svn r17567) -Fix: some doxygen warnings
|
15 years ago |
rubidium
|
c2c0f4403e
|
(svn r17534) -Codechange: unify the naming of callback masks/flags
|
15 years ago |
frosch
|
0e36260337
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
15 years ago |
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
frosch
|
32a47df09a
|
(svn r17121) -Fix [FS#3060]: Update vehicle position cache when the vehicle sprite changes.
|
15 years ago |
smatz
|
096aca2479
|
(svn r17085) -Codechange: unify the place where vehicle's cargo ages
|
15 years ago |
rubidium
|
d61be2637e
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
15 years ago |
rubidium
|
026f3c8feb
|
(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too
|
15 years ago |
yexo
|
b00726a5d2
|
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
|
15 years ago |
smatz
|
a9602401f0
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
15 years ago |
smatz
|
f6a4d61cca
|
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
|
15 years ago |
rubidium
|
8ca2ccc456
|
(svn r16581) -Codechange: unify the access to Engine::lifelength.
|
16 years ago |
rubidium
|
ee96d737b2
|
(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.
|
16 years ago |
frosch
|
c9eac207ea
|
(svn r16498) -Codechange: Remove hardly used HASBITS.
|
16 years ago |
frosch
|
6e06b592ad
|
(svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more vehicles in more places. Esp. they were only invalidated for trains.
|
16 years ago |
smatz
|
e419fe6d3f
|
(svn r16442) -Codechange: use new Vehicle accessors at more places
|
16 years ago |
yexo
|
f044ad6f80
|
(svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them.
|
16 years ago |
rubidium
|
82cdacb20c
|
(svn r16427) -Codechange: replace a few magic numbers with an existing constant and unduplicate a few lines.
|
16 years ago |