-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from formtapez/hemtt_restructure
Module renamed and restructured for HEMTT building
- Loading branch information
Showing
150 changed files
with
50 additions
and
126 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
opt\opt_server\addons\main |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
#define MODULE CARGO | ||
#include "\opt\opt_server\addons\main\macros.hpp" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
#define MODULE FIELDREPAIR | ||
#include "\opt\opt_server\addons\main\macros.hpp" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
#define MODULE GELDZEIT | ||
#include "\opt\opt_server\addons\main\macros.hpp" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
#define MODULE HUD | ||
#include "\opt\opt_server\addons\main\macros.hpp" |
File renamed without changes.
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,2 @@ | ||
#define MODULE LOGGING | ||
#include "\opt\opt_server\addons\main\macros.hpp" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
#define MODULE REVIVE | ||
#include "\opt\opt_server\addons\main\macros.hpp" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
#define MODULE RULES | ||
#include "\opt\opt_server\addons\main\macros.hpp" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
#define MODULE SECTORCONTROL | ||
#include "\opt\opt_server\addons\main\macros.hpp" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
#define MODULE SHOP | ||
#include "\opt\opt_server\addons\main\macros.hpp" |
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
#define MODULE WEATHERTIME | ||
#include "\opt\opt_server\addons\main\macros.hpp" |
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
File renamed without changes.
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
File renamed without changes.
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,15 @@ | ||
// Define version information of this mod | ||
#define MAJOR 1 | ||
#define MINOR 9 | ||
#define PATCHLVL 1 | ||
#define BUILD 0 | ||
|
||
#ifdef VERSION | ||
#undef VERSION | ||
#endif | ||
#ifdef VERSION_AR | ||
#undef VERSION_AR | ||
#endif | ||
|
||
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD | ||
#define VERSION MAJOR.MINOR.PATCHLVL.BUILD |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,86 +1,17 @@ | ||
name = "OPT-ServerMod" | ||
mainprefix = "opt" | ||
modname = "opt" | ||
prefix = "" | ||
modname = "opt-server" | ||
prefix = "opt_server" | ||
author = "Operation Pandora Trigger" | ||
sig_version = 3 | ||
version = "1.8.9.124" | ||
reuse_private_key = false | ||
|
||
files = [ | ||
"mod.cpp", | ||
"LICENSE", | ||
"README.md" | ||
] | ||
|
||
check = [ | ||
"!version_set", | ||
"!comment_isdev" | ||
] | ||
|
||
postbuild = [ | ||
"!version_unset", | ||
"!uncomment_isdev" | ||
] | ||
|
||
releasebuild = [ | ||
"@zip opt_v{{semver.major}}.{{semver.minor}}.{{semver.patch}}.{{semver.build}}" | ||
"@zip opt-servermod_v{{semver.major}}.{{semver.minor}}.{{semver.patch}}.{{semver.build}}" | ||
] | ||
|
||
key_name = "v{{semver.major}}.{{semver.minor}}.{{semver.patch}}.{{semver.build}}" | ||
authority = "v{{semver.major}}.{{semver.minor}}.{{semver.patch}}.{{semver.build}}" | ||
|
||
[scripts.version_set] | ||
steps_linux = [ | ||
"sed -i -r -s 's/#define MAJOR 0/#define MAJOR {{semver.major}}/g' addons/opt/macros.hpp", | ||
"sed -i -r -s 's/#define MINOR 0/#define MINOR {{semver.minor}}/g' addons/opt/macros.hpp", | ||
"sed -i -r -s 's/#define PATCHLVL 0/#define PATCHLVL {{semver.patch}}/g' addons/opt/macros.hpp", | ||
"sed -i -r -s 's/#define BUILD 0/#define BUILD {{semver.build}}/g' addons/opt/macros.hpp", | ||
] | ||
steps_windows = [ | ||
"powershell -Command foreach ($f in 'addons/opt/macros.hpp') {(Get-Content $f) -replace '#define MAJOR 0', '#define MAJOR {{semver.major}}' -join \"`n\" ^| Set-Content -NoNewline $f; Add-Content -NoNewline \"`n\" $f}", | ||
"powershell -Command foreach ($f in 'addons/opt/macros.hpp') {(Get-Content $f) -replace '#define MINOR 0', '#define MINOR {{semver.minor}}' -join \"`n\" ^| Set-Content -NoNewline $f; Add-Content -NoNewline \"`n\" $f}", | ||
"powershell -Command foreach ($f in 'addons/opt/macros.hpp') {(Get-Content $f) -replace '#define PATCHLVL 0', '#define PATCHLVL {{semver.patch}}' -join \"`n\" ^| Set-Content -NoNewline $f; Add-Content -NoNewline \"`n\" $f}", | ||
"powershell -Command foreach ($f in 'addons/opt/macros.hpp') {(Get-Content $f) -replace '#define BUILD 0', '#define BUILD {{semver.build}}' -join \"`n\" ^| Set-Content -NoNewline $f; Add-Content -NoNewline \"`n\" $f}", | ||
] | ||
|
||
only_release = false | ||
show_output = true | ||
|
||
[scripts.version_unset] | ||
steps_linux = [ | ||
"sed -i -r -s 's/#define MAJOR {{semver.major}}/#define MAJOR 0/g' addons/opt/macros.hpp", | ||
"sed -i -r -s 's/#define MINOR {{semver.minor}}/#define MINOR 0/g' addons/opt/macros.hpp", | ||
"sed -i -r -s 's/#define PATCHLVL {{semver.patch}}/#define PATCHLVL 0/g' addons/opt/macros.hpp", | ||
"sed -i -r -s 's/#define BUILD {{semver.build}}/#define BUILD 0/g' addons/opt/macros.hpp", | ||
] | ||
steps_windows = [ | ||
"powershell -Command foreach ($f in 'addons/opt/macros.hpp') {(Get-Content $f) -replace '#define MAJOR {{semver.major}}', '#define MAJOR 0' -join \"`n\" ^| Set-Content -NoNewline $f; Add-Content -NoNewline \"`n\" $f}", | ||
"powershell -Command foreach ($f in 'addons/opt/macros.hpp') {(Get-Content $f) -replace '#define MINOR {{semver.minor}}', '#define MINOR 0' -join \"`n\" ^| Set-Content -NoNewline $f; Add-Content -NoNewline \"`n\" $f}", | ||
"powershell -Command foreach ($f in 'addons/opt/macros.hpp') {(Get-Content $f) -replace '#define PATCHLVL {{semver.patch}}', '#define PATCHLVL 0' -join \"`n\" ^| Set-Content -NoNewline $f; Add-Content -NoNewline \"`n\" $f}", | ||
"powershell -Command foreach ($f in 'addons/opt/macros.hpp') {(Get-Content $f) -replace '#define BUILD {{semver.build}}', '#define BUILD 0' -join \"`n\" ^| Set-Content -NoNewline $f; Add-Content -NoNewline \"`n\" $f}", | ||
] | ||
|
||
only_release = false | ||
show_output = true | ||
|
||
[scripts.comment_isdev] | ||
steps_linux = [ | ||
"sed -i -r -s 's:#define ISDEV:// #define ISDEV:g' addons/opt/macros.hpp", | ||
] | ||
steps_windows = [ | ||
"powershell -Command foreach ($f in 'addons/opt/macros.hpp') {(Get-Content $f) -replace '#define ISDEV', '// #define ISDEV' -join \"`n\" ^| Set-Content -NoNewline $f; Add-Content -NoNewline \"`n\" $f}", | ||
] | ||
|
||
only_release = false | ||
show_output = true | ||
|
||
[scripts.uncomment_isdev] | ||
steps_linux = [ | ||
"sed -i -r -s 's:// #define ISDEV:#define ISDEV:g' addons/opt/macros.hpp", | ||
] | ||
steps_windows = [ | ||
"powershell -Command foreach ($f in 'addons/opt/macros.hpp') {(Get-Content $f) -replace '// #define ISDEV', '#define ISDEV' -join \"`n\" ^| Set-Content -NoNewline $f; Add-Content -NoNewline \"`n\" $f}", | ||
] | ||
|
||
only_release = false | ||
show_output = true |
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,5 @@ | ||
name = "OPT Server-Mod"; | ||
actionName = "Website"; | ||
action = "https://opt4.net"; | ||
tooltip = "Operation Pandora Trigger"; | ||
author = "OPT Team"; |