Commit graph

237 commits

Author SHA1 Message Date
Jollyc
32a1b7d903
Add files via upload 2022-10-22 09:05:11 -07:00
matcool
9446e995cf
make X_selector() macros not require using namespace cocos2d 2022-10-22 12:27:33 -03:00
HJfod
2ef03197b5 fix mac build
- move attribute & E -> T
2022-10-22 17:55:10 +03:00
HJfod
1dad98b235 Result stuff
- add NewResult
 - deprecate and nodiscard old Result
 - silence some warnings
2022-10-22 17:49:09 +03:00
camila314
c3878b8a20 Optimize TypeGen 2022-10-21 18:17:08 -05:00
altalk23
42a3c6de3c move wrap to seperate files 2022-10-20 22:45:43 +03:00
altalk23
2a7c9d1be6 only hash png ogg and mp3 files 2022-10-20 21:47:29 +03:00
altalk23
ea0a81a790 add krita files to gitignore (don't ask) 2022-10-20 21:19:15 +03:00
altalk23
4e7d044bd8 replace loader hashes with file name check temporarily 2022-10-19 13:34:39 +03:00
altalk23
fd291d51a9 fix windows garagelayer pad 2022-10-18 21:04:03 +03:00
HJfod
0b598b3d16 fix windows 2022-10-17 16:14:05 +03:00
HJfod
a0e56c044b fix macos build 2022-10-17 16:08:12 +03:00
HJfod
c07efcfe15 fix windows build
- include IncludeZlib.h instead of zlib.h
2022-10-17 15:57:32 +03:00
HJfod
38bebd67cd fix macos build
- add initializer_list constructor to `gd::vector`
2022-10-17 15:56:35 +03:00
HJfod
662a9e99f5 big cocos reworks
- remove cocos2dx folder
 - change all include paths in cocos2d to be relative
2022-10-17 15:46:36 +03:00
HJfod
843b1ac44f will revert this later 2022-10-17 12:25:56 +03:00
mat
f68530e943
for chloe 2022-10-16 23:28:20 -03:00
HJfod
86c1956790 Merge branch 'main' into layout 2022-10-17 00:05:14 +03:00
HJfod
0a1b5c9281 i forgot to add the LayerBG header 2022-10-16 21:37:18 +03:00
HJfod
ee68a73629 Merge branch 'main' into layout 2022-10-16 21:36:27 +03:00
HJfod
a38743d01d textureldr stuff
- reworked mod resource loading again
 - added `Loader::addTexturePath` and `Loader::removeTexturePath` for texture pack managers to add search paths
 - added `LayerBG.hpp` header with `createLayerBG` function for creating the blue background GD layers have
2022-10-16 21:34:16 +03:00
matcool
9e38af5070
add begin and end to gd::vector 2022-10-16 00:08:20 -03:00
HJfod
61fd9a50d7 make gd::vector satisfy value_type 2022-10-15 21:58:56 +03:00
HJfod
d2536f95ce who cares about the return type anyway then 2022-10-15 21:54:28 +03:00
HJfod
49c5bbf2eb use ranges instead of vector 2022-10-15 21:50:03 +03:00
HJfod
6fe9a5f2ce utils rework
- deprecate utils::vector and utils::container and replace them with utils::ranges
2022-10-15 21:45:53 +03:00
HJfod
787c0ba91c deprecate utils::vector and utils::container and replace them with
utils::ranges
2022-10-15 21:44:35 +03:00
HJfod
cc47d3dc88 use gd::vector instead of std::vector in geode::utils::vector 2022-10-15 20:31:11 +03:00
HJfod
4b842e5f2a v0.5.0
- add `CCFileUtils::get`
 - turns out i was doing semver wrong. i'm deeply sorry. read: https://www.twitlonger.com/show/n_1ss44g2
 - fix MenuLayer crashes related to node IDs
 - remove `Loader::updateModResourcePaths` and `Loader::updateResourcePaths`. Loader minimum mod version is still v0.4.0 however, as you should not have used these ever.
 - rework how mod resources are added
2022-10-15 20:19:20 +03:00
HJfod
fb22ca5734 fix MenuLayer nullptr derefs 2022-10-15 19:16:26 +03:00
HJfod
6b83463972 fix merge conflicts 2022-10-15 19:03:13 +03:00
HJfod
c926f69790 Merge branch 'main' into layout 2022-10-15 18:49:07 +03:00
HJfod
bb7bd87dfc ready for v0.4.8
- move LoadingLayer resource download info to loading text
2022-10-15 18:35:13 +03:00
HJfod
57b32182c8 update resources to use hashes again (CLI v1.0.6 should fix the issues) 2022-10-15 18:22:09 +03:00
matcool
7c410c4628
hotfix resources repair 2022-10-14 19:10:19 -03:00
matcool
1df4c898ac
neater 2022-10-14 19:09:33 -03:00
alk
bd97f25958
Change pch to not use Geode.hpp and change mod disable popup (#52)
* replace pch

* update disable popup
2022-10-14 23:42:35 +03:00
HJfod
150e1b509b workflow should now have cli. i think 2022-10-14 16:26:16 -03: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
HJfod
c210ab2f33 change CCArrayExt to use Ref 2022-10-14 16:26:16 -03:00
mat
0562c045ae
fix getSceneDelegate
its getSceneDelegate() const
2022-10-13 18:23:37 -03:00
HJfod
22ee4b3f29 get ready for v0.4.5 release
- update changelog
 - add documentation to AsyncWebRequest
 - remove some debugs
2022-10-13 22:30:57 +03:00
HJfod
7dd94422b4 lots of index-related stuff (see details)
- show crashlog on crash when GEODE_DEBUG is enabled
 - fix mod resources not being loaded when installed from index + more index reworking, it's actually pretty neat now
 - fix ModInfoLayer crashing when leaving it while downloading
 - fix other index crashes
 - fix queueInGDThread sometimes leaving out functions
 - add new file utils and deprecate ones that don't use ghc::filesystem::path
 - index mods now show their about.md files
 - general cleanup and goodcodeification
2022-10-13 21:37:59 +03:00
HJfod
f0557056c7 meaningless stuff 2022-10-13 16:36:36 +03:00
altalk23
563b3b8445 reremove installticket 2022-10-13 16:24:55 +03:00
altalk23
7748f2300a fix index.cpp 2022-10-13 16:18:48 +03:00
altalk23
1822860d50 Merge altalk23:main 2022-10-13 15:43:34 +03:00
altalk23
80796b9ca4 uncomment settings.cpp 2022-10-13 14:18:00 +03:00
altalk23
6350feae74 fix crashlog.cpp for windows 2022-10-13 14:17:23 +03:00
altalk23
92099a9ba5 fix messageboxfix 2022-10-13 14:08:48 +03:00
altalk23
f91bad2acc fix codegen dir 2022-10-13 14:03:50 +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
cce4daf501 more compile time optimizations 2022-10-13 12:56:23 +03:00
altalk23
1cfc793f7c seperation of modify and bindings 2022-10-13 11:31:23 +03:00
matcool
577242a49b
fix macos build 2022-10-12 23:14:14 -03:00
matcool
61dd4a672c
add CCApplication::getVerticalSyncEnabled for win32 2022-10-12 22:46:23 -03:00
HJfod
2b06316397 rework Index + add AsyncWebRequest API + add GEODE_DEBUG macro 2022-10-13 00:22:43 +03:00
altalk23
f580eda0b0 add geode debug 2022-10-12 22:07:18 +03:00
alk
0646ea95f8
Fix unformatted log::logs (#45)
* fix unformmated log::log functions

Co-authored-by: altalk23 <student@altalk23.local>
2022-10-12 21:34:13 +03:00
altalk23
377aa3f7ce fix unformmated log::log functions 2022-10-12 21:31:33 +03:00
matcool
5dda0a1e86
use binary mode for hashes, bump version to 0.4.5 2022-10-11 17:31:16 -03:00
HJfod
081df4e0b5 dont use createWithCapacity 2022-10-11 22:37:59 +03:00
HJfod
e3b8cf3354 Merge branch 'main' into layout 2022-10-11 22:23:49 +03:00
HJfod
714a269c41 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-10-11 22:23:11 +03:00
HJfod
843466391b make sure it's closed 2022-10-11 22:22:42 +03:00
HJfod
69d7604e9d fix problem with GD not starting up through Steam 2022-10-11 22:22:42 +03:00
HJfod
397f73c81f make sure it's closed 2022-10-11 22:03:16 +03:00
HJfod
b38353a70f fix problem with GD not starting up through Steam 2022-10-11 22:00:08 +03:00
matcool
9338440a97
fix god awful indentation in this file 2022-10-11 13:14:13 -03:00
HJfod
4e5ce3cdff Merge branch 'main' into layout 2022-10-11 16:46:40 +03:00
HJfod
66285aeadf fix setting crash on slider control disable + expose some internal ui
stuff for mods to use + update changelog
2022-10-11 16:45:56 +03:00
HJfod
1b90149227 bump version to v0.4.3 + fix max and min mod versions 2022-10-11 16:22:59 +03:00
HJfod
3659215347 add LevelBrowserLayer ids 2022-10-11 11:03:06 +03:00
HJfod
c213827131 add IDs to CreatorLayer 2022-10-10 23:39:33 +03:00
HJfod
132f522416 split MenuLayer menus into more logical groupings 2022-10-10 22:10:27 +03:00
HJfod
a5158c6330 Merge branch 'main' into layout 2022-10-10 21:07:19 +03:00
HJfod
7fea821c7e fix log filenames 2022-10-10 21:00:32 +03:00
HJfod
3f7a9ed8d3 initial layout stuff 2022-10-10 20:58:47 +03:00
altalk23
e6065b210f Merge branch 'main' of https://github.com/geode-sdk/geode 2022-10-10 11:22:16 +03:00
altalk23
1bf388c006 user ndebug for removing log debug 2022-10-10 10:54:18 +03:00
HJfod
75918681ab stop defining geode platform macros in 4 different places 2022-10-09 21:04:10 +03:00
HJfod
1931e87c24 deprecate makeMenuSelector and replace all uses with actual member
functions ;-;
2022-10-09 16:24:24 +03:00
alk
2bf2d859b8
Some header additions (fix) (#41)
* starting

* editorui

* leveleditorlayer

* leveleditorlayer2

* effectgameobject

* gameobject

* coloraction

* ccarrayiterator adds

* editlevellayer, optionslayer, pauselayer, statscell, endlevellayer

* fix overload resolution for CCObject*

Co-authored-by: altalk23 <student@altalk23.local>
Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
2022-10-09 16:17:14 +03:00
mat
38536692b7
Merge pull request #40 from matcool/ui-new-log
UI new log
2022-10-09 09:21:18 -03:00
matcool
23593f50dc
fix overload resolution for CCObject* 2022-10-09 09:18:17 -03:00
matcool
c5538da709
switch to {} style formatting for logs 2022-10-08 22:57:10 -03:00
altalk23
ae83610ec2 set save dir path for geode.loader 2022-10-08 20:26:23 +03:00
altalk23
0c19e0c75d fix includes for macos 2022-10-08 18:20:32 +03:00
altalk23
48de16f02c fix component destructor 2022-10-08 17:37:35 +03:00
altalk23
1a5f07eae2 fix log deleting 2022-10-08 17:31:42 +03:00
altalk23
40bf7962ea add crash log directory 2022-10-08 17:27:28 +03:00
altalk23
da998694a0 add clearLogs and virtual destructor to logs 2022-10-08 17:13:16 +03:00
altalk23
cb3a610407 remove internal_log 2022-10-08 17:05:53 +03:00
altalk23
75a98e1fff add linkage to friend declaration 2022-10-08 16:56:28 +03:00
altalk23
ed41e7cfea add loader include to modify 2022-10-08 16:55:40 +03:00
altalk23
6d5e02a6b4 completely remove interface + implement scheduling stuff 2022-10-08 16:53:09 +03:00
altalk23
496fcc9965 merge 2022-10-08 14:57:09 +03:00
altalk23
e67eaf7ec3 log scheduling 2022-10-08 14:56:41 +03:00
HJfod
a886605403 Merge branch 'ui' of https://github.com/geode-sdk/geode into ui 2022-10-08 14:11:36 +03:00