Skip to content

Commit ee55fda

Browse files
committed
more docs
1 parent b102fc0 commit ee55fda

File tree

8 files changed

+56
-0
lines changed

8 files changed

+56
-0
lines changed

src/SUMMARY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,12 @@
5151
- [Damage to Offside Ship Artillery](./bugs/damage-to-offside-ship-artillery.md)
5252
- [Invulnerable Ship Artillery Slots](./bugs/invulnerable-ship-artillery-slots.md)
5353
- [Patches](./patches.md)
54+
- [High Res](./patches/high-res.md)
5455
- [Increase Alderman "Found Settlement" Mission Limit](./patches/increase-alderman-found-settlement-limit.md)
5556
- [Scrollmap Render All Ships](./patches/scrollmap-render-all-ships.md)
5657
- [Tavern Show All Sailors](./patches/tavern-show-all-sailors.md)
58+
- [Shipyard Details](./patches/shipyard-details.md)
59+
- [Town Hall Details](./patches/town-hall-details.md)
5760
- [File Formats](./file-formats.md)
5861
- [CPR](./file-formats/cpr.md)
5962
- [Navigation Matrix](./file-formats/navigation-matrix.md)

src/patches/high-res.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# High Res
2+
<p style="display: flex; justify-content: center">
3+
<img src="high-res.png" style="">
4+
</p>
5+
6+
## Summary
7+
This patch changes the game's resolution to 1920x1080 pixels (Full HD).
8+
9+
## Details
10+
Hooks are deployed to the following locations:
11+
- The options screen's exit function (to set the resolution)
12+
- The function that sets the resolution before the scene loads (to set the the resolution)
13+
- The function that sets the resolution after the scene has already loaded (to set the the resolution)
14+
- The function that sets the position of the UI elements on the right (to set them according to the resolution)
15+
- The function that sets the position of the UI elements at the top (to set them according to the resolution)
16+
- The function that renders all objects (to make the rectangle in the bottm right corner black)
17+
- The function in `aim.dll` that decodes image files (to replace the acceleration map with the upscaled variant)
18+
- The function that loads screen settings from accelMap.ini (to set the dimension of the acceleration map)
19+
20+
## Patch
21+
The source code for this patch can be found [here](https://github.com/P3Modding/p3-lib/tree/master/mod-high-res).

src/patches/high-res.png

9.64 MB
Loading

src/patches/shipyard-details.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Shipyard Details Patch
2+
<p style="display: flex; justify-content: center">
3+
<img src="shipyard-details.png" style="">
4+
</p>
5+
6+
## Summary
7+
This patch display's the shipyard's employees, markup and experience.
8+
9+
## Details
10+
Hooks are deployed to the following locations:
11+
- The window's `open` function (to set the window's gradient)
12+
- The window's `render_window` function (to render additional text elements)
13+
14+
## Patch
15+
The source code for this patch can be found [here](https://github.com/P3Modding/p3-lib/tree/master/mod-shipyard-details).

src/patches/shipyard-details.png

994 KB
Loading
757 KB
Loading
1 MB
Loading

src/patches/town-hall-details.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Town Hall Details Patch
2+
<p style="display: flex; justify-content: center">
3+
<img src="town-hall-details-stock.png" style="">
4+
<img src="town-hall-details-mission.png" style="">
5+
</p>
6+
7+
## Summary
8+
This patch display's the hanseatic stock/consumption ratios used to determine town and effective production, and shows details about the alderman missions on offer.
9+
10+
## Details
11+
Hooks are deployed to the following locations:
12+
- The window's `open` function (to set the window's background color gradient)
13+
- The sidepanel's `set_selected_page` function (to set the window's background color gradient)
14+
- The window's `render_window` function (to render additional text elements)
15+
16+
## Patch
17+
The source code for this patch can be found [here](https://github.com/P3Modding/p3-lib/tree/master/mod-town-hall-details).

0 commit comments

Comments
 (0)