Commit graph

315 commits

Author SHA1 Message Date
HJfod
2cc25ba914 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-19 21:45:41 +02:00
HJfod
1265aafd56 more editor bindigs + CCRect dual CCPoint constructor 2023-03-19 21:45:23 +02:00
matcool
9fb1c4dcdb
add AudioEffectsLayer members and rename some PlayerObject ones 2023-03-19 16:39:37 -03:00
matcool
cdba471658
fix some bindings for CCCircleWave and PlayLayer 2023-03-19 09:18:38 -03:00
HJfod
7a05c4984f add SelectFontLayer bindings 2023-03-19 11:55:36 +02:00
HJfod
cc13197c98 add editor settings bindings 2023-03-19 10:01:40 +02:00
hjfod
951abe5e75 add bindings 2023-03-18 23:08:39 +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
hjfod
5446e3583f editor bindings 2023-03-17 14:42:43 +02:00
camila314
6e73cb16f4 fix mac address 2023-03-16 20:52:33 -05:00
hjfod
eff8771be9 more editor bindings 2023-03-16 18:19:47 +02:00
HJfod
c996f568d9 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-15 22:36:30 +02:00
HJfod
09341840f8 more bindings 2023-03-15 22:36:13 +02:00
mat
4bfcb11127
yAccel ->yVelocity
i forgot about these ones too
2023-03-13 19:00:12 -03:00
mat
25830d2e0a
rename PlayerObject's m_xAccel to m_xVelocity
it was never acceleration, just poor naming inherited from 2021 gd.h
2023-03-13 17:35:16 -03:00
HJfod
73601777e5 some EditorUI bindings 2023-03-13 20:59:44 +02:00
HJfod
baa9f1f034 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-12 18:55:51 +02:00
HJfod
8e18c40903 add PauseLayer stuff 2023-03-12 18:55:44 +02:00
hjfod
f3e32a5317 add EditorUI bindings 2023-03-12 18:54:45 +02:00
HJfod
ad98823438 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-06 19:53:01 +02:00
HJfod
2e485d88a9 add CurrencyRewardLayer::create and its related enums 2023-03-06 19:52:49 +02:00
ninXout
5ecee87e1c
Some MacOS bindings (#140)
* [CreatorLayer] onGauntlets()

* [LevelTools] base64EncodeString(), verifyLevelIntegrity(), xPosForTime(), timeForXPos(), getAudioFilename(), getAudioTitle(), getArtistForAudio(), getURLForAudio().

* [LevelTools] getLevel()

* [LocalLevelManager] init()

* [LeaderboardsLayer] init(), [LevelLeaderboard] init()

---------

Co-authored-by: Nosu♡ <93537876+Nosu-u@users.noreply.github.com>
2023-03-01 13:26:51 -03:00
hjfod
4a15afc7a7 add EditorUI::sliderChanged + Result::ok + bump version 2023-02-27 18:36:36 +02:00
HJfod
33a91d67bc fix EditorPauseLayer size 2023-02-26 21:08:21 +02:00
altalk23
5c495717e7 Add callback keyword to codegen 2023-02-26 18:21:04 +03:00
altalk23
f5983a251e fix editorpauselayer guideline button missing 2023-02-26 16:28:02 +03:00
altalk23
67f5c87ea8 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-02-26 15:34:13 +03:00
altalk23
d024dbb858 fix macos crash on opening (typeinfo_cast nullptr) 2023-02-26 15:33:00 +03:00
HJfod
a633196368 Add GJGameLevel::lengthKeyToString on Windows 2023-02-26 10:36:14 +02:00
HJfod
fcfbd0136b add bindings
+ GameLevelManager::saveLevel on Windows
 + LevelInfoLayer::downloadLevel on Windows
2023-02-25 11:14:09 +02:00
HJfod
75be0b6502
Merge pull request #137 from geode-sdk/better-layouts
Better layouts
2023-02-23 22:34:14 +02:00
HJfod
262c15dbb2 add EditorPauseLayer bindings
+ EditorPauseLayer::updateSongButton
 + EditorPauseLayer::onSong
 + rename EditorPauseLayer guidelines button members
2023-02-23 22:03:48 +02:00
HJfod
3be7ae8d11 more bindings
+ CCCircleWave::m_color
 + GameLevelManager::downloadLevel
 + GameLevelManager::hasDownloadedLevel
 + GameLevelManager::getSavedLevel
 + GameSoundManager::get
 + MenuLayer::create
2023-02-23 16:31:27 +02:00
camila314
cdea5c00e8 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-02-22 14:17:25 -06:00
camila314
fb11ea3a8f broma changes 2023-02-22 14:17:23 -06:00
matcool
b4df122161
fix some more missing virtuals 2023-02-20 09:44:48 -03:00
matcool
9067980c69
fix PauseLayer::keyDown 2023-02-20 09:41:46 -03:00
mat
7771323508
fix GooglePlayManager::sharedState addr 2023-02-19 17:54:10 -03:00
iAndyHD3
2f2f12fc6b
add EditorUI::moveObjectCall(EditCommand) (#136) 2023-02-19 17:50:11 -03:00
HJfod
f7bfa21e51 fix signed unsigned mismatch warning 2023-02-19 20:06:58 +02:00
HJfod
511938fe1c Merge branch 'main' into better-layouts 2023-02-19 19:58:47 +02:00
altalk23
e9c4649fd1 add address docs comments to codegen 2023-02-18 13:52:56 +03:00
hjfod
5a1545ebc1 CCEGLView::getDisplaySize and other bindings 2023-02-13 18:31:32 +02:00
HJfod
cb1a6f15ee update a lot of ids 2023-02-12 13:01:12 +02:00
matcool
eb7576e6ea
Merge branch 'main' of github.com:geode-sdk/geode 2023-02-08 15:28:38 -03:00
altalk23
4ecc4ac23a fix modinfo impl ctor being broken 2023-02-08 20:52:54 +03:00
matcool
4a9f6ba52a
bindings: MenuLayer methods and StatsLayer 2023-02-08 13:30:25 -03:00
HJfod
477070e04d fix CCArray not being fully qualified in GeometryDash.bro 2023-02-04 11:29:23 +02:00
dogotrigger
68e8e54dd2
Fix bindings
Added bindings for `GJUserMessage`, `GJMapPack`, `MapPackCell`, `GJMessageCell`
2023-02-04 17:14:05 +08:00
dogotrigger
56c626c044
Add more bindings
Added bindings for  `LevelTools`, `SetIDPopup`,  `AchievementCell`
2023-02-04 17:11:03 +08:00
dogotrigger
9078670bfd
Add KeysLayer::init binding
Added init() function for KeysLayer class.
2023-02-03 20:22:22 +08: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
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
98bae53959 LevelSettingsLayer string ids 2022-12-12 13:32:44 -06: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
camila314
5e9d8bbac8 git is messing with me 2022-11-30 09:43:44 -06:00
camila314
716e745b5f can we not to GDString please (kept for windows for now) 2022-11-30 09:22:41 -06: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
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
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
f6d2029280 fix MenuLayer::node not being static 2022-10-23 18:56:36 +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
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
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
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
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
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
1b8cf87933 more bindings + fix cmake hotfix on windows 2022-08-28 20:38:18 +03:00
HJfod
46e3a071d3 whole of geode except without history 2022-07-30 19:24:03 +03:00