-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable separate building of TFE and the “AdjustableHud” mod:
* `CMakeLists.txt`: Add `ENABLE_TFE` and `ENABLE_ADJUSTABLEHOD_MOD` configuration options to for package maintainers to be able to build separate packages * Add AppStream component meta data for the built‑in “AdjustableHud” mod * `README.md`: Add info on packaging TFE to * `ProjectStructure.md`: Add `Mods` directory and description
- Loading branch information
1 parent
065897c
commit 526c9a1
Showing
5 changed files
with
209 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
project( | ||
AdjustableHud | ||
HOMEPAGE_URL "https://theforceengine.github.io" | ||
DESCRIPTION "“The Force Engine’s” built‑in “AdjustableHud” mod" | ||
) | ||
|
||
add_custom_target( | ||
${PROJECT_NAME} | ||
"" | ||
SOURCES | ||
AdjustableHud.txt | ||
Credits.txt | ||
HudStatusLeftAddon.bm | ||
HudStatusLeftAddon.png | ||
HudStatusRightAddon.bm | ||
HudStatusRightAddon.png | ||
BYPRODUCTS | ||
"${CMAKE_INSTALL_DATADIR}/Mods/TFE/${PROJECT_NAME}/AdjustableHud.txt" | ||
"${CMAKE_INSTALL_DATADIR}/Mods/TFE/${PROJECT_NAME}/Credits.txt" | ||
"${CMAKE_INSTALL_DATADIR}/Mods/TFE/${PROJECT_NAME}/HudStatusLeftAddon.bm" | ||
"${CMAKE_INSTALL_DATADIR}/Mods/TFE/${PROJECT_NAME}/HudStatusLeftAddon.png" | ||
"${CMAKE_INSTALL_DATADIR}/Mods/TFE/${PROJECT_NAME}/HudStatusRightAddon.bm" | ||
"${CMAKE_INSTALL_DATADIR}/Mods/TFE/${PROJECT_NAME}/HudStatusRightAddon.png" | ||
) | ||
|
||
install( | ||
DIRECTORY | ||
"${CMAKE_CURRENT_SOURCE_DIR}" | ||
DESTINATION | ||
"${CMAKE_INSTALL_DATADIR}/Mods/TFE" | ||
FILE_PERMISSIONS | ||
OWNER_READ OWNER_WRITE | ||
GROUP_READ | ||
WORLD_READ | ||
DIRECTORY_PERMISSIONS | ||
OWNER_READ OWNER_EXECUTE OWNER_WRITE | ||
GROUP_READ GROUP_EXECUTE GROUP_WRITE | ||
WORLD_READ WORLD_EXECUTE | ||
PATTERN | ||
CMakeLists.txt EXCLUDE | ||
) |
38 changes: 38 additions & 0 deletions
38
TheForceEngine/io.github.theforceengine.tfe.Mod.AdjustableHud.metainfo.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<component type="addon"> | ||
<id>io.github.theforceengine.tfe.Mod.AdjustableHud</id> | ||
<name>The Force Engine Adjustable Hud Mod</name> | ||
<name xml:lang="de">„The Force Engine“ Einstellbare Bildschirmanzeigen Modifikation</name> | ||
<name xml:lang="pl">Modyfikacja „The Force Engine” ustawiania wskaźników</name> | ||
<developer id="com.twitter.dzierzan23"> | ||
<name>Paweł “Dzierzan” Dzierżanowski</name> | ||
<name xml:lang="de">Paweł „Dzierzan“ Dzierżanowski</name> | ||
<name xml:lang="pl">Paweł „Dzierzan” Dzierżanowski</name> | ||
<url type="homepage">https://twitter.com/Dzierzan23</url> | ||
</developer> | ||
<summary>A “The Force Engine” built‑in mod enabling adjustable floating HUD elements in “STAR WARS: Dark Forces”</summary> | ||
<summary xml:lang="de">Eine in „The Force Engine“ eingebaute Mod, die einstellbar bewegliche Bildschirmanzeigen in „STAR WARS: Dark Forces“ ermöglicht</summary> | ||
<summary xml:lang="pl">W „The Force Engine” wbudowana modyfikacja, umożliwiająca ustawianie unoszących się wskaźników w „STAR WARS: Dark Forces”</summary> | ||
<metadata_license>CC0-1.0</metadata_license> | ||
<project_license>GPL-2.0</project_license> | ||
<extends>io.github.theforceengine.tfe</extends> | ||
<url type="homepage">https://theforceengine.github.io</url> | ||
<url type="bugtracker">https://github.com/luciusDXL/TheForceEngine/issues</url> | ||
<url type="help">https://theforceengine.github.io/Documentation.html</url> | ||
<url type="vcs-browser">https://github.com/luciusDXL/TheForceEngine/tree/master/TheForceEngine/Mods/TFE/AdjustableHud</url> | ||
<description> | ||
<p>A “The Force Engine” built‑in mod based on the work by Paweł “Dzierzan” Dzierżanowski. The purpose of the mod is to enable the floating HUD elements in “STAR WARS: Dark Forces” to be adjustable – specifically being able to move them away from the edges of the screen on widescreen displays.</p> | ||
<p xml:lang="de">Eine auf der Arbeit von Paweł „Dzierzan“ Dzierżanowski basierende in „The Force Engine“ eingebaute Mod. Die Mod hat zum Zwecke die Einstellbarkeit von beweglichen Bildschirmanzeigen in “STAR WARS: Dark Forces” zu ermöglichen, insbesondere sie weg von den Rändern auf Breitbildschirmen zu bewegen.</p> | ||
<p xml:lang="pl">Wbudowana w „The Force Engine” modyfikacja na podstawie pracy Pawła „Dzierzan” Dzierżanowskiego. Celem modyfikacji jest umożliwienie ustawienia unoszących się wskaźników w „STAR WARS: Dark Forces”, zwłaszcza móc je odsunąć od krawędzi ekranu na szerokich ekranach.</p> | ||
</description> | ||
<categories> | ||
<category>Game</category> | ||
<category>Shooter</category> | ||
<category>ActionGame</category> | ||
</categories> | ||
<update_contact>https://theforceengine.github.io</update_contact> | ||
<requires> | ||
<id>io.github.theforceengine.tfe</id> | ||
<internet>offline-only</internet> | ||
</requires> | ||
</component> |