ConfiG
46fab0e821
use weakly_canonical in getGameDir and getSaveDir
2023-06-10 15:49:55 +03:00
ConfiG
3eb686c4b5
improve updater code
2023-06-10 13:57:12 +03:00
matcool
8f5c229f7c
use memcpy instead of WriteProcessMemory
2023-06-09 23:08:57 -03:00
matcool
681fb481a9
fix updateGeode() when geode or the update folder doesnt exist
2023-06-09 23:04:22 -03:00
ConfiG
3c1529caa6
split main.cpp per platform
2023-06-09 18:29:19 +03:00
altalk23
9b58b3376b
Implement macos crashlog (wow this was hard)
2023-06-08 22:59:45 +03:00
altalk23
fd3fd9536e
fix crashlog to actually build (doesnt work on macos yet)
2023-06-08 19:22:51 +03:00
altalk23
20f461305b
addresses and crashlog
2023-06-02 21:56:59 +03:00
matcool
af8d4a04de
enable ansi color support for windows console, use it on logs
...
this will use gray for debug, blue for info, yellow for warning and red
for error
2023-05-06 13:32:34 -03:00
altalk23
56b7b66b93
fix getSaveDir not working with nonascii paths
2023-05-06 18:31:51 +03:00
matcool
a1e9ac46b9
use wide version of winapi functions
...
This in theory should help with unicode support, as the old cocos2d
methods did not handle unicode well. However i was not able to test this
since vanilla gd itself doesnt launch on a non ascii path for me!
2023-05-01 11:18:35 -03:00
altalk23
b236a1daac
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-05-01 16:41:03 +03:00
altalk23
1323debea7
remove file::current_path, add less and more version compares
2023-05-01 16:06:06 +03:00
alk
799a6672ce
Update util.cpp
2023-05-01 15:15:27 +03:00
altalk23
dc96da012d
don't rely on filesystem current_path
2023-05-01 14:47:25 +03:00
altalk23
e3bda2a544
Fix resources because of broken working directory
2023-05-01 12:11:32 +03:00
altalk23
80b5b20efb
fix events, resources, and minor stuff
2023-04-10 12:49:59 +03:00
camila314
d7b0e09779
mouse and file picker impl for mac
2023-03-16 19:42:30 -05: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
5c9ee08922
fix file open dialog default path not having a way to specify filename
2023-02-26 20:37:13 +02:00
altalk23
4f259c6e3a
forward filesystem
2023-02-08 16:42:34 +03:00
altalk23
51990ad89b
make ModInfo pimpl
2023-01-31 16:44:28 +03:00
matcool
deab672bc2
json rewrite, use custom lib instead of nlohmann::json
...
This is in attempt to make compile times better, as the old json library
was quite slow to compile due to many template instantiations and such a
large header.
macOS tests have shown build times from 610s to ~390s, about a 1.5x
speedup
Co-authored-by: camila314 <47485054+camila314@users.noreply.github.com>
2023-01-27 21:14:26 -03:00
altalk23
a90b3e18dd
remove meta and hook-core remnants
2023-01-24 18:03:52 +03:00
HJfod
0012762c84
check if the user has loaded dlls and show a warning if so
2023-01-24 10:28:43 +02:00
altalk23
07e64c4dc9
remove cursed this->m_
2022-12-31 18:20:43 +03:00
altalk23
5efee1e42f
do a funny by reverting the internal naming back to impl
2022-12-14 14:50:46 +03:00
altalk23
5666c8f356
separate mod and impl
2022-12-14 14:11:19 +03:00
matcool
2c3520f454
Add CPM.cmake, use it for external libraries
...
this removes submodules and external libraries in the code in favor of
importing them as CPM packages. CPM_SOURCE_CACHE is recommended as
codegen has to readd two of the same dependencies
2022-12-12 18:20:24 -03:00
camila314
98bae53959
LevelSettingsLayer string ids
2022-12-12 13:32:44 -06:00
altalk23
a449225d60
Merge branch 'altalk'
2022-12-12 14:09:16 +03:00
altalk23
3a31efe113
implement pimpl for loader
2022-12-10 19:30:14 +03:00
HJfod
286bdb2bc6
standardization
...
- remove m_ prefix from structs
- make IPC event members public
- make IPC event reply as json
2022-12-09 21:29:21 +02:00
HJfod
996acf15aa
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-07 12:37:10 +02:00
altalk23
20a2dc9f07
fix events and cleanup
2022-12-04 19:39:40 +03:00
HJfod
a8cc48f35a
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-01 22:43:11 +02:00
camila314
655154518a
windows fix v2
2022-11-30 11:35:17 -06:00
HJfod
f73d1042a3
move directories away from loader into new dirs namespace
2022-11-30 19:19:00 +02:00
camila314
25d4f2e5c0
windows fix
2022-11-30 11:05:14 -06:00
camila314
130e3fb834
ipc is good now
2022-11-30 10:51:38 -06:00
HJfod
8126175eaa
remove geodeRoot
2022-11-30 18:37:15 +02:00
HJfod
f18353c2af
cleanup
...
- rewrote Loader to have a public loading API
- moved logging away from Loader
- moved texture path handling away from Loader into CCFileUtils, added new functions there for that
- bumped version to v0.7.0
- moved ModInfo to its own header
- added early loading support through mod.json instead of loader stuff
- wrote a custom Unzip implementation (essentially same as ZipUtils except with a much more simple and clean API)
- renamed `src/load` to `src/loader`
- other stuff i prolly forgor
2022-11-30 00:48:06 +02:00
HJfod
02efe58724
more GGCP
...
- move Core sources to platform folder
- make sure source files on Mac include DefaultInclude
- make sure sources are added in cmake
2022-11-28 20:03:30 +02:00
HJfod
72bbffa79d
Great Geode cleanup project
...
- move all platform sources to one central folder under src/platform/name
- don't add obj-c sources on windows or platform files from other platforms on all platforms
2022-11-28 19:45:23 +02:00