Commit graph

918 commits

Author SHA1 Message Date
HJfod
80455ddb14 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-05-14 15:02:30 +03:00
HJfod
1dc9ec41cc add Result::unwrapOrDefault() 2024-05-14 15:02:17 +03:00
Chloe
fcd1a331a0
win32 cocos header update 2024-05-13 23:30:04 -07:00
mat
4baef33172
fix comment 2024-05-12 13:01:26 -03:00
matcool
d725126e1f add geode::utils::getDisplayFactor 2024-05-12 10:25:36 -03:00
dankmeme01
92e0de4dea fix <memory> include 2024-05-10 12:15:18 +02:00
ConfiG
4ce33b363a
add the new particle system fields 2024-05-09 18:26:58 +03:00
HJfod
77e0f2ebb0 fix file::readFromJson 2024-05-09 17:28:19 +03:00
HJfod
7ff257cbd4 bring in Layout changes from new-index-but-better; makes AxisLayout pimpl 2024-05-09 15:18:18 +03:00
HJfod
26729c3f34 cherry-pick changes to ui/General from new-index-but-better 2024-05-09 11:49:19 +03:00
camila314
8db8406148 nvm 2024-05-05 14:39:33 -05:00
camila314
42fe3ba7b4 changed cchsvvalue back 2024-05-05 14:32:56 -05:00
dankmeme01
29b4732173 fix inputnode touches behaving weirdly in certain situations 2024-05-05 09:18:10 +02:00
mat
5c5e3bac72
add missing include in TextInput.hpp 2024-05-01 12:51:08 -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
Justin
8ae4303918
GJDifficultyName and GJFeatureState (#706)
* Update Enums.hpp

* Update Enums.hpp

* Update Enums.hpp

* Update Enums.hpp
2024-04-28 22:28:13 +02:00
altalk23
bdb96daed1 remove typename from listimpl 2024-04-22 17:32:51 +03:00
altalk23
20dc3c95e2 deprecate old fields 2024-04-22 15:53:23 +03:00
altalk23
aaf62584fb fix fields not working on macos? hopefully 2024-04-22 15:34:57 +03:00
altalk23
0a3efd7704 more typename 2024-04-22 00:22:40 +03:00
altalk23
4505b0da69 i hate concepts (alternate fields impl) 2024-04-22 00:09:49 +03:00
dankmeme01
d7c3d4af62
Update ccTypes.h 2024-04-16 07:43:04 +02:00
Justin
5e11ddab85
Fix ccHSVValue (#694) 2024-04-16 07:16:51 +02:00
altalk23
2443422e94 ObjectScaleType 2024-04-14 16:14:14 +03:00
dankmeme01
798cacc1a8 add a way to access internal setting container
exposing an internal field like this isn't the best practice, but it seemed like the best and simplest solution to me to a problem of not being able to do anything to unknown setting keys (such as removing them or migrating their data if that key used to be a valid setting)
2024-04-14 00:00:17 +02:00
altalk23
00e971a274 fix field containers for separate modify classes in which one of them is a base of another, causing shared indices 2024-04-12 22:56:05 +03:00
Cooper
8c61a6fe60
Add MDTextArea link (#664)
* add level: links and mod: links

* fix errors

* fix errors 2

* fix errors 3 (hopefully)

* fix errors 4 (i think fixed?)

* fix 5 PLEASE

* fix mod links and make level links actually work

* PLEASE JUST WORK!!!!!!!!!!!!!

* change it to this

* oops forgot a )

* PLEASE HORRIBLE CODE JUST WORK!

* AHHHHHHHHHHHHHHH fix

* just work

* I DO HORRIBLE CODE

* Update ModInfoPopup.cpp

---------

Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2024-04-11 20:40:04 +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
undefined06855
97f585545a
change #warning to #pragma message (#674) 2024-04-11 20:20:39 +03:00
The Bearodactyl
2ca2cae6f8
Update Enums.hpp (#684)
* Update Enums.hpp

* Update Enums.hpp
2024-04-11 20:14:58 +03:00
altalk23
e83e03f714 someone (prevter) wants to make a crashlog mod so i guess it's fine we export these as well 2024-04-11 19:05:36 +03:00
dankmeme01
9f2cea46ad fix the release xhash 2024-04-03 21:19:21 +02:00
dankmeme01
ac08d2f03a fix windows debug compilation 2024-04-03 18:33:37 +02:00
iAndyHD3
9426b6bc4a add GJGameEvent
source: GJBaseGameLayer::gameEventToString
2024-03-29 15:34:16 +01:00
altalk23
dd6e20b283 add a GEODE_REVERT_TODO_RETURN option for cmake 2024-03-27 22:36:45 +03:00
altalk23
55e1f6a16c Operation Big Sister - Finalize TodoReturn changes 2024-03-27 22:18:46 +03:00
altalk23
f3267b0f43 Operation Big Sister - Make TodoReturn a struct and disallow modifying TodoReturn functions 2024-03-27 20:55:14 +03:00
Cvolton
912aa23833
add missing header to msvc allocator 2024-03-25 23:22:38 +01:00
kynex7510
afc4d572ba
Fix C++23 compilation (#644) 2024-03-25 23:21:39 +01:00
dankmeme01
bb81fa6cb2
Merge pull request #636 from kynex7510/msvcstl
MSVC Fixups
2024-03-25 21:03:13 +01:00
kynex7510
b4cbae894a
Fix macos build 2024-03-25 20:51:17 +01:00
dankmeme01
7f509e5297 add missing particlesystem virtual 2024-03-22 12:45:47 +01:00
kynex7510
cbebb3d66f
MSVC UMap, USet 2024-03-20 16:52:48 +01:00
dankmeme01
ea6ac9f172 whats more scary is the fact that it compiled 2024-03-16 20:10:29 +01:00
dankmeme01
e4ab8819f5 add some util functions to gd map :map: 2024-03-15 21:12:56 +01:00
dankmeme01
d165616700 fix gnustl gd::map::lower_bound and upper_bound 2024-03-15 17:09:21 +01:00
HJfod
a7909938c8
Merge pull request #615 from Weebifying/main
icontype 101
2024-03-12 14:29:48 +02:00
camila314
c02dc7d08b you cant use getMod in a source file, silly 2024-03-11 20:15:55 -05:00
Weebifying
d495900068
icontype 101 2024-03-10 23:36:31 -07:00
camila314
ba6483404b you can now update the bytes of a patch 2024-03-03 15:23:26 -06:00