Commit graph

970 commits

Author SHA1 Message Date
HJfod
5f8588ea97 Merge branch 'main' into new-index-but-better 2024-04-22 00:08:49 +03:00
HJfod
a09ba5c67c new Task class to replace Promises, test seems to indicate it's working 2024-04-22 00:08:10 +03:00
HJfod
4be910bda4 Fix crashes on trying to delete nullptr 2024-04-22 00:07:42 +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
HJfod
53b081e77b remove uses of std::source_location 2024-04-14 18:04:01 +03:00
HJfod
33e12646b8 Make terminate cause a crash instead for the crashlog and stacktrace 2024-04-14 17:57:15 +03:00
HJfod
69bcab649e Better MiniFunction terminate message 2024-04-14 17:56:48 +03: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
HJfod
33af7befed Merge branch 'main' into new-index-but-better 2024-04-13 21:47:56 +03:00
HJfod
243c11cc8f minifunction dont assume return value is default-constructible 2024-04-13 21:38:46 +03:00
HJfod
d107f3386f add geode::terminate and geode::unreachable 2024-04-13 21:38:26 +03:00
HJfod
b1f33db497 add Popup::setCloseButtonSpr 2024-04-13 21:38:05 +03:00
HJfod
c6ecd87da3 improve is_filter + add move binding to eventlistener 2024-04-13 21:37:49 +03: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
HJfod
dce50ca4df Merge branch 'main' into new-index-but-better 2024-03-30 21:21:33 +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
HJfod
fc7d3343d9 implement proper mod update checking 2024-03-26 22:18:34 +02: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
HJfod
560b42c8de make server mods have a little bit of a different color 2024-03-25 13:18:25 +02:00
HJfod
a4685a50e1 fix ModPopup::updateState behaviour with the enable button 2024-03-24 21:31:42 +02:00
HJfod
4447153f24 implement tags key in ModMetadata 2024-03-24 11:05:51 +02:00
HJfod
56679e739b add a ModMetadata overload for openSupportPopup + make it crash-resistant 2024-03-24 00:33:46 +02:00
HJfod
6995e8d4c5 add support for overriding cross axis line alignment on AxisLayout nodes 2024-03-24 00:33:03 +02:00
HJfod
56839119f0 fix anchor parameters in addChildAtPosition being flipped the wrong way 2024-03-24 00:32:28 +02:00
HJfod
6aa60327a3 fix mac Promise build 2024-03-23 17:36:59 +02:00
HJfod
62480cc3e8 fix Promsie build on other platforms 2024-03-23 17:31:21 +02:00
HJfod
dc633ec72e server caching works like a dream now 2024-03-23 17:25:54 +02:00
HJfod
b417e0686d Merge branch 'main' into new-index-but-better 2024-03-22 15:36:39 +02:00
HJfod
9cccecd4e7 the new promise design finally works :^) 2024-03-22 15:35:22 +02: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
a4bcae726a i do not know what is wrong but Promise still doesn't work :( 2024-03-15 17:06:13 +02:00