Commit graph

596 commits

Author SHA1 Message Date
HJfod
f78969ca83 replace uses of touch priority and registerWithTouchDispatcher 2023-07-29 20:56:55 +03:00
alk
17eb0e5aa0
Add EnterLayerEvent<N> as default template param to the filter 2023-06-23 23:48:41 +03:00
Cvolton
b097404063
add chest reward related bindings 2023-06-22 01:57:14 +02:00
Cvolton
16716d8bb9
add missing addresses and members needed for bi 2023-06-22 01:13:49 +02: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
qimiko
df7166711c
remove unsigned from table indexes
it creates issues with android bindings :(
2023-06-04 16:45:56 -07:00
ConfiG
58477bbd2c fix Mod::setSettingValue 2023-06-04 17:52:03 +03:00
mat
69fabc1fd9
Merge pull request #183 from cgytrus/fix-glfw-headers
Fix GLFW headers
2023-06-04 11:50:51 -03:00
HJfod
5dfff3693f add default case for version comparisons 2023-06-04 17:23:31 +03:00
HJfod
d0c2394a1e fix GEODE_UNWRAP macros not using fully qualified names 2023-06-04 17:23:13 +03:00
qimiko
36ac8397ce
add dialog enum types to bindings 2023-06-04 04:30:47 -07: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
matcool
518b15e34a
$on_mod required using geode namespace 2023-05-19 13:58:24 -03:00
altalk23
372e2aaeaa Fix Mod::addHook 2023-05-09 10:13:31 +03:00
altalk23
4929599c19 Reenable has update icon 2023-05-01 16:40:55 +03:00
altalk23
1323debea7 remove file::current_path, add less and more version compares 2023-05-01 16:06:06 +03:00
altalk23
d7ccfdef3e revert mod.json resource and move markdowns 2023-05-01 13:06:46 +03:00
altalk23
e3bda2a544 Fix resources because of broken working directory 2023-05-01 12:11:32 +03:00
altalk23
95f046b98e add markdowns and mod.json as resources 2023-05-01 11:36:11 +03:00
HJfod
a45032ae2c Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-04-27 18:51:08 +03:00
HJfod
e7ab46cfdb add logging for gd::string and fix version comparisons being inverted 2023-04-27 18:50:45 +03:00
altalk23
f7edc81df4 fix macos includes for file.hpp 2023-04-27 10:41:07 +03:00
hjfod
50ff15c356 add public file watching api 2023-04-27 09:22:56 +03:00
hjfod
1c699c3b04 fix file::writeToJson 2023-04-24 08:59:38 +03:00
HJfod
2dbad94e52 add utils for loading and saving structs as json files 2023-04-22 21:37:57 +03:00
HJfod
fa48b6aa61 add CCApplication::getControllerConnected on mac 2023-04-16 11:12:14 +03:00
HJfod
b1df152231 add Notification::create default time 2023-04-15 14:25:33 +03:00
HJfod
7bcb6d75eb fix CCApplication member offsets 2023-04-15 14:18:09 +03:00
HJfod
11a90adf12 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-04-11 20:41:51 +03:00
HJfod
3a357027d6 add Mod::hasSavedValue + fix some enumKeyCodes 2023-04-11 20:41:35 +03:00
altalk23
ed442702fe make ModStateFilter copy ctor default 2023-04-10 17:12:49 +03:00
altalk23
4cec5d7eb0 Add copy ctors to event filters 2023-04-10 16:54:58 +03:00
altalk23
80b5b20efb fix events, resources, and minor stuff 2023-04-10 12:49:59 +03:00
HJfod
746164bba8 make EventListener copy constructor not disable the other & bump version 2023-04-09 18:45:19 +03:00
HJfod
2fe88f1c33 make Event::post return the ListenerResult 2023-04-09 18:35:08 +03:00
HJfod
fe27260abc add a special case for null mod to allow listening for all mod events 2023-04-09 11:19:48 +03:00
HJfod
cf69fa3b2f fix WeakRef 2023-04-07 20:07:16 +03:00
HJfod
e71023f36f dont move parameters for dispatchevent 2023-04-07 13:31:42 +03:00
hjfod
0460fef4a2 make getFilter return a reference to it 2023-04-06 19:00:49 +03:00
hjfod
b9b8c29d1d make EventFilter store a pointer to its listener 2023-04-06 09:29:09 +03:00
alk
5924901d2d
Make SentAsyncWebRequest dllexported 2023-04-05 21:01:32 +03:00
HJfod
3dd6d55b49 add CCNode::getEventListenerCount 2023-04-05 19:26:46 +03:00
HJfod
6ba91482a6 fix event listeners not being removed from the right queue 2023-04-05 18:59:25 +03:00
hjfod
993cd6fd7e rework event listeners to add different queues for listeners 2023-04-05 18:17:53 +03:00
HJfod
ed8d230733 add EventFilter::getCallback 2023-04-04 21:56:18 +03:00
hjfod
b44b5d3cd3 add SpacerNode & bring back Dispatch 2023-04-04 17:44:49 +03:00
hjfod
2efe772329 fix crash if event listener is destroyed while they are being iterated 2023-04-03 09:36:38 +03:00
alk
ab2abcdae3
remove GEODE_DEBUG ifdef from log::debug 2023-04-03 01:01:40 +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
eabb68bbcf fix circle button sprite size 2023-04-01 17:20:49 +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
7305445f05 add vector log 2023-03-28 22:17: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
a5e33668aa add filter to EventListenerNode 2023-03-23 19:14:09 +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
altalk23
909e3355f9 update tuliphook 2023-03-20 11:48:15 +03: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
cc13197c98 add editor settings bindings 2023-03-19 10:01:40 +02:00
HJfod
b191f8a583 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-18 21:01:48 +02:00
HJfod
55b0312664 more editor bindings 2023-03-18 21:01:39 +02:00
alk
0216a66e89
Fix cutoff constructor 2023-03-18 21:59:53 +03:00
HJfod
09341840f8 more bindings 2023-03-15 22:36:13 +02:00
matcool
c1900ac45c
use FieldIntermediate instead of plain Derived*
m_fields contains a .self() method, which would be missing in the
intellisense pass
2023-03-12 18:20:56 -03:00
matcool
cf1371f408
Simplify modify when __INTELLISENSE__ is set
This should greatly help anyone using C++ intellisense by getting rid of
the phantom "incomplete type is not allowed" errors
2023-03-12 18:13:00 -03:00
matcool
306fde70d0
add util geode::cocos::getMousePos 2023-03-11 11:40:03 -03:00
HJfod
5f3c6587b3 add CCNode::removeChildByID 2023-03-11 10:19:26 +02: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
mat
174136ce0b
Make CCDictionaryExt::operator= return type not const 2023-03-10 09:22:48 -03:00
dogotrigger
8310485fc0 Fix CCDictionary's = operator
that was easy and working fix
2023-03-10 09:19:24 -03:00
HJfod
0a37b01845 fix max size of editor button sprites 2023-03-08 19:31:07 +02:00