From 02172d8aefb412c2a2c7efb9b0075c5dccbfd1e3 Mon Sep 17 00:00:00 2001 From: tobid7 Date: Sat, 13 Jul 2024 10:32:23 +0200 Subject: [PATCH] Add VSCdoe config Remove do_splash --- .vscode/c_cpp_properties.json | 18 ++++++ .vscode/settings.json | 118 ++++++++++++++++++++++++++++++++++ include/pd/global_db.hpp | 1 - include/pd/internal_db.hpp | 1 - source/internal_db.cpp | 1 - source/palladium.cpp | 2 - 6 files changed, 136 insertions(+), 5 deletions(-) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/settings.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..4e41604 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,18 @@ +{ + "configurations": [ + { + "name": "3DS | Windows", + "includePath": [ + "${workspaceFolder}/**", + "C:/devkitpro/libctru/include/**", + "C:/devkitpro/devkitARM/include/**", + "C:/devkitpro/devkitARM/arm-none-eabi/include/**", + "C:/devkitpro/portlibs/3ds/include/**", + "/opt/devkitpro/libctru/include/**", + "/opt/devkitpro/portlibs/**" + + ] + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6152f6f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,118 @@ +{ + "files.associations": { + "array": "cpp", + "*.tcc": "cpp", + "cctype": "cpp", + "clocale": "cpp", + "cmath": "cpp", + "cstdarg": "cpp", + "cstddef": "cpp", + "cstdint": "cpp", + "cstdio": "cpp", + "cstdlib": "cpp", + "cwchar": "cpp", + "cwctype": "cpp", + "unordered_map": "cpp", + "vector": "cpp", + "exception": "cpp", + "algorithm": "cpp", + "functional": "cpp", + "iterator": "cpp", + "memory": "cpp", + "numeric": "cpp", + "type_traits": "cpp", + "fstream": "cpp", + "initializer_list": "cpp", + "iosfwd": "cpp", + "iostream": "cpp", + "istream": "cpp", + "limits": "cpp", + "new": "cpp", + "optional": "cpp", + "ostream": "cpp", + "sstream": "cpp", + "stdexcept": "cpp", + "streambuf": "cpp", + "string": "cpp", + "string_view": "cpp", + "system_error": "cpp", + "tuple": "cpp", + "typeinfo": "cpp", + "utility": "cpp", + "atomic": "cpp", + "bit": "cpp", + "bitset": "cpp", + "chrono": "cpp", + "codecvt": "cpp", + "condition_variable": "cpp", + "cstring": "cpp", + "ctime": "cpp", + "deque": "cpp", + "forward_list": "cpp", + "map": "cpp", + "iomanip": "cpp", + "memory_resource": "cpp", + "ratio": "cpp", + "regex": "cpp", + "shared_mutex": "cpp", + "valarray": "cpp", + "random": "cpp", + "cuchar": "cpp", + "compare": "cpp", + "concepts": "cpp", + "numbers": "cpp", + "filesystem": "cpp", + "xstring": "cpp", + "charconv": "cpp", + "format": "cpp", + "ios": "cpp", + "list": "cpp", + "locale": "cpp", + "mutex": "cpp", + "stack": "cpp", + "stop_token": "cpp", + "thread": "cpp", + "xfacet": "cpp", + "xhash": "cpp", + "xiosbase": "cpp", + "xlocale": "cpp", + "xlocbuf": "cpp", + "xlocinfo": "cpp", + "xlocmes": "cpp", + "xlocmon": "cpp", + "xlocnum": "cpp", + "xloctime": "cpp", + "xmemory": "cpp", + "xstddef": "cpp", + "xtr1common": "cpp", + "xtree": "cpp", + "xutility": "cpp", + "queue": "cpp", + "semaphore": "cpp", + "hash_map": "cpp", + "set": "cpp", + "unordered_set": "cpp", + "source_location": "cpp", + "future": "cpp", + "cfenv": "cpp", + "cinttypes": "cpp", + "typeindex": "cpp", + "variant": "cpp", + "ranges": "cpp", + "span": "cpp", + "coroutine": "cpp", + "__bit_reference": "cpp", + "__config": "cpp", + "__debug": "cpp", + "__errc": "cpp", + "__hash_table": "cpp", + "__locale": "cpp", + "__mutex_base": "cpp", + "__node_handle": "cpp", + "__split_buffer": "cpp", + "__threading_support": "cpp", + "__tree": "cpp", + "__verbose_abort": "cpp", + "complex": "cpp" + } +} \ No newline at end of file diff --git a/include/pd/global_db.hpp b/include/pd/global_db.hpp index e8fac0c..1a2ba0b 100644 --- a/include/pd/global_db.hpp +++ b/include/pd/global_db.hpp @@ -16,7 +16,6 @@ enum PDFlags_ { PDFlags_None = 0, PDFlags_MemTrack = 1 << 0, PDFlags_SceneSystem = 1 << 1, - PDFlags_ShowSplash = 1 << 2, PDFlags_Default = PDFlags_SceneSystem, }; diff --git a/include/pd/internal_db.hpp b/include/pd/internal_db.hpp index 5e8fe3f..e929955 100644 --- a/include/pd/internal_db.hpp +++ b/include/pd/internal_db.hpp @@ -15,7 +15,6 @@ #endif // Base -extern bool pdi_do_splash; extern bool pdi_enable_scene_system; extern bool pdi_debugging; extern bool pdi_enable_memtrack; diff --git a/source/internal_db.cpp b/source/internal_db.cpp index 1bd29ac..d5ea40b 100644 --- a/source/internal_db.cpp +++ b/source/internal_db.cpp @@ -79,7 +79,6 @@ touchPosition d7_touch; // Modern Global Api int pd_max_objects = C2D_DEFAULT_MAX_OBJECTS; -bool pdi_do_splash = false; bool pdi_enable_scene_system = true; bool pdi_debugging = false; C3D_RenderTarget *pd_top; diff --git a/source/palladium.cpp b/source/palladium.cpp index c5977c6..8b82bfe 100644 --- a/source/palladium.cpp +++ b/source/palladium.cpp @@ -308,7 +308,6 @@ Result Palladium::Init::Main(std::string app_name) { pdi_logger = LoggerBase::New(); pdi_glogger = LoggerBase::New(); - pdi_do_splash = (pd_flags & PDFlags_ShowSplash); pdi_enable_scene_system = (pd_flags & PDFlags_SceneSystem); pdi_enable_memtrack = (pd_flags & PDFlags_MemTrack); @@ -378,7 +377,6 @@ Result Palladium::Init::Minimal(std::string app_name) { pdi_logger = LoggerBase::New(); pdi_glogger = LoggerBase::New(); - pdi_do_splash = (pd_flags & PDFlags_ShowSplash); pdi_enable_scene_system = (pd_flags & PDFlags_SceneSystem); pdi_enable_memtrack = (pd_flags & PDFlags_MemTrack);