Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
4d706f9
Codechange: Add a depot for each airport that has a hangar.
J0anJosep Feb 19, 2024
d2fd753
Codechange: Go to hangar orders store the DepotID instead of the Stat…
J0anJosep Aug 25, 2023
1c7b8db
Codechange: Set the DepotID as the window number of WC_VEHICLE_DEPOT …
J0anJosep Aug 25, 2023
60024e2
Codechange: Set DepotID related window numbers to WC_BUILD_VEHICLE wi…
J0anJosep Jul 16, 2024
742c78c
Codechange: OrderBackups are indexed through DepotID instead of TileI…
J0anJosep Aug 25, 2023
0a385dc
Prepare: Add some members to depot struct.
J0anJosep Jul 16, 2024
d23b05a
Codechange: BuildDepotVehicleList through a DepotId instead of a Tile…
J0anJosep Apr 22, 2023
2dea592
Add: Settings for controlling depot spread.
J0anJosep Jul 16, 2024
c616c14
Feature: Add a window for joining depots.
J0anJosep Aug 25, 2023
ba4573b
Feature: Highlight tiles of a depot and adjacent depot tiles when bui…
J0anJosep Aug 25, 2023
3eff38e
Add: Add new viewport place methods for rectangles with one side with…
J0anJosep Mar 31, 2021
db61c38
Feature: Allow building depots by drag and drop and joining them if t…
J0anJosep Apr 8, 2024
2ec7b8e
Add: Allow removing company rail depots in an area.
J0anJosep Aug 26, 2023
0b718d5
Add: Adapt pathfinding in YAPF and NPF for depots.
J0anJosep Mar 4, 2023
ef68449
Codechange: Adapt some functions that located the depot with its tile.
J0anJosep May 10, 2023
b171ab6
Codechange: Add additional rules for placing trains in depots accordi…
J0anJosep Apr 1, 2021
f68638a
Feature: Allow vehicle replacements even if new road or rail type is …
J0anJosep May 10, 2023
b749191
Change: Move some bits in water tiles for alignment purposes.
J0anJosep May 10, 2023
2ee7d28
Codechange: Add and use GetWaterTileClass.
J0anJosep Mar 27, 2021
cfbcd69
Change: Change rail depot type value in order to align bits.
J0anJosep May 10, 2023
21cd227
Codechange: Use bit alignment for detecting road, rail and water depots.
J0anJosep Dec 27, 2020
e27e733
Codechange: Fix some CodeQL alerts.
J0anJosep Aug 26, 2023
09b9f4b
Change: Keep removed depots in the pool for a while. (based on patch …
J0anJosep May 10, 2023
0262b65
Feature: Try to reuse a removed depot when placing a new one. (based …
J0anJosep Dec 6, 2021
05b8d6c
Feature: Show depot signs of removed depots. (based on patch by adf88…
J0anJosep May 10, 2023
126ad5a
Add: Draw roadbits in road depots.
J0anJosep Apr 2, 2021
d8f9bc3
Feature: Road depots may have a road and tram type at the same time.
J0anJosep Apr 2, 2021
1fda004
Add: Add settings for building new types of depots.
J0anJosep Aug 26, 2023
66cb1e7
Add: Add and adapt some functions for extended depots.
J0anJosep Mar 27, 2021
19e73d8
Change: Add a wait counter for all vehicle types.
J0anJosep Aug 26, 2023
b169aa5
Add: Add a function to check if a window has a certain widget.
J0anJosep Aug 23, 2014
a686644
Add: Add two "tracks": depot and wormhole.
J0anJosep Dec 27, 2013
6382cd2
Change: Adapt IsInDepot() for ships.
J0anJosep Dec 27, 2013
d6935e3
Change: Adapt GetVehicleTrackdir() for ships.
J0anJosep Dec 27, 2013
859c886
Feature: Allow building extended ship depots.
J0anJosep Aug 26, 2023
2c520ac
Change: Get a better depot when close to destination tile of depots.
J0anJosep Dec 23, 2020
8d748fd
Change: Ships enter depots when they are in the middle of the two dep…
J0anJosep May 10, 2023
862671b
Feature: Show servicing vehicles in extended depots on viewport and o…
J0anJosep Dec 23, 2020
c857602
Change: Adapt how ships enter and leave extended depots.
J0anJosep Dec 23, 2020
117f7fa
Codechange: Reorder code in autoreplace vehicles.
J0anJosep Jan 9, 2021
36159c0
Add: Set reservation of extended ship depots and prepare for setting …
J0anJosep Mar 29, 2021
ce16d0f
Change: Adapt commands for buying and replacing ships in extended dep…
J0anJosep Dec 24, 2020
ce5a004
Add: Do not try to cross an extended depot that has a ship inside.
J0anJosep Dec 25, 2020
d5f9960
Add: Add the widget for rail depots.
J0anJosep Aug 26, 2023
b77e1e3
Add: Add IsStandard and IsExtendedRailDepotTile map functions.
J0anJosep Sep 23, 2014
7fe99ba
Change: Transparent depots show all rail track.
J0anJosep Jan 4, 2014
bdc153a
Feature: Allow building extended train depots and fix their sprites.
J0anJosep Aug 26, 2023
8122484
Add: New depot direction picker for extended rail depots.
J0anJosep Jan 4, 2014
3dc62db
Codechange: Move platform related code to separate files.
J0anJosep Dec 23, 2020
322008b
Add: Code dealing with extended rail depot platforms.
J0anJosep Mar 20, 2021
a5986b3
Change: Rename end segment reason for general platforms.
J0anJosep Oct 2, 2021
3ad7a57
Add: Add IsAnyDepotTileReserved.
J0anJosep Aug 8, 2014
8312018
Add: Reservation and penalties for extended depots.
J0anJosep Dec 31, 2020
d94b72a
Add: Add vehicle entered depot platform flag.
J0anJosep Jan 12, 2014
189f4c6
Add: Use track depot for detecting trains in depots.
J0anJosep Dec 24, 2020
7f61e78
Change: Modify IsChainInDepot for ground vehicles.
J0anJosep Dec 24, 2020
39cbcc2
Add: Add a ShouldStopAtDepot function.
J0anJosep Jan 12, 2014
ec8e5c3
Change: Adapt VehicleEnter_Track and handle trains entering extended …
J0anJosep Apr 22, 2023
72d6344
Add: Check length of platforms for servicing trains.
J0anJosep Dec 27, 2020
e6deb8c
Change: Update signals for extended rail depots.
J0anJosep Dec 31, 2020
89c0a88
Change: Changes related with crashed trains in extended depots.
J0anJosep Dec 24, 2020
5b0e8d5
Add: Allow trains to reverse when leaving an extended depot.
J0anJosep Jan 16, 2021
ec1a98c
Add: Base files for placing trains in extended depots.
J0anJosep Mar 29, 2021
d7dcc73
Change: Check whether to stay in an extended rail depot or place the …
J0anJosep Apr 22, 2023
ce5ed5a
Change: Add the DC_AUTOREPLACE flag in missing places.
J0anJosep Aug 26, 2023
9b17aea
Change: Deal with autoreplacements in extended rail depots.
J0anJosep Apr 22, 2023
4ad42e8
Change: Flood trains inside a train depot platform.
J0anJosep Feb 21, 2021
7ea7f03
Add: Set reservation and penalties to improve pathfinding in extended…
J0anJosep Oct 2, 2021
c212ca4
Add: Set a darker background in depot window for trains that cannot l…
J0anJosep Mar 30, 2021
91d5290
Add: Add road depot platforms.
J0anJosep May 15, 2021
8feaa3f
Feature: Add construction of extended road depots.
J0anJosep Aug 26, 2023
6d844ac
Change: Adapt pathfinders for extended road depots.
J0anJosep Oct 2, 2021
c98234e
Codechange: Always return the first vehicle when looking for close ro…
J0anJosep Nov 13, 2021
13ee21d
Add: Hide stopped road vehicles in extended depots that block the pat…
J0anJosep Nov 13, 2021
4e6e1b3
Change: Buying and controlling road vehicles in extended road depots.
J0anJosep Aug 26, 2023
437c7e5
Change: This is a testing version, so make it difficult to load saveg…
J0anJosep Jun 16, 2021
5670c89
Doc: Changes in the landscape grid due to extended depots.
J0anJosep Jul 12, 2021
c6ec70d
Doc: Changes in the landscape grid by multi-tile airports.
J0anJosep Mar 6, 2021
b0d0844
Add: Add a new saveload version for multi-tile airports.
J0anJosep Aug 26, 2023
679616e
Doc: Add files describing how to calculate the total noise an airport…
J0anJosep Mar 6, 2021
4985d29
Remove: Do not show maintenance cost on the build airport window.
J0anJosep Mar 4, 2023
2cb485a
Add: Include air type definitions for airports.
J0anJosep Mar 6, 2021
a42a005
Add: Add airtype for each aircraft engine.
J0anJosep Aug 26, 2023
489989b
Add: Include sprites for airtypes.
J0anJosep Aug 25, 2023
cf5aadb
Add: Some strings related to new airports.
J0anJosep Aug 26, 2023
1c8bbb9
Add: Add the airtype to airports.
J0anJosep Apr 22, 2023
d197576
Add: Include airtypes (similar to railtypes) and the airport_cmd.cpp …
J0anJosep May 2, 2024
019e03f
Change: In order to build water airports, do not flood all airport on…
J0anJosep Mar 7, 2021
a9c778d
Add: Include the conversion of old airports into new tiled airports (…
J0anJosep Mar 7, 2021
02dcfb4
Change: Move declaration of airport fta for airports.
J0anJosep May 2, 2024
93ded7b
Prepare: Temporary destruction of all aircraft for working with airpo…
J0anJosep Aug 26, 2023
566336a
Add: Add a setting for last available/most used air type.
J0anJosep Aug 26, 2023
f8ac69b
Add: Add a setting for allowing customized airports.
J0anJosep Aug 26, 2023
2efba4a
Add: Add a setting for available hangar types.
J0anJosep Oct 24, 2021
a33ad55
Change: Rename some functions related to the heliport of oil rigs.
J0anJosep Jul 14, 2021
38578e4
Add: Include the air_map.h file.
J0anJosep May 2, 2024
a2d4aee
Add: Add the newgrf files for airtypes.
J0anJosep Aug 26, 2023
737d3c1
Codechange: Rename AirportTileSpec::Get to AirportTileSpec::GetAirpor…
J0anJosep Sep 30, 2023
4b63438
Add: AirportTileSpec::GetAirtypeTileSpec.
J0anJosep Oct 1, 2023
b6406bc
Change: Update old airport tile structure to a structure allowing mul…
J0anJosep May 2, 2024
9de7813
Change: Hangars must be dealt with newer functions, not using airport…
J0anJosep May 2, 2024
0cfa849
Change: Allow drawing "Selection sprites" from outside viewport.cpp.
J0anJosep Jul 14, 2021
206aa10
Change: Draw airtype sprites and fences. Also draw their tracks when …
J0anJosep Jul 17, 2021
0a8e50b
Add: Count airport tiles instead of airports.
J0anJosep Jul 14, 2021
20c5a70
Add: Include a function to check if an airport has a free hangar give…
J0anJosep Jul 14, 2021
1015a2c
Add: Use airport infrastructure to determine the catchment area of an…
J0anJosep Jul 17, 2021
d8444a8
Change: Add airport_cmd.cpp and move airport related commands there.
J0anJosep May 2, 2024
bea8522
Change: Count airport infrastructure by tiles with different air types.
J0anJosep Aug 26, 2023
d92acc9
Change: Mark all tiles dirty, even those of an airport having no catc…
J0anJosep May 1, 2024
84018ad
Add: Add the commands for building multi-tile airports. Deal with air…
J0anJosep May 2, 2024
8991267
Add: Airport gui additions.
J0anJosep May 2, 2024
91233c9
Add: Add new airport flags.
J0anJosep Aug 26, 2023
b2ef32d
Add: New airport type for customized airports. Set the airport type f…
J0anJosep Jun 12, 2016
fedcd08
Add: Show air type (gravel, asphalt...) and type of tile (terminal, h…
J0anJosep Dec 28, 2016
d0e4f77
Change: Use airport tracks in the GetTileTracks proc.
J0anJosep Mar 14, 2021
9b4ae67
Add: Create a follow_track template for Aircraft.
J0anJosep Mar 14, 2021
5d2aaa9
Add: Include the pbs_air basic routines.
J0anJosep Mar 14, 2021
69dee64
Change: Amend zeppelin disaster to new airports (zeppelin disaster ha…
J0anJosep Sep 7, 2021
a5795d3
Change: Rewrite AirportSpec.
J0anJosep May 2, 2024
2fd0aa6
Add: Improve conversions of NewGRF airports.
J0anJosep Oct 1, 2023
9bb09b6
Change: Replace old aircraft states and restruct aircraft code.
J0anJosep Aug 27, 2023
b76f9c8
Prepare: Remove/change some old code about aircraft and airports.
J0anJosep May 2, 2024
2908e7f
Change: Jetplane crashes on small airport cheat is currently unavaila…
J0anJosep Aug 27, 2023
c4c9b88
Add: Add a function to calculate the offset of two directions (their …
J0anJosep Mar 7, 2021
090ff9c
Add: Add a function for converting a trackdir to a direction.
J0anJosep Jan 5, 2022
6f39bcd
Add: Aircraft path choices cache.
J0anJosep May 19, 2024
65073bd
Add: Include yapf base files and modify follow_track for airports.
J0anJosep Mar 27, 2016
8d6e0d3
Change: Add support for moveable hangars.
J0anJosep Jul 8, 2017
eb225be
Add: Build aircraft engines list according to air types and airport i…
J0anJosep Feb 12, 2022
3e60f79
Change: Amend commands for buying or selling aircraft.
J0anJosep Sep 1, 2021
270c1d0
Codechange: Reorder functions in aircraft_cmd.cpp
J0anJosep Jan 5, 2022
e6761d1
Codechange: Change some function names and minor adaptations towards …
J0anJosep Aug 27, 2023
ac12eef
Add: Add script event and a string for vehicle message indicating air…
J0anJosep Jan 5, 2022
7fabf57
Change: Add station index to closestDepot.
J0anJosep Mar 10, 2024
6e96f15
Change: New aircraft controller.
J0anJosep May 2, 2024
ac28d01
Change: Deal with flooded airports and update aircraft state.
J0anJosep Jan 5, 2022
14333e3
Change: Redeploy aircraft from old savegames for the new aircraft con…
J0anJosep Sep 2, 2021
9a22aca
Add: Option for choosing airport track sprites.
J0anJosep Jun 12, 2024
d666cf6
Add: Draw climate aware airport sprites.
J0anJosep Jun 30, 2024
dbcc3fd
Add: Option for toggling the airport specific ground tile.
J0anJosep Jul 2, 2024
d3c5cab
Change: *Make a plane an a helicopter compatible with water airports …
J0anJosep Nov 28, 2021
9258700
Add: *Add two new layouts for the small airport class (including one …
J0anJosep May 2, 2024
41c81d2
Add: *Add two more experimental airtypes for testing purposes.
J0anJosep Jul 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ docs/gamedocs/*
docs/source/*
/out
/vcpkg_installed
/.cache
35 changes: 35 additions & 0 deletions docs/Airport noise.html

Large diffs are not rendered by default.

Binary file added docs/Airport noise.ods
Binary file not shown.
49 changes: 34 additions & 15 deletions docs/landscape.html
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ <h3><a name="Landscape">Landscape</a></h3>
<li>m2 bit 11: opposite track is reserved, too</li>
</ul>
</li>
<li>m5 bit 7 set, bit 6 set: railway depot
<li>m5 bit 7 set, bit 6 clear: railway depot
<ul>
<li>m2: Depot index</li>
<li>m5 bits 1..0: exit towards
Expand All @@ -547,6 +547,11 @@ <h3><a name="Landscape">Landscape</a></h3>
</table>
</li>
<li>m5 bit 4: pbs reservation state</li>
<li>m5 bit 5 clear: standard depot</li>
<li>m5 bit 5 set: extended depot
<ul>
<li>m4 bits 6..7: depot reservation state</li>
</ul>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -666,7 +671,7 @@ <h3><a name="Landscape">Landscape</a></h3>
<ul>
<li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> of the depot</li>
<li>m2: Depot index</li>
<li>m5 bits 1..0: exit towards:
<li>m6 bits 6..7: exit towards:
<table>
<tr>
<td><tt>0</tt>&nbsp; </td>
Expand All @@ -689,6 +694,15 @@ <h3><a name="Landscape">Landscape</a></h3>
</tr>
</table>
</li>
<li>m3 bits 0..3: road layout road type 1 (tram)</li>
<li>m5 bits 0..3: road layout road type 0 (normal road)</li>
<li>m5 bit 5 clear: standard depot</li>
<li>m5 bit 5 set: extended depot
<ul>
<li>m4 bits 6..7: depot reservation state towards north direction</li>
<li>m6 bits 4..5: depot reservation state towards south direction</li>
</ul>
</li>
<li>m7 bits 4..0: <a href="#OwnershipInfo">owner</a> of the road type 0 (normal road)</li>
</ul>
</li>
Expand Down Expand Up @@ -1047,55 +1061,55 @@ <h3><a name="Landscape">Landscape</a></h3>
</tr>

<tr>
<td nowrap valign=top><tt>10</tt>..<tt>1B</tt>&nbsp; </td>
<td nowrap valign=top><tt>40</tt>..<tt>4B</tt>&nbsp; </td>
<td align=left>canal locks
<table>
<tr>
<td nowrap valign=top><tt>10</tt>&nbsp; </td>
<td nowrap valign=top><tt>40</tt>&nbsp; </td>
<td align=left>middle part, (SW-NE direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>11</tt>&nbsp; </td>
<td nowrap valign=top><tt>41</tt>&nbsp; </td>
<td align=left>middle part, (NW-SE direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>12</tt>&nbsp; </td>
<td nowrap valign=top><tt>42</tt>&nbsp; </td>
<td align=left>middle part, (NE-SW direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>13</tt>&nbsp; </td>
<td nowrap valign=top><tt>43</tt>&nbsp; </td>
<td align=left>middle part, (SE-NW direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>14</tt>&nbsp; </td>
<td nowrap valign=top><tt>44</tt>&nbsp; </td>
<td align=left>lower part, (SW-NE direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>15</tt>&nbsp; </td>
<td nowrap valign=top><tt>45</tt>&nbsp; </td>
<td align=left>lower part, (NW-SE direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>16</tt>&nbsp; </td>
<td nowrap valign=top><tt>46</tt>&nbsp; </td>
<td align=left>lower part, (NE-SW direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>17</tt>&nbsp; </td>
<td nowrap valign=top><tt>47</tt>&nbsp; </td>
<td align=left>lower part, (SE-NW direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>18</tt>&nbsp; </td>
<td nowrap valign=top><tt>48</tt>&nbsp; </td>
<td align=left>upper part, (SW-NE direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>19</tt>&nbsp; </td>
<td nowrap valign=top><tt>49</tt>&nbsp; </td>
<td align=left>upper part, (NW-SE direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>1A</tt>&nbsp; </td>
<td nowrap valign=top><tt>4A</tt>&nbsp; </td>
<td align=left>upper part, (NE-SW direction)</td>
</tr>
<tr>
<td nowrap valign=top><tt>1B</tt>&nbsp; </td>
<td nowrap valign=top><tt>4B</tt>&nbsp; </td>
<td align=left>upper part, (SE-NW direction)</td>
</tr>
</table>
Expand Down Expand Up @@ -1127,6 +1141,11 @@ <h3><a name="Landscape">Landscape</a></h3>
</tr>
</table>
</li>
<li>m5 bit 5 clear: standard depot (for depots only)</li>
<li>m5 bit 5 set: extended depot
<ul>
<li>m4 bits 6..7: depot reservation state (for depots only)</li>
</ul>
</ul>
</td>
</tr>
Expand Down
Loading