Commit graph

519 commits

Author SHA1 Message Date
hjfod
52c308e65d event stuff 2023-03-25 18:22:34 +02:00
hjfod
e962d5b89f fix mac build 2023-03-24 09:43:46 +02:00
HJfod
9bdd9fc526 add event listener stuff 2023-03-23 21:42:01 +02:00
HJfod
a5e33668aa add filter to EventListenerNode 2023-03-23 19:14:09 +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
93fd396ed9 ensure mod events are only posted in gd thread 2023-03-21 22:01:10 +02:00
altalk23
909e3355f9 update tuliphook 2023-03-20 11:48:15 +03:00
HJfod
1265aafd56 more editor bindigs + CCRect dual CCPoint constructor 2023-03-19 21:45:23 +02:00
HJfod
81472c9ab5 make Layout inherit from CCObject 2023-03-19 15:02:49 +02:00
HJfod
cc13197c98 add editor settings bindings 2023-03-19 10:01:40 +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
alk
0216a66e89
Fix cutoff constructor 2023-03-18 21:59:53 +03:00
HJfod
09341840f8 more bindings 2023-03-15 22:36:13 +02:00
matcool
c1900ac45c
use FieldIntermediate instead of plain Derived*
m_fields contains a .self() method, which would be missing in the
intellisense pass
2023-03-12 18:20:56 -03:00
matcool
cf1371f408
Simplify modify when __INTELLISENSE__ is set
This should greatly help anyone using C++ intellisense by getting rid of
the phantom "incomplete type is not allowed" errors
2023-03-12 18:13:00 -03:00
matcool
306fde70d0
add util geode::cocos::getMousePos 2023-03-11 11:40:03 -03:00
HJfod
5f3c6587b3 add CCNode::removeChildByID 2023-03-11 10:19:26 +02:00
PoweredByPie
5af15fba7c Add geode::prelude to replace USE_GEODE_NAMESPACE()
Don't use macros where not necessary!
This deprecates the old macro by way of a weird alias namespace.
2023-03-10 12:09:48 -08:00
mat
174136ce0b
Make CCDictionaryExt::operator= return type not const 2023-03-10 09:22:48 -03:00
dogotrigger
8310485fc0 Fix CCDictionary's = operator
that was easy and working fix
2023-03-10 09:19:24 -03:00
HJfod
0a37b01845 fix max size of editor button sprites 2023-03-08 19:31:07 +02:00
hjfod
b88eda0fde Merge branch 'main' of https://github.com/geode-sdk/geode 2023-03-08 08:38:25 +02:00
alk
1b2c7606b6
Fix recursive comparison in VersionTag 2023-03-07 11:56:36 +03:00
hjfod
ebfa7b2af4 fix loader min mod version 2023-03-07 08:50:20 +02:00
HJfod
00852654ad fix layout infinite recursion issue + EditorPauseLayer object labels 2023-03-06 21:55:02 +02:00
HJfod
0f19f09a32 fix version comparisons 2023-03-06 20:59:30 +02:00
altalk23
ed02c8a893 actually fix fields lol 2023-03-06 21:24:38 +03:00
altalk23
7dba804969 Half revert constructors, having two types 2023-03-06 21:20:50 +03: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
altalk23
c89df7b992 rename monostate ctors to zero ctors & make it platform independent 2023-03-06 00:52:39 +03:00
alk
0706e52c81
Add m_fields.self() 2023-03-03 12:08:56 +03:00
mat
c71890c179
remove unecessary templates 2023-03-01 20:09:37 -03:00
altalk23
ceeea0bd51 Make the field fix only a minor change 2023-03-02 01:08:25 +03:00
altalk23
f6dd88aed1 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-03-02 01:02:19 +03:00
altalk23
7710fa91b8 Fix field index, allow Parent* conversion of field 2023-03-02 01:02:09 +03:00
hjfod
4a15afc7a7 add EditorUI::sliderChanged + Result::ok + bump version 2023-02-27 18:36:36 +02:00
HJfod
5c9ee08922 fix file open dialog default path not having a way to specify filename 2023-02-26 20:37:13 +02:00
altalk23
6aba7cfdec Make log not throw, but warn on invalid format 2023-02-26 17:25:11 +03:00
altalk23
724a9d342b Modify don't hook if address is nullptr 2023-02-26 17:11: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
277ad8c159 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-02-26 12:47:26 +02:00
HJfod
4d2daec7df api break yahoo!!! fix BasedButtonSprite names and top node scaling 2023-02-26 12:46:55 +02:00
matcool
c183a3566f
fix addresser for CCFileUtils 2023-02-25 15:25:12 -03:00
HJfod
9f60091fbb add file::readDirectory as a sane alternative to file::listFiles 2023-02-25 11:21:43 +02:00
HJfod
00550323e5 add Mod::getResourcesDir for getting the mod's resources directory 2023-02-25 11:10:36 +02:00
HJfod
7089194be9 fix setting value changes not being broadcast 2023-02-24 21:30:36 +02:00
HJfod
cb00c2105f fix MDTextArea containing html tags that confuse flash's html minifier 2023-02-24 12:04:48 +02:00
HJfod
75be0b6502
Merge pull request #137 from geode-sdk/better-layouts
Better layouts
2023-02-23 22:34:14 +02:00
HJfod
4613af6791 change CCNode::insertBefore behaviour to insert at the start if nullptr 2023-02-23 22:03:20 +02:00
HJfod
295aedbdb5 add cross axis line alignment to layouts 2023-02-23 21:18:43 +02:00
HJfod
b6c1c8b66e layouts now work fr fr 2023-02-23 20:46:02 +02:00
HJfod
0e7a3f6f3f finish layouts!! 2023-02-23 16:32:52 +02:00
hjfod
bbbf3324eb versions now support tag numbers + tags are now used in comparisons 2023-02-22 12:19:17 +02:00
altalk23
5dfef0c352 revert friend create for getting address 2023-02-21 10:41:11 +03:00
HJfod
511938fe1c Merge branch 'main' into better-layouts 2023-02-19 19:58:47 +02:00
mat
54e082e8d5
fix build for cross compilation clang 2023-02-17 15:41:10 -03:00
hjfod
80a3ce60d2 layout prio almost works 2023-02-17 17:25:53 +02:00
HJfod
060ea5865c layout testing 2023-02-15 21:25:12 +02:00
hjfod
3827a00964 adding new big stuff to layouts, this def wont work
also removed PositionHint
2023-02-15 16:02:56 +02:00
matcool
37361269ec move Addresser::followThunkFunction to source 2023-02-14 18:28:13 -03:00
alk
cb9c26b597
Update Modify.hpp 2023-02-14 23:50:34 +03:00
HJfod
ffd50eb0f1 fix ranges::reverse + add break line option to AxisLayoutOptions
also EditorPauseLayer ids but didn't finish the layouts yet
2023-02-14 21:54:45 +02:00
HJfod
7a4a1b078b more editorui layouts + AxisLayoutOptions 2023-02-13 22:09:16 +02:00
HJfod
c08c19b440 Merge branch 'main' into better-layouts 2023-02-13 19:50:37 +02:00
HJfod
ea037a9ccb make layouts responsive to different screen sizes
also add CCSize::aspect convenience method
2023-02-13 19:49:51 +02:00
hjfod
5a1545ebc1 CCEGLView::getDisplaySize and other bindings 2023-02-13 18:31:32 +02:00
alk
bce9d3a013
Merge branch 'geode-sdk:main' into main 2023-02-12 14:45:36 +03:00
HJfod
cb1a6f15ee update a lot of ids 2023-02-12 13:01:12 +02:00
altalk23
74d1527412 move static log stuff to source 2023-02-12 13:44:29 +03:00
HJfod
eb10eca6e5 add CCNode::insertBefore and CCNode::insertAfter 2023-02-11 21:13:22 +02:00
HJfod
f4a3258586 fix typeinfo_cast if passed a nullptr 2023-02-11 19:31:30 +02:00
HJfod
f5ce865b55 add AxisLayout::create 2023-02-11 17:50:14 +02:00
HJfod
8890901af5 add child order update option to CCNode::updateLayout 2023-02-11 12:06:37 +02:00
HJfod
676b96a34f add getters for AxisLayout 2023-02-11 12:06:01 +02:00
HJfod
9c9706b456 fix warnings 2023-02-11 12:04:28 +02:00
HJfod
06bc6fda91 move GEODE_DLL to the structs themselves in JsonValidation 2023-02-10 17:09:05 +02:00
HJfod
92e9ce09e8 Merge branch 'main' into better-layouts 2023-02-10 16:07:20 +02:00
matcool
65f2cbb286
follow thunk functions for non virtuals 2023-02-09 13:54:30 -03:00
camila314
0cfb064631 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-02-09 09:45:11 -06:00
camila314
41aef57758 make >= default prevent issues 2023-02-09 09:45:06 -06:00
matcool
ebe1dd7102
fix ScheduledFunction 2023-02-08 15:43:09 -03:00
altalk23
04dd151f0e minifunction replacing compiles 2023-02-08 18:25:07 +03:00
altalk23
478f70e900 fix filesystem pch breaking the impl 2023-02-08 17:37:37 +03:00
altalk23
4bf6344def Merge branch 'main' of https://github.com/geode-sdk/geode 2023-02-08 16:44:23 +03:00
altalk23
4f259c6e3a forward filesystem 2023-02-08 16:42:34 +03:00
HJfod
50cf18bcc4 attempting to add grid layout impl 2023-02-06 21:36:08 +02:00
HJfod
e36a5aea35 rework layouts 2023-02-04 15:58:10 +02:00
HJfod
d09b74eb34 working on a layout rewrite 2023-02-04 11:33:22 +02:00
HJfod
d23563a9c0 Revert "working on a layout rewrite"
This reverts commit ecbfd5ad0f.
2023-02-04 11:28:33 +02:00
HJfod
ecbfd5ad0f working on a layout rewrite 2023-02-02 17:08:13 +02:00
HJfod
ab0030136a make CC_DLL not link
also remove uses of GEODE_ADD for docs
2023-02-02 00:03:01 +02:00
HJfod
0849323ea1 docs changes 2023-02-01 23:43:53 +02:00
HJfod
049ff650e4 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-01-31 21:20:05 +02:00
altalk23
51990ad89b make ModInfo pimpl 2023-01-31 16:44:28 +03:00
HJfod
f32aaa8b12 add better support for dependencies
- create_geode_file now redirects to a new function called setup_geode_mod
 - setup_geode_mod auto-links loader
 - setup_geode_mod invokes CLI (if v1.4.0+) to automatically check your dependencies and install them + link their headers and libs to your project
 - fix Result::expect not working on non-copiable types
 - add in-memory functions for file::Zip and file::Unzip
 - ComparableVersionInfo now always returns false if major versions dont match
2023-01-31 14:48:34 +02:00
altalk23
5c2db47104 add concepts lib to addresser 2023-01-30 17:29:41 +03:00