Commit graph

332 commits

Author SHA1 Message Date
altalk23
938f8947e1 add missing bindings for mosue api 2023-04-10 18:17:41 +03:00
altalk23
80b5b20efb fix events, resources, and minor stuff 2023-04-10 12:49:59 +03:00
HJfod
43a705ace1 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-04-09 18:36:10 +03:00
HJfod
2fe88f1c33 make Event::post return the ListenerResult 2023-04-09 18:35:08 +03:00
altalk23
d7fd2a581d error non virtual missing bindings on compile time 2023-04-09 18:29:11 +03:00
altalk23
a5b1640556 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-05 23:10:23 +03:00
altalk23
5f87485d03 fix undoobject 2023-04-05 23:10:16 +03:00
Fleeym
530551ec95 add bindings and ids for CustomSongWidget 2023-04-05 14:06:31 +03:00
hjfod
f662251d98 add mac addresses + link fmod dylib on mac 2023-04-03 08:21:23 +03:00
HJfod
95fb3c60c6 add xml_document ctor and dtor 2023-04-02 17:41:19 +03:00
HJfod
7d744a9189 add DS_Dictionary addresses on mac 2023-04-02 17:22:03 +03:00
HJfod
21173311c1 add mac stuff 2023-04-02 13:38:06 +03:00
HJfod
9032285d06 fix CCAction::update parameter 2023-04-02 13:19:49 +03:00
HJfod
c4064d7526 reverse is part of CCActionInterval and not CCAction 2023-04-02 13:15:03 +03:00
HJfod
2f982197db missing a "mac" 2023-04-02 13:07:21 +03:00
HJfod
cae9a67b15 add a bunch CCAction addresses 2023-04-02 13:04:31 +03:00
HJfod
f90ca9edd5 ok now it should build? 2023-04-02 11:31:27 +03:00
HJfod
064de3350e missing a fully qualified name there 2023-04-02 11:16:36 +03:00
HJfod
a2b7573bdc add cocos2d:: namespace in front of CCNode to fix build 2023-04-02 11:05:47 +03:00
HJfod
13e41ee059 buncha mac addresses for betteredit *slurp* :3 2023-04-02 11:02:47 +03:00
HJfod
68c0631966 Merge branch 'addEventListener' into main 2023-04-02 10:03:48 +03:00
HJfod
40a6b53f63 make TextArea::create parameter name more clear 2023-04-02 10:03:04 +03:00
HJfod
295b903802
Merge pull request #151 from geode-sdk/addEventListener
some static functions on mac
2023-04-02 09:55:47 +03:00
hjfod
4e2267f020 some static functions on mac 2023-04-02 09:54:59 +03:00
HJfod
61015be6b1
Merge pull request #150 from geode-sdk/addEventListener
Event stuff
2023-04-01 21:40:00 +03:00
HJfod
72448e1be0 remove definition of retainCount in Cocos2d.bro 2023-04-01 17:36:54 +03:00
HJfod
eabb68bbcf fix circle button sprite size 2023-04-01 17:20:49 +03:00
HJfod
5cdfbc3e67 add EventListener::getFilter 2023-03-27 21:22:18 +03:00
HJfod
704e6ba0db more bindings 2023-03-26 19:58:01 +02:00
matcool
7e60770c9b
some members 2023-03-25 19:28:55 -03:00
HJfod
8c969a8628 fix codegen base classes not all being public + CCApplication members 2023-03-25 20:31:11 +02:00
hjfod
dc4f029bf3 add CCEGLView::setupWindow 2023-03-23 18:01:10 +02:00
HJfod
11299df20c remove uses of RT_ADD + more bindings 2023-03-22 21:49:29 +02:00
hjfod
72728464bb editor stuff 2023-03-22 17:31:47 +02:00
HJfod
7686c85e4f editor binding 2023-03-20 21:01:55 +02:00
HJfod
94138f32ad fix hooking callback functions 2023-03-20 19:08:42 +02:00
hjfod
d7f8a0248a bindins 2023-03-20 18:10:20 +02:00
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
ee91aecc48 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-19 08:40:32 +02:00
HJfod
bb8bcef210 add bindings 2023-03-19 08:40:13 +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
4406ffbdc9 add CCMouseDispatcher::dispatchScrollMSG macos 2023-02-26 21:08:59 +03: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
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