Commit graph

291 commits

Author SHA1 Message Date
dogotrigger
9078670bfd
Add KeysLayer::init binding
Added init() function for KeysLayer class.
2023-02-03 20:22:22 +08:00
altalk23
3333d34ae6 fix ccnode codegen (remove some false virtuals) 2023-01-30 09:37:51 +03:00
altalk23
d06840de3e add drawgridlayer loadsomething 2023-01-25 18:09:52 +03:00
matcool
771684cd6f
Merge remote-tracking branch 'origin/main' into tulip-hook 2023-01-23 15:11:34 -03:00
Chloe
3a6cafafb9 add rating related offsets 2023-01-22 23:19:03 -03:00
altalk23
d8c0ba6799 fix internal mod setting up at static init time 2023-01-21 19:54:19 +03:00
altalk23
c35ba2e6c5 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-01-13 08:36:48 +03:00
altalk23
207733edd9 retype a member using mats mod 2023-01-13 08:36:15 +03:00
SMJS
8eefcec862 Added the supported metering variable to PlayLayer
From my findings, legacy levels are indicated if this bool is false. If it is, GD will default to extracting the metering from the AudioEffectsLayer rather than using GameSoundManager.

I say this is likely a way of indicating a legacy mode because this can be found in all levels which were made before 2.1.
2023-01-10 01:34:39 +03:00
altalk23
8fb5a84117 fix PlayLayer for macos 2023-01-06 21:30:06 +03:00
altalk23
6ea61a993d Merge branch 'main' of https://github.com/geode-sdk/geode 2023-01-06 20:21:21 +03:00
altalk23
c8cf6e20fd fix appdelegate 2023-01-06 20:20:57 +03:00
matcool
1f789ae53b add windows offsets and fix some classes 2022-12-31 17:32:31 -03:00
altalk23
07e64c4dc9 remove cursed this->m_ 2022-12-31 18:20:43 +03:00
altalk23
eb3b84113c i wasnt content with previous seedvalue impl 2022-12-31 18:02:48 +03:00
altalk23
318ec7864f Add SeedValue utility for handling robtop's funny seed rand values 2022-12-31 17:28:05 +03:00
altalk23
c8765adb5b fix PlayerObject for macos 2022-12-31 15:48:05 +03:00
matcool
09b127527b Add CI for member tests, fix PlayerObject
also adds some offsets for windows
2022-12-31 09:09:39 -03:00
altalk23
8e473cf975 rename player member 2022-12-30 21:47:51 +03:00
altalk23
ff1157aee1 add cocos2d:: to ccobjectType because there isnt any namespace using in broma impls 2022-12-24 21:37:19 +03:00
altalk23
9cac3e68c6 replace ::scene impls, closes #26 2022-12-24 21:33:41 +03:00
altalk23
df118280fd Merge branch 'main' of https://github.com/geode-sdk/geode 2022-12-24 21:12:48 +03:00
camila314
0b93c4ec0b snap 2022-12-21 10:56:58 -06:00
camila314
5fca9d3cb8 add variable 2022-12-20 11:46:58 -06:00
altalk23
4c6440885c add onEdit 2022-12-19 17:46:26 +03:00
altalk23
a2fddab64f fix previous commit 2022-12-19 17:45:57 +03:00
altalk23
461d0ee03e add groupStickyObjects and ungroupStickyObjects 2022-12-19 17:39:35 +03:00
mat
a036f2abd1
fix getColorValue again 2022-12-18 19:36:27 -03:00
mat
49f4d2d5a0
fix CCControlColourPicker::getColorValue 2022-12-18 19:30:30 -03:00
mat
a01e90b591
define CCControlColourPicker::getColorValue 2022-12-18 19:16:39 -03:00
mat
c6933db3f8
some mac addresses 2022-12-18 19:04:43 -03:00
matcool
2654e4ff63
add two ctors 2022-12-18 17:09:17 -03:00
camila314
c440aaa7cc Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-12 13:33:14 -06:00
camila314
98bae53959 LevelSettingsLayer string ids 2022-12-12 13:32:44 -06:00
mat
97ba907ce6
add mac addresses for dispatchInsertText and dispatchDeleteBackward 2022-12-12 13:20:30 -03:00
altalk23
a449225d60 Merge branch 'altalk' 2022-12-12 14:09:16 +03:00
mat
20715d86aa
add dispatchInsertText and dispatchDeleteBackward 2022-12-11 22:25:58 -03:00
altalk23
fc394c3cac Merge remote-tracking branch 'main-repo/main' into altalk 2022-12-10 17:08:45 +03:00
altalk23
c8fed17ea4 add pad to playerobject 2022-12-10 17:08:25 +03:00
HJfod
e0d7dbf15b index is now download correctly + that is reported in the UI 2022-12-07 21:21:50 +02:00
altalk23
0803f83355 completely replace result impl - TODO: fix unzip 2022-12-02 18:40:51 +03:00
camila314
5e9d8bbac8 git is messing with me 2022-11-30 09:43:44 -06:00
camila314
9927affcd8 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-11-30 09:22:44 -06:00
camila314
716e745b5f can we not to GDString please (kept for windows for now) 2022-11-30 09:22:41 -06:00
HJfod
f18353c2af cleanup
- rewrote Loader to have a public loading API
 - moved logging away from Loader
 - moved texture path handling away from Loader into CCFileUtils, added new functions there for that
 - bumped version to v0.7.0
 - moved ModInfo to its own header
 - added early loading support through mod.json instead of loader stuff
 - wrote a custom Unzip implementation (essentially same as ZipUtils except with a much more simple and clean API)
 - renamed `src/load` to `src/loader`
 - other stuff i prolly forgor
2022-11-30 00:48:06 +02:00
camila314
8dc67c6631 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-11-29 13:23:15 -06:00
HJfod
35f2cbad9d Merge branch 'layout' of https://github.com/geode-sdk/geode into layout 2022-11-28 17:42:35 +02:00
HJfod
90c145ad7c Merge branch 'main' into layout 2022-11-28 15:46:12 +02:00
camila314
b85a8e8cd7 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-11-27 16:53:24 -06:00
camila314
f422d92c64 symbols 2022-11-27 16:53:22 -06:00
mat
0213e8b5f7
add mac EditorUI::getSpriteButton 2022-11-27 18:48:53 -03:00
HJfod
7cdb58878b Merge branch 'main' into layout 2022-11-27 23:40:46 +02:00
mat
f010641a09 add param names and createMoveMenu 2022-11-27 17:06:45 -03:00
mat
f958b976d9
define GJEffectManager::toggleGroup
it is inlined on windows :-)
2022-11-26 22:34:13 -03:00
altalk23
1d808dfbfd fix internal macros 2022-11-27 03:57:05 +03:00
alk
72a97e3ed1
Add LevelInfoLayer::init for mac 2022-11-25 01:38:19 +03:00
HJfod
adf8295a41 Merge branch 'main' into layout 2022-11-24 23:55:50 +02:00
altalk23
9acf2c6ea8 fix EditorCollab::onCreate 2022-11-24 21:03:19 +03:00
HJfod
384efb32bb fix unresolved merge conflict 2022-11-22 23:39:09 +02:00
HJfod
182ced8e17 Merge branch 'main' into layout 2022-11-22 17:24:03 +02:00
alk
9a51843727
Add msvcstl (#81)
* implement gd::string for windows

Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
2022-11-22 15:59:46 +03:00
altalk23
caac958c37 replace ccstring create implementation 2022-11-22 14:06:39 +03:00
altalk23
a79a13c1ab fix textarea::create and fix geodenodemetadata 2022-11-17 23:25:22 +03:00
altalk23
b7bbee5669 make GEODE_DEBUG obey if it's already set and make private members in CCMotionStreak protected 2022-11-16 17:42:18 +03:00
HJfod
d701563534 lots of stuff
- add TableView virtuals on windows
 - rework events to match new events system
 - rename NodeStringIDManager to NodeIDs and add a syntactically sugary NodeIDs::provideFor function
 - change test mod to use event callbacks instead of exported ones
2022-11-12 14:55:25 +02:00
HJfod
61c0f1b274 Merge branch 'main' into layout 2022-11-12 12:03:15 +02:00
altalk23
fa3a62255b add editorpauselayer::get 2022-11-10 15:20:10 +03:00
altalk23
370be30e76 add tableview virtuals 2022-11-10 12:55:01 +03:00
camila314
c8ae6c9f86 50th event system rewrite 2022-11-09 20:19:01 -06:00
altalk23
32196f3545 add gjgamelevel::getcurrent and levelsettingsobject::get 2022-11-09 21:07:20 +03:00
HJfod
6d67033eb6 minor changes
- make index always use latest version of mod in index
 - more bindings
 - implement rest of setting types for getBuiltInSettingValue
2022-11-09 17:32:44 +02:00
camila314
9e4b236d1b Shared directory 2022-11-06 19:40:40 -06:00
camila314
55d974cd50 CCDrawNode::drawDot 2022-11-03 19:29:01 -05:00
HJfod
c8fa701762 Merge branch 'main' into layout 2022-11-02 12:57:03 +02:00
HJfod
8953cdc85f fix GameManager member offsets 2022-11-02 12:46:53 +02:00
HJfod
187caa3014 bindings 2022-11-01 11:19:48 +02:00
alk
444464b185
Merge branch 'geode-sdk:main' into altalk 2022-10-30 21:25:03 +03:00
altalk23
94d45ccf21 added clang-format 2022-10-30 21:24:06 +03:00
HJfod
1255047d8f fix harrowing typo 2022-10-30 12:43:37 +03:00
HJfod
991679834d fix harrowing typo 2022-10-30 12:43:10 +03:00
HJfod
f0f9ac570b fix CCMenuItemSpriteExtra::init 2022-10-30 12:37:39 +03:00
HJfod
371231b169 fix CCMenuItemSpriteExtra::init 2022-10-30 12:37:00 +03:00
HJfod
ec8da8da87 add geode::cocos::reloadTextures utility 2022-10-26 17:56:52 +03:00
HJfod
a33bb71eda add CCScrollLayerExt::updateIndicators 2022-10-26 17:22:44 +03:00
HJfod
1277ac746f Merge branch 'main' into layout 2022-10-24 11:45:04 +03:00
matcool
6658b76267
ccGLBindTexture2D 2022-10-23 20:01:42 -03:00
matcool
0376ad49c2
you didnt see that 2022-10-23 19:37:08 -03:00
matcool
a00415937b
add some cocos2d bindings 2022-10-23 19:33:38 -03:00
HJfod
f6d2029280 fix MenuLayer::node not being static 2022-10-23 18:56:36 +03:00
HJfod
fa9d48a170 add all CCArray definitions on mac 2022-10-23 14:23:28 +03:00
alk
8f4e117325
Merge branch 'geode-sdk:main' into main 2022-10-22 20:20:09 +03:00
altalk23
a88e69fb0c change some reinterpret_casts to static_casts 2022-10-22 20:19:58 +03:00
HJfod
ee54ed6206 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-10-22 18:36:58 +03:00
HJfod
85a80ef6b4 add MenuLayer members 2022-10-22 18:36:50 +03:00
matcool
7551537d4c
add EditorUI::scrollWheel 2022-10-22 12:27:12 -03:00
camila314
c3878b8a20 Optimize TypeGen 2022-10-21 18:17:08 -05:00
mat
8b34384b0b add some missing windows addresses 2022-10-20 16:16:11 -03:00
altalk23
ea0a81a790 add krita files to gitignore (don't ask) 2022-10-20 21:19:15 +03:00
alk
e18a693f73
Merge branch 'main' into main 2022-10-20 21:07:27 +03:00
camila314
bc12104aa6 bindings 2022-10-19 10:57:25 -05:00
altalk23
e7d9f54961 remove 0x0 from bindings 2022-10-19 13:37:27 +03:00
altalk23
4e7d044bd8 replace loader hashes with file name check temporarily 2022-10-19 13:34:39 +03:00
altalk23
fd291d51a9 fix windows garagelayer pad 2022-10-18 21:04:03 +03:00
camila314
3c2c8f8d8d Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-10-14 23:46:57 -05:00
Chloe
cff1b67fe6 add delegates to EditLevelLayer 2022-10-14 22:07:49 -03:00
matcool
ad106c501b
add CCRemoveSelf::create addr for mac 2022-10-14 16:30:23 -03:00
HJfod
f9cda74b58 automatic resource repair
- loader checks if resources are correct at startup, if not, downloads them and replaces
 - add sha256 to hash
 - change hash to use paths instead of strings
 - cmake rework; GeodeFile.cmake now checks CLI version
 - add optional `DONT_INSTALL` argument to `create_geode_file`
 - test mods are now not installed by default
 - add package_geode_resources_now command for packaging resources at configure time and creating a header with their calculated hashes
2022-10-14 16:26:16 -03:00
alk
1727e654a1
Update Cocos2d.bro 2022-10-14 00:48:26 +03:00
mat
98d32cc2bb
Update Cocos2d.bro 2022-10-13 18:36:28 -03:00
altalk23
1822860d50 Merge altalk23:main 2022-10-13 15:43:34 +03:00
altalk23
cce4daf501 more compile time optimizations 2022-10-13 12:56:23 +03:00
matcool
e70052a15a
add PlayLayer::PlayLayer address for windows 2022-10-12 22:46:03 -03:00
altalk23
6ba63208a2 fix cclayercolor 2022-10-12 23:24:59 +03:00
HJfod
436a0776c0 add some addresses + bump version to 0.4.4 2022-10-11 22:29:31 +03:00
HJfod
e7f82381a1 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-10-09 21:02:48 +03:00
HJfod
6b3e682389 add addresses 2022-10-09 20:38:47 +03:00
altalk23
355df5a17a fix remove duplicate object 2022-10-09 19:17:47 +03:00
altalk23
c786f0d62a add more functions missing in windows 2022-10-09 19:16:04 +03:00
alk
2bf2d859b8
Some header additions (fix) (#41)
* starting

* editorui

* leveleditorlayer

* leveleditorlayer2

* effectgameobject

* gameobject

* coloraction

* ccarrayiterator adds

* editlevellayer, optionslayer, pauselayer, statscell, endlevellayer

* fix overload resolution for CCObject*

Co-authored-by: altalk23 <student@altalk23.local>
Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
2022-10-09 16:17:14 +03:00
altalk23
48ab98a115 macos fixes and implemented the bootstrapper without testing 2022-10-08 12:41:36 +03:00
HJfod
a9f8adae66 fix isControllerConnected 2022-10-06 23:54:09 +03:00
HJfod
abaff24575 fix PlatformToolbox::isControllerConnected 2022-10-06 23:36:25 +03:00
HJfod
7e6a46a9d4 more getters for cocos2d managers + bump version 0.3.1 + some addresses
+ give IDs to everything in MenuLayer when the controller is connected
2022-10-06 22:33:56 +03:00
HJfod
1b40d1a6da move fields to be a member of a new GeodeNodeMetadata class that also
supports user objects again through proxies + string IDs for nodes +
fix nightly folder in cmake + fix codegen not hooking cocos2d funcs +
add every missing virtual to GeometryDash.bro + tons of other addresses
2022-10-06 20:46:07 +03:00
HJfod
0b64fe9259 more addresses + Popup was accidentally marked dllexport 2022-10-05 23:47:16 +03:00
HJfod
5e0d1f6645 fix codegen + tons of addresses on windows 2022-10-05 23:31:25 +03:00
altalk23
b4c8d0f65a fully works on macos 2022-10-04 17:26:20 +03:00
altalk23
d9a1fae5b0 compiles on macos, though there are still some crashes 2022-10-04 13:32:40 +03:00
HJfod
915e2f6966 update for new cli 2022-10-03 13:51:48 +03:00
camila314
11d00436b2 bindings 2022-09-29 14:22:09 -05:00
HJfod
d9b7489d66 fix LevelEditorLayer members + fix Wrapper (alk fixed it but because
she was extremely silly and did it on her own branch i'm taking credit
and claiming i figured out and wrote this fix all on my own >:-) )
2022-09-29 00:49:59 +03:00
HJfod
6af42cb41f add some addresses + CCDirector::get and CCKeyboardDispatcher::get (does
MSVC actually allow this? what?)
2022-09-28 22:38:30 +03:00
HJfod
1297f93294 add ButtonSprite::create on mac 2022-09-28 16:42:34 +03:00
HJfod
98684a62e5 add touch dispatcher fix + move built-in settings' nodes to their own
internal header & source + regex match validation for string settings +
further work on settings UI now featuring a cooler reset button
2022-09-19 00:07:08 +03:00
HJfod
ce925f0bb2 fix mod list enlarge sprite to make more sense + add more addresses 2022-09-05 01:10:11 +03:00
HJfod
20824164ce Merge branch 'main' into ui 2022-09-01 11:04:47 +03:00
HJfod
c01291d13c add address fix from https://github.com/geode-sdk/geode/pull/35 2022-08-29 00:26:42 +03:00
HJfod
78415153b5 mod sprite names now use directories instead of prefixes. note that this
commit will not work without manually removing the prefixes from loader
resources (and adding the directory prefixes to spritesheet keys) until
the CLI rewrite is finished
2022-08-29 00:16:30 +03:00
HJfod
1b8cf87933 more bindings + fix cmake hotfix on windows 2022-08-28 20:38:18 +03:00
HJfod
19c9f9ebde fix AddressGen hooking gd::base and causing Windows to not work at all +
fix GD bug with Open GL errors not showing properly
2022-07-31 22:50:49 +03:00
HJfod
46e3a071d3 whole of geode except without history 2022-07-30 19:24:03 +03:00