forked from im-henri/QonsistentSaberColors
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
026d4bb
commit 962a4e7
Showing
9 changed files
with
164 additions
and
174 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 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,15 +1,16 @@ | ||
#pragma once | ||
|
||
// Include the modloader header, which allows us to tell the modloader which mod this is, and the version etc. | ||
#include "modloader/shared/modloader.hpp" | ||
#include "scotland2/shared/modloader.h" | ||
|
||
// beatsaber-hook is a modding framework that lets us call functions and fetch field values from in the game | ||
// It also allows creating objects, configuration, and importantly, hooking methods to modify their values | ||
#include "beatsaber-hook/shared/utils/logging.hpp" | ||
#include "beatsaber-hook/shared/config/config-utils.hpp" | ||
#include "beatsaber-hook/shared/utils/il2cpp-functions.hpp" | ||
#include "beatsaber-hook/shared/utils/hooking.hpp" | ||
|
||
// Define these functions here so that we can easily read configuration and log information from other files | ||
Configuration& getConfig(); | ||
Logger& getLogger(); | ||
static constexpr auto Logger = Paper::ConstLoggerContext("QonsistentSaberColors"); | ||
|
||
#define INFO(message, ...) Logger.info(message, ## __VA_ARGS__) | ||
|
||
#define MOD_EXPORT extern "C" __attribute__((visibility("default"))) |
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,41 +1,57 @@ | ||
{ | ||
"version": "0.1.0", | ||
"sharedDir": "shared", | ||
"dependenciesDir": "extern", | ||
"info": { | ||
"name": "QonsistentSaberColors", | ||
"id": "qonsistentsabercolors", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"url": null, | ||
"additionalData": { | ||
"overrideSoName": "libqonsistentsabercolors.so" | ||
"overrideSoName": "libqonsistentsabercolors.so", | ||
"cmake": true | ||
} | ||
}, | ||
"workspace": { | ||
"scripts": {} | ||
}, | ||
"dependencies": [ | ||
{ | ||
"id": "paper", | ||
"versionRange": "^3.6.3", | ||
"additionalData": {} | ||
}, | ||
{ | ||
"id": "beatsaber-hook", | ||
"versionRange": "^3.14.0", | ||
"versionRange": "^5.1.6", | ||
"additionalData": {} | ||
}, | ||
{ | ||
"id": "config-utils", | ||
"versionRange": "^1.0.1", | ||
"id": "bs-cordl", | ||
"versionRange": "^3500.0.0", | ||
"additionalData": {} | ||
}, | ||
{ | ||
"id": "questui", | ||
"versionRange": "^0.17.11", | ||
"id": "custom-types", | ||
"versionRange": "^0.17.6", | ||
"additionalData": {} | ||
}, | ||
{ | ||
"id": "codegen", | ||
"versionRange": "^0.33.0", | ||
"id": "scotland2", | ||
"versionRange": "^0.1.4", | ||
"additionalData": { | ||
"includeQmod": false | ||
} | ||
}, | ||
{ | ||
"id": "bsml", | ||
"versionRange": "^0.4.19", | ||
"additionalData": {} | ||
}, | ||
{ | ||
"id": "custom-types", | ||
"versionRange": "^0.15.23", | ||
"id": "config-utils", | ||
"versionRange": "^1.4.2", | ||
"additionalData": {} | ||
} | ||
], | ||
"additionalData": {} | ||
] | ||
} |
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
Oops, something went wrong.