Commit graph

283 commits

Author SHA1 Message Date
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
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