Commit graph

103 commits

Author SHA1 Message Date
HJfod
b9fb2f6778 fix CCCallFuncExt 2024-11-16 18:36:34 +02:00
slideglide
ecec11fa93
Fix every "succes" spelling mistakes I could find (#1151)
* Fix spelling mistakes

* Fix spelling mistake

* Fix spelling mistakes

* Fix spelling mistake

* Fix spelling mistake
2024-11-15 11:53:48 +01:00
HJfod
9d4e6ba0e4 header fixes (i think this might make compiling without PCH possible?) 2024-11-10 11:51:49 +02:00
matcool
e8ef9b79c8 fix build 2024-11-09 15:51:20 -03:00
matcool
9ed55c4e7b matjson 3/3, compiles but mod about.md dont load for some reason 2024-11-09 15:16:24 -03:00
altalk23
f2ec5fa3f8 matjson status 1/? 2024-11-09 09:05:21 +03:00
altalk23
bed622243b remove minifunction 2024-11-04 20:42:09 +03:00
altalk23
50ab4ebed7 removing deprecated things, part 1 (does not compile) 2024-11-04 20:14:23 +03:00
Henry Spheria
4dcac338f9
fix CCArrayExt::pop_back() ret variable not being a pointer (#1130)
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-11-02 13:52:12 -03:00
dankmeme01
1d31576694 fix CallFuncExt incorrectly handling lvalue function references
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-10-21 09:35:34 +02:00
dankmeme01
d1053b1688 add CallFuncExt util
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-10-19 21:29:24 +02:00
dankmeme01
d68e358bdd fix infinite recursion in weakref hash
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-10-17 16:23:55 +02:00
dankmeme01
5f7008072e deprecate global getChildOfType 2024-10-13 14:16:42 +02:00
dankmeme01
c8aa2e30db rename getChildOfType member method to getChildByType, to avoid collisions 2024-10-13 13:19:07 +02:00
dankmeme01
0089d13f7a add getChildOfType to CCNode 2024-10-13 13:11:57 +02:00
altalk23
db8a6c8903 make cocos geometry constexpr 2024-09-12 13:53:48 +03:00
Justin
e8751bf899
limitNodeWidth, limitNodeHeight, and width/height properties in Markdown images (#1043)
* New image arguments format

* add ampersand support whoops

* first moves

* i think that's it for now
2024-09-10 21:13:42 +03:00
altalk23
2d9ce8f3e3 weakref hash from sleepyut 2024-09-10 21:10:19 +03:00
dankmeme01
59a0ade533 actually fix it 2024-08-01 14:14:50 +02:00
dankmeme01
d729a12bf3 fix order of buttons in CCMenuItemExt::createToggler 2024-08-01 14:05:36 +02:00
Chloe
22bcbe1b5e
remove usages of cc3x 2024-07-29 06:18:17 -07:00
HJfod
6080fdbfde deprecate cc3x 2024-07-29 12:50:37 +03:00
SMJSGaming
caeef8f4a4 Changed the operator overloads of CCPoint to be more inline with other engines 2024-07-28 16:16:41 +02:00
dankmeme01
f06a7414bb cleanup many creates promoting better modern c++ coding practices 2024-06-23 11:36:16 +02:00
matcool
97d2e44611 fix CCArrayExt::value_type 2024-06-18 00:17:00 -03:00
dankmeme01
f3525035ad fix Ref and WeakRef move assignment operator 2024-06-17 12:56:12 +02:00
kynex7510
4ac52b11d2
Yeet safe_cast 2024-06-06 12:31:22 +02:00
dankmeme01
f8f85ad2b0 Merge branch 'main' into new-index-but-better 2024-06-01 22:39:58 +02:00
altalk23
de733173c0 add CCMenuItemExt for lambda callback util needs 2024-06-01 15:38:21 +03:00
Fleeym
663637e98e Merge branch 'main' of github.com:geode-sdk/geode into new-index-but-better 2024-05-27 01:21:30 +03:00
Cvolton
a4c6b71ee4
make ref move ctor noexcept 2024-05-25 18:18:51 +02:00
HJfod
309de35a57 Merge branch 'main' into new-index-but-better 2024-05-04 10:56:43 +03:00
Justin
f65336d4ba
geode::cocos::isSpriteName and geode::cocos::getChildBySpriteName (#725)
* isSpriteName and getChildBySpriteName (Code)

* isSpriteName and getChildBySpriteName (Headers)
2024-04-28 17:44:20 -03:00
HJfod
684a109dee installing & updating mods (needs work still) 2024-04-23 22:24:08 +03:00
HJfod
33af7befed Merge branch 'main' into new-index-but-better 2024-04-13 21:47:56 +03:00
NyteLyte
a795487634
getChildOfType negative indices: size_t is unsigned (#656)
* size_t is unsigned

`i` is always >= 0 because it is unsigned. This causes crashes if no children are found before reaching 0.

* oops

`node->getChildrenCount() - 1` in the 2nd part of the for loop underflows as well if the children count is 0
2024-04-11 20:30:35 +03:00
HJfod
5e76da13f6 add ObjWrapper 2024-03-05 18:25:25 +02:00
matcool
a5475bda11 add missing GEODE_DLL 2024-02-26 11:58:40 -03:00
altalk23
eea35568fe isSpriteFrameName 2024-02-16 23:58:40 +03:00
altalk23
e10621d40d actually move it to source 2024-02-16 21:37:10 +03:00
altalk23
85f8a206cd add getChildBySpriteFrameName to cocos utils 2024-02-16 21:28:49 +03:00
HJfod
b241c1ccda add platform-specific settings + update changelog and bump version 2024-02-10 13:36:11 +02:00
HJfod
9c8fcf15a9 add support for platform-specific setting values
also improves ccColor3B and ccColor4B hex string parsing (API break) and JsonMaybeValue::is (no break because templated)
2024-02-10 13:02:31 +02:00
alk
73707610db
Merge pull request #447 from geode-sdk/prio-revert
Revert priority changes hook
2024-01-24 20:14:29 +03:00
altalk23
4cd08e1ca9 remove try blocks 2024-01-24 17:17:42 +03:00
altalk23
44976b4348 Make the force a param instead 2024-01-24 13:39:07 +03:00
altalk23
e3d0b30d70 force touch priority for overwriting priorities 2024-01-24 13:37:10 +03:00
altalk23
303d7cede4 force prio hook no more 2024-01-24 11:57:10 +03:00
altalk23
709e3cab48 first impl of revert 2024-01-24 11:30:38 +03:00
matcool
947dcf7f26 add concepts to validate the types for the ext classes 2024-01-09 10:47:23 -03:00