Commit graph

41 commits

Author SHA1 Message Date
altalk23
e52b488d0d remove old fields & fix some deprecations 2024-06-03 23:04:54 +03:00
matcool
9a9f63a82f remove gd mod.json shorthand, per platform is now required
closes #471
2024-06-03 10:23:06 -03:00
altalk23
4505b0da69 i hate concepts (alternate fields impl) 2024-04-22 00:09:49 +03:00
altalk23
65e0023df8 fix test mods and version check 2024-04-13 00:56:33 +03:00
altalk23
1d444ed05e sorry for the 2 people that manually includes the jsontest headers 2024-02-25 10:44:09 +03:00
altalk23
afd54a64e4 fix dispatch 2024-02-25 10:38:46 +03:00
altalk23
f33f116ced fix the old test mod stuff 2024-02-25 10:21:27 +03:00
Skye Prince
7ccaef904c
Launch Argument Additions (#453)
* Safe mode

* Disable custom menu additions

* getLaunchBool -> getLaunchFlag

Yes this is silly I know

* parseLaunchArgument

* Fix loading bar going out of bounds

* Fix not putting arg in

* Remove temporary newline fix

* fix safe mode log

---------

Co-authored-by: ConfiG <cgytrus@cgyt.ru>
2024-01-28 19:00:39 +03:00
altalk23
a15cdde906 lmao 2024-01-24 22:13:05 +03:00
Skye Prince
a2b164af29
Launch Arguments (#444)
* Loader launch args

* Implement launch args on loader/mod

* Add to test mod

* Documentation

* Rename methods and better docs

* Expand API

* Fix loader impls

* Expand tests

* Add an extra hyphen to the launch arg prefix

* Update comments with extra hyphen
2024-01-24 22:04:00 +03:00
matcool
de7b2f6d9a update test dependencies 2024-01-19 13:53:53 -03:00
HJfod
2aa9f561f5 bump minimum cmake version 2023-12-20 12:47:04 +02:00
HJfod
cf69fa3b2f fix WeakRef 2023-04-07 20:07:16 +03:00
hjfod
f8b32cdc88 add event tests 2023-04-03 10:04:56 +03:00
PoweredByPie
5af15fba7c Add geode::prelude to replace USE_GEODE_NAMESPACE()
Don't use macros where not necessary!
This deprecates the old macro by way of a weird alias namespace.
2023-03-10 12:09:48 -08:00
HJfod
f32aaa8b12 add better support for dependencies
- create_geode_file now redirects to a new function called setup_geode_mod
 - setup_geode_mod auto-links loader
 - setup_geode_mod invokes CLI (if v1.4.0+) to automatically check your dependencies and install them + link their headers and libs to your project
 - fix Result::expect not working on non-copiable types
 - add in-memory functions for file::Zip and file::Unzip
 - ComparableVersionInfo now always returns false if major versions dont match
2023-01-31 14:48:34 +02:00
HJfod
f089afc27c fix includes + add some doccing 2023-01-21 16:00:14 +02:00
altalk23
dc0da9fc56 make it compile on macos 2023-01-15 02:00:59 +03:00
HJfod
f42fdfcf55 fix merge + make sure test mods aren't installed again 2022-12-13 22:51:09 +02:00
HJfod
afd9258995 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-13 22:42:49 +02:00
HJfod
9ffb15b616 rework settings
- Settings no longer abuse templates
 - Custom settings are now supported (finally)
 - Bumped version to v1.0.0-alpha
2022-12-13 22:39:45 +02:00
altalk23
5e1d1eccdb remove schedules, also make Mod::get() lazy 2022-12-13 12:23:37 +03:00
altalk23
a554f93b93 use cxx_std_XX instead of CXX_STANDARD 2022-12-13 08:36:50 +03:00
HJfod
72af8b95e6 GGCP
- remove datastore
 - remove binary parsing in mod.json
 - try to fix mac build again
2022-11-28 20:17:58 +02:00
HJfod
d701563534 lots of stuff
- add TableView virtuals on windows
 - rework events to match new events system
 - rename NodeStringIDManager to NodeIDs and add a syntactically sugary NodeIDs::provideFor function
 - change test mod to use event callbacks instead of exported ones
2022-11-12 14:55:25 +02:00
altalk23
6a9046d406 port geode loader hooks to non macro modify 2022-11-09 21:07:20 +03:00
HJfod
796a5103f6 remove support for versions prefixed with "v" 2022-11-09 18:01:22 +02:00
HJfod
f9cda74b58 automatic resource repair
- loader checks if resources are correct at startup, if not, downloads them and replaces
 - add sha256 to hash
 - change hash to use paths instead of strings
 - cmake rework; GeodeFile.cmake now checks CLI version
 - add optional `DONT_INSTALL` argument to `create_geode_file`
 - test mods are now not installed by default
 - add package_geode_resources_now command for packaging resources at configure time and creating a header with their calculated hashes
2022-10-14 16:26:16 -03:00
altalk23
070474dd18 some header fixings and more compile time improvements 2022-10-13 14:00:41 +03:00
altalk23
97456db101 more removal of geode.hpp headers 2022-10-13 13:07:37 +03:00
altalk23
1cfc793f7c seperation of modify and bindings 2022-10-13 11:31:23 +03:00
altalk23
6d5e02a6b4 completely remove interface + implement scheduling stuff 2022-10-08 16:53:09 +03:00
HJfod
9607c898b9 bump test mod target versions + fix msvc warning about ast.hpp finally 2022-10-08 13:34:04 +03:00
altalk23
48ab98a115 macos fixes and implemented the bootstrapper without testing 2022-10-08 12:41:36 +03:00
altalk23
d9a1fae5b0 compiles on macos, though there are still some crashes 2022-10-04 13:32:40 +03:00
HJfod
aed28fc240 rename GEODE_DONT_PACKAGE_RESOURCES to GEODE_DISABLE_CLI_CALLS in cmake
+ fix build
2022-10-03 14:01:08 +03:00
HJfod
915e2f6966 update for new cli 2022-10-03 13:51:48 +03:00
HJfod
0118945a39 bump version to v0.2.1 + change optional members in ModInfo to actually
use std::optional + JsonValidation support for std::optional
2022-09-29 22:34:28 +03:00
HJfod
0ab32b3e25 update json validation to no longer use exceptions and be enjoyable to
work with + preliminary settings & UI work + various other fixes and
changes
2022-09-13 00:37:25 +03:00
HJfod
efed426532 fully bump version to 0.2.0 + fix cmake platform binary name on windows 2022-08-09 01:13:21 +03:00
HJfod
46e3a071d3 whole of geode except without history 2022-07-30 19:24:03 +03:00