J0anJosep
|
419ca91e59
|
Add: Reservation and penalties for extended depots.
|
2024-07-09 21:07:51 +02:00 |
Juanjo
|
30a62aa2b5
|
Add: Add IsAnyDepotTileReserved.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
fe1b0f1204
|
Change: Rename end segment reason for general platforms.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
7ab28f6045
|
Add: Code dealing with extended rail depot platforms.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
4854685bec
|
Codechange: Move platform related code to separate files.
|
2024-07-09 21:07:51 +02:00 |
Juanjo
|
f161a138b9
|
Add: New depot direction picker for extended rail depots.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
394c5050b2
|
Feature: Allow building extended train depots and fix their sprites.
|
2024-07-09 21:07:51 +02:00 |
Juanjo
|
dbd895ee6a
|
Change: Transparent depots show all rail track.
|
2024-07-09 21:07:51 +02:00 |
Juanjo
|
8488abaf2f
|
Add: Add IsStandard and IsExtendedRailDepotTile map functions.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
2654cfeae7
|
Add: Add the widget for rail depots.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
afcbba8d6b
|
Add: Do not try to cross an extended depot that has a ship inside.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
275c141bf4
|
Change: Adapt commands for buying and replacing ships in extended depots.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
3364b1965b
|
Add: Set reservation of extended ship depots and prepare for setting it for road and train depots.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
6f20beb49a
|
Codechange: Reorder code in autoreplace vehicles.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
8a9a627577
|
Change: Adapt how ships enter and leave extended depots.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
3715dcf2d7
|
Feature: Show servicing vehicles in extended depots on viewport and on vehicle window.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
9869611ad8
|
Change: Ships enter depots when they are in the middle of the two depot tiles (not in the center of a tile).
# Conflicts:
# src/ship_cmd.cpp
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
e91483c588
|
Change: Get a better depot when close to destination tile of depots.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
01ac0e653f
|
Feature: Allow building extended ship depots.
|
2024-07-09 21:07:51 +02:00 |
Juanjo
|
ea9ac51812
|
Change: Adapt GetVehicleTrackdir() for ships.
|
2024-07-09 21:07:51 +02:00 |
Juanjo
|
f713a3525d
|
Change: Adapt IsInDepot() for ships.
|
2024-07-09 21:07:51 +02:00 |
Juanjo
|
037d8c6149
|
Add: Add two "tracks": depot and wormhole.
|
2024-07-09 21:07:51 +02:00 |
Juanjo
|
d5306c9e55
|
Add: Add a function to check if a window has a certain widget.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
ece7f8401f
|
Change: Add a wait counter for all vehicle types.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
08f4ae4b3d
|
Add: Add and adapt some functions for extended depots.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
2ddb3bf2d7
|
Add: Add settings for building new types of depots.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
408732d25b
|
Feature: Road depots may have a road and tram type at the same time.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
cf955bc24b
|
Add: Draw roadbits in road depots.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
63afc96d2a
|
Feature: Show depot signs of removed depots. (based on patch by adf88, #6328, #5071)
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
6bdf50ca02
|
Feature: Try to reuse a removed depot when placing a new one. (based on patch by adf88, #6328, #7051)
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
2ff99e2377
|
Change: Keep removed depots in the pool for a while. (based on patch by adf, #6328, #7051)
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
224b2343f0
|
Codechange: Fix some CodeQL alerts.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
ced241ed87
|
Feature: Allow vehicle replacements even if new road or rail type is not compatible.
|
2024-07-09 21:07:51 +02:00 |
J0anJosep
|
b5e04974be
|
Change: Add additional rules for placing trains in depots according to railtypes.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
8d5eca7097
|
Change: Adapt some functions that located the depot with its tile.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
7017fcc676
|
Add: Adapt pathfinding in YAPF and NPF for depots.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
438d272cd1
|
Add: Allow removing company rail depots in an area.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
9f916f31c7
|
Feature: Allow building depots by drag and drop and joining them if they have the same transport type.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
914cc0fe96
|
Add: Add new viewport place methods for rectangles with one side with a fixed length.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
c46660d929
|
Feature: Highlight tiles of a depot and adjacent depot tiles when building.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
791124f058
|
Feature: Add a window for joining depots.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
c6e69c03c9
|
Add: Settings for controlling depot spread.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
cec541ac2c
|
Change: BuildDepotVehicleList through a DepotId instead of a TileIndex.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
c405a59bbc
|
Prepare: Add some members to depot struct.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
76039ae2c1
|
Codechange: Use bit alignment for detecting road, rail and water depots.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
a3d9165eb9
|
Change: Change rail depot type value in order to align bits.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
3e9b7f19cb
|
Codechange: Add and use GetWaterTileClass.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
cf2a12dfc4
|
Change: Move some bits in water tiles for alignment purposes.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
98539782c4
|
Change: OrderBackups are indexed through DepotID instead of TileIndex.
|
2024-07-09 21:07:50 +02:00 |
J0anJosep
|
742f1de7b4
|
Change: Set DepotID related window numbers to WC_BUILD_VEHICLE windows.
|
2024-07-09 21:07:50 +02:00 |