Commit graph

283 commits

Author SHA1 Message Date
ConfiG
2e20cccf22
Run codegen on configure and move it to bindings (#484) 2024-02-04 22:45:52 +03:00
iAndyHD3
4f4f14241b
define CC_FORMAT_PRINTF on msvc intellisense (#485) 2024-02-03 21:56:47 -03:00
HJfod
7891ac605e CopySizeLayout wasn't actually dllexported whoops 2024-02-01 16:08:17 +02:00
HJfod
ed588eb9b1 rename AutoSizeLayout to CopySizeLayout 2024-01-31 23:36:00 +02:00
HJfod
563a44c874 add a bunch of documentation and an option to addChildAtPosition 2024-01-31 23:30:52 +02:00
HJfod
aa949aed39 finished design for AnchorLayout 2024-01-31 23:11:43 +02:00
HJfod
7654f6e7cd initial ideas, going to sleep for today 2024-01-30 00:08:53 +02:00
Fleeym
5498ecb015 update enumKeyCodes with 2.2 controller stuff 2024-01-28 13:47:02 +02:00
matcool
b5f4b55c7b ccdrawnode 2.201 changes 2024-01-25 15:52:17 -03:00
altalk23
4cd08e1ca9 remove try blocks 2024-01-24 17:17:42 +03:00
altalk23
fd8c3630e3 fix editorui prio final 2024-01-24 00:00:44 +03:00
dankmeme01
d3559c207d
fix ccnode header (#443) 2024-01-23 15:14:31 -03:00
alk
9869ddcdea
Macos support for Geode v2 (#437)
updates loader refactor stuff and other things

---------

Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
Co-authored-by: dankmeme01 <42031238+dankmeme01@users.noreply.github.com>
2024-01-21 14:08:06 -03:00
HJfod
a628ea3ace fixing SearchFilterPopup ui being broken
my brother forced me off my pc so have to commit so i can continue on my laptop
2024-01-20 21:26:01 +02:00
matcool
7e0558e030 set CCMenuItem::m_fSizeMult to 0 by default
fixes #406
2024-01-18 17:00:13 -03:00
Cvolton
e23b051a3d
Add 2.204 support (#422) 2024-01-17 14:09:08 -03:00
matcool
806499c8f4 extract gnustl empty string from CCString
no more hardcoded addresses in android!!
2024-01-16 16:54:33 -03:00
matcool
e1b7b1f4be change ccdictionaryext api sorry 2024-01-09 02:13:44 -03:00
mat
b9a09f73d5 update json library, changes namespace to matjson
very breaking change! though not annoying to upgrade. this change was
done because matjson is not really meant to be a "do everything" json
library, so taking up the very common `json` identifier was troublesome.
2024-01-03 18:04:43 -03:00
mat
a8deaef73f
these ones too 2024-01-03 12:48:36 -03:00
mat
fdf3c2eba6
i want this member in CCTextureCache 2024-01-03 11:10:07 -03:00
Cvolton
87484c04d8
define SizeMult in CCMenuItem 2024-01-01 20:18:31 +01:00
matcool
2111530743 fix this one function 2023-12-27 19:24:18 -03:00
matcool
67601514fd fix ccdirector maybe 2023-12-27 16:31:53 -03:00
adafcaefc
32945c3e84
Add saturationChecked and brightnessChecked to ccTypes.h 2023-12-25 14:54:19 +07:00
altalk23
df218e216b fix curl headers for android64 2023-12-23 17:48:38 +03:00
altalk23
74f97c0fa0 testmembers android64 hell yeah 2023-12-23 17:28:42 +03:00
altalk23
d28084c3bf i hate force prio i hate force prio 2023-12-23 11:52:05 +03:00
altalk23
9c869f77c8 fix ccobject 2023-12-22 20:15:01 +03:00
matcool
a911b341e5 fix this one function 2023-12-22 10:38:11 -03:00
altalk23
1036e780f9 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-21 22:04:45 +03:00
altalk23
9af2bd5e89 android gg 2023-12-21 22:04:43 +03:00
matcool
8c63c65797 fix visibility 2023-12-21 15:09:49 -03:00
matcool
5126c31739 add missing default ctor for CCLayerGradient 2023-12-21 13:54:51 -03:00
altalk23
7b793a4d1d get codegen sources to compile 2023-12-21 17:13:39 +03:00
matcool
c33ec9942f Merge branch 'matsilly' 2023-12-20 23:23:36 -03:00
matcool
5c71bc9e32 get windows further along 2023-12-20 23:14:53 -03:00
altalk23
32a99eef91 add ParticleStruct 2023-12-20 22:04:08 +03:00
altalk23
baaec62bc0 uhhh things idk it does stuff rn 2023-12-20 21:50:21 +03:00
matcool
b1eaa2be2a a few cocos changes 2023-12-20 14:56:28 -03:00
altalk23
40f99d6397 fix virtuals from main cocos classes 2023-12-20 19:33:32 +03:00
altalk23
d49e14d9ee fix main cocos headers 2023-12-20 19:22:06 +03:00
altalk23
fc58ab79ef c++ abi can go burn in gaseous tungsten 2023-10-01 17:36:44 +03:00
altalk23
275a87aece Merge branch 'main' into 1.4.0-dev 2023-10-01 15:14:06 +03:00
mat
ea4341b38a
some missing geode custom ctors 2023-09-25 19:23:29 -03:00
mat
23cd456860
fix CCNode::removeChildByID not being exported properly 2023-09-17 14:23:13 -03:00
altalk23
f39c6f711a Merge branch 'main' into 1.4.0-dev 2023-09-16 13:55:52 +03:00
altalk23
a6a47bf6cf Fix #239 and revert GEODE_HIDDENs 2023-09-16 09:48:48 +03:00
altalk23
889bb77e6d make cc_dll attribute hidden on mac 2023-09-15 14:08:38 +03:00
altalk23
19ad688fcc Merge branch 'main' into 1.4.0-dev 2023-09-10 15:54:26 +03:00
ConfiG
adf1a361a2
add compileShader to broma 2023-09-09 20:26:19 +03:00
altalk23
114fa465a8 Mod cells now use layouts & disable macos console temporarily 2023-09-09 14:32:20 +03:00
mat
0161c9571f
Update CCActionManager.h 2023-08-21 19:25:27 -03:00
altalk23
a0d7b2f451 make LoadedTextureQuality a ccsynthesize 2023-08-07 00:56:21 +03:00
matcool
f5a68154d2
fix CCControllerState using unknown byte type 2023-08-05 15:26:41 -03:00
matcool
8938df02de
fix CCSceneTransitionDelegate for mac 2023-08-04 18:28:44 -03:00
Cvolton
22efe94fac
add CreatorLayer delegates 2023-08-04 22:36:54 +02:00
ConfiG
363d27395c
fix some warnings 2023-08-02 18:04:37 +03:00
ConfiG
48e84e406f
rob made setContentScaleFactor public 2023-06-12 18:31:34 +03:00
ConfiG
6615ad99f7
CCApplication and CCEGLView stuff 2023-06-12 01:50:10 +03:00
ConfiG
17dfe975af
CCApplication, AppDelegate and controller stuff 2023-06-11 19:57:03 +03:00
ConfiG
d72797334f
fix CCEGLView custom ctor on windows
Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2023-06-09 15:30:08 +03:00
mat
d071e75f95
Merge pull request #185 from cgytrus/cocos-stuff
Add some more cocos stuff
2023-06-07 16:30:23 -03:00
ConfiG
ba40d39a2d
fix g_uNumberOfDraws 2023-06-07 19:07:42 +03:00
ConfiG
11f2208767
add more cocos stuff 2023-06-07 18:58:19 +03:00
qimiko
041a98ee4d
implement loader for android
compilation still won't work, pending implementations for gdstl/codegen/tuliphook. the first two should be mostly done already. may also be good to get FileWatcher, crashlog, and the file picker implemented but they aren't necessary

the libcurl.a and libssl.a files were built using
https://github.com/ibaoger/libcurl-android. they are placed in the link/android folder because putting them in the link folder confused the macOS build.

once built, the geode binary should be loaded after nativeSetApkPath is ran (otherwise the directory setup crashes). in the future it would be nice if the internal mod also did save data path redirection, as base GD is incapable of doing this

Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2023-06-05 17:42:22 -07:00
mat
2a1a08ef24
Merge pull request #184 from cgytrus/cocos-stuff
Add some cocos stuff
2023-06-05 13:52:01 -03:00
ConfiG
a58d40889c
fix particlesystem and particlesystemquad 2023-06-05 16:19:39 +03:00
ConfiG
faa0c77304
add some cocos stuff 2023-06-05 15:45:12 +03:00
qimiko
41891637d6
update bindings to match android symbols 2023-06-04 17:46:48 -07:00
mat
69fabc1fd9
Merge pull request #183 from cgytrus/fix-glfw-headers
Fix GLFW headers
2023-06-04 11:50:51 -03:00
ConfiG
6ada069737
fix glfw headers 2023-06-01 23:04:05 +03:00
ConfiG
983e640fde
more stuff 2023-06-01 23:00:48 +03:00
ConfiG
fd3a587aa9 add modify to CCParticleSystem, fix removed field 2023-05-31 17:42:53 -03:00
HJfod
fa48b6aa61 add CCApplication::getControllerConnected on mac 2023-04-16 11:12:14 +03:00
HJfod
7bcb6d75eb fix CCApplication member offsets 2023-04-15 14:18:09 +03:00
HJfod
3a357027d6 add Mod::hasSavedValue + fix some enumKeyCodes 2023-04-11 20:41:35 +03:00
HJfod
3dd6d55b49 add CCNode::getEventListenerCount 2023-04-05 19:26:46 +03:00
hjfod
b44b5d3cd3 add SpacerNode & bring back Dispatch 2023-04-04 17:44:49 +03:00
HJfod
5e6efa9112 add xml custom ctors 2023-04-02 17:47:28 +03:00
HJfod
ca3bf6516c add geode custom ctor to DS_Dictionary 2023-04-02 17:30:53 +03:00
HJfod
152f90cf67 add option to ignore invisible children to Layout 2023-04-02 14:43:39 +03:00
HJfod
cd3c09637b add custom constructors to CCClippingNode and CCAction 2023-04-02 12:46:37 +03:00
HJfod
13e41ee059 buncha mac addresses for betteredit *slurp* :3 2023-04-02 11:02:47 +03:00
HJfod
57947a9a27 impl retainCount to fix macos build 2023-04-01 17:28:53 +03:00
HJfod
e92541a655 add WeakRef 2023-03-30 22:07:57 +03:00
HJfod
e2e1da069d give a name to the touch type enum aswell as explicit values 2023-03-30 16:50:38 +03:00
HJfod
35f7f86e6d add optional ids to node event listeners + properly clean them up 2023-03-29 22:07:33 +03:00
hjfod
69bd0d99ef add AttributeSetEvent 2023-03-29 16:05:20 +03:00
hjfod
7963469f1e make attributes use json::Value instead of std::any 2023-03-29 15:23:57 +03:00
hjfod
38575ac825 add CCScene::get + CCScheduler::get + CCNode::hasAncestor 2023-03-29 11:11:22 +03:00
HJfod
5cdfbc3e67 add EventListener::getFilter 2023-03-27 21:22:18 +03:00
HJfod
8c969a8628 fix codegen base classes not all being public + CCApplication members 2023-03-25 20:31:11 +02:00
hjfod
52c308e65d event stuff 2023-03-25 18:22:34 +02:00
hjfod
e962d5b89f fix mac build 2023-03-24 09:43:46 +02:00
HJfod
9bdd9fc526 add event listener stuff 2023-03-23 21:42:01 +02:00
hjfod
dc4f029bf3 add CCEGLView::setupWindow 2023-03-23 18:01:10 +02:00
HJfod
11299df20c remove uses of RT_ADD + more bindings 2023-03-22 21:49:29 +02:00
HJfod
93fd396ed9 ensure mod events are only posted in gd thread 2023-03-21 22:01:10 +02:00
HJfod
1265aafd56 more editor bindigs + CCRect dual CCPoint constructor 2023-03-19 21:45:23 +02:00
HJfod
81472c9ab5 make Layout inherit from CCObject 2023-03-19 15:02:49 +02:00
HJfod
55b0312664 more editor bindings 2023-03-18 21:01:39 +02:00
HJfod
5f3c6587b3 add CCNode::removeChildByID 2023-03-11 10:19:26 +02:00
HJfod
00852654ad fix layout infinite recursion issue + EditorPauseLayer object labels 2023-03-06 21:55:02 +02:00
altalk23
7dba804969 Half revert constructors, having two types 2023-03-06 21:20:50 +03:00
altalk23
c89df7b992 rename monostate ctors to zero ctors & make it platform independent 2023-03-06 00:52:39 +03:00
HJfod
4613af6791 change CCNode::insertBefore behaviour to insert at the start if nullptr 2023-02-23 22:03:20 +02:00
HJfod
295aedbdb5 add cross axis line alignment to layouts 2023-02-23 21:18:43 +02:00
HJfod
b6c1c8b66e layouts now work fr fr 2023-02-23 20:46:02 +02:00
HJfod
0e7a3f6f3f finish layouts!! 2023-02-23 16:32:52 +02:00
hjfod
80a3ce60d2 layout prio almost works 2023-02-17 17:25:53 +02:00
HJfod
060ea5865c layout testing 2023-02-15 21:25:12 +02:00
hjfod
3827a00964 adding new big stuff to layouts, this def wont work
also removed PositionHint
2023-02-15 16:02:56 +02:00
HJfod
ffd50eb0f1 fix ranges::reverse + add break line option to AxisLayoutOptions
also EditorPauseLayer ids but didn't finish the layouts yet
2023-02-14 21:54:45 +02:00
HJfod
7a4a1b078b more editorui layouts + AxisLayoutOptions 2023-02-13 22:09:16 +02:00
HJfod
ea037a9ccb make layouts responsive to different screen sizes
also add CCSize::aspect convenience method
2023-02-13 19:49:51 +02:00
hjfod
5a1545ebc1 CCEGLView::getDisplaySize and other bindings 2023-02-13 18:31:32 +02:00
HJfod
eb10eca6e5 add CCNode::insertBefore and CCNode::insertAfter 2023-02-11 21:13:22 +02:00
HJfod
f5ce865b55 add AxisLayout::create 2023-02-11 17:50:14 +02:00
HJfod
8890901af5 add child order update option to CCNode::updateLayout 2023-02-11 12:06:37 +02:00
HJfod
676b96a34f add getters for AxisLayout 2023-02-11 12:06:01 +02:00
HJfod
92e9ce09e8 Merge branch 'main' into better-layouts 2023-02-10 16:07:20 +02:00
altalk23
4bf6344def Merge branch 'main' of https://github.com/geode-sdk/geode 2023-02-08 16:44:23 +03:00
altalk23
4f259c6e3a forward filesystem 2023-02-08 16:42:34 +03:00
HJfod
50cf18bcc4 attempting to add grid layout impl 2023-02-06 21:36:08 +02:00
HJfod
e36a5aea35 rework layouts 2023-02-04 15:58:10 +02:00
HJfod
d09b74eb34 working on a layout rewrite 2023-02-04 11:33:22 +02:00
HJfod
d23563a9c0 Revert "working on a layout rewrite"
This reverts commit ecbfd5ad0f.
2023-02-04 11:28:33 +02:00
HJfod
ecbfd5ad0f working on a layout rewrite 2023-02-02 17:08:13 +02:00
HJfod
ab0030136a make CC_DLL not link
also remove uses of GEODE_ADD for docs
2023-02-02 00:03:01 +02:00
HJfod
0849323ea1 docs changes 2023-02-01 23:43:53 +02:00
altalk23
63e9b4c5f7 fix create overloads not recognising 2023-01-30 11:07:18 +03:00
altalk23
4aa09c085b use std::enable_if for create checking 2023-01-30 11:02:32 +03:00
altalk23
2f0c36f007 allow protected and private create funcs 2023-01-30 10:16:55 +03:00
altalk23
ae1eb8bb71 add codegenned address -> handlermetadata map 2023-01-29 17:17:41 +03:00
altalk23
c644b43468 fix cross compiling for clang windowsgit status uwugit status 2023-01-26 16:12:06 +03:00
HJfod
c8e627d921 Merge branch 'main' into tulip-hook 2023-01-21 14:17:58 +02:00
HJfod
8d08ca07a0 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-01-21 14:17:45 +02:00
HJfod
f8737dde43 docs stuff i think 2023-01-21 14:17:33 +02:00
matcool
1b8123c997
fix ColorPickerDelegate 2023-01-19 22:20:43 -03:00
matcool
d093efbc8b
fix codegen issues 2023-01-19 21:58:22 -03:00
altalk23
dc0da9fc56 make it compile on macos 2023-01-15 02:00:59 +03:00
altalk23
a1be695aab replace modify checking implementation
i got distracted
2023-01-14 22:24:12 +03:00
altalk23
c8cf6e20fd fix appdelegate 2023-01-06 20:20:57 +03:00
HJfod
486f5ab751 add stuff for docs genning and fix issues for it 2022-12-31 00:50:12 +02:00
altalk23
9cac3e68c6 replace ::scene impls, closes #26 2022-12-24 21:33:41 +03:00
altalk23
5666c8f356 separate mod and impl 2022-12-14 14:11:19 +03:00
matcool
36eac0067c remove stupid isnan macro 2022-12-12 18:20:24 -03:00
matcool
3aeaa21c78 fix invalid characters in cocos header 2022-12-12 18:20:24 -03:00
HJfod
4e6559966f make selectors use variadic arguments
- this fixes using templated functions as callbacks
2022-12-12 12:49:14 +02:00