Commit graph

318 commits

Author SHA1 Message Date
HJfod
b99b3871c9 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-30 12:54:24 +03:00
HJfod
df95c1b1e2 add export to ZipUtils 2022-04-30 12:53:28 +03:00
HJfod
353a6246f5 fix GameManager + settings 2022-04-29 20:34:11 +03:00
HJfod
73bd955d14 include general utils (hopefully this will fix mac build failing) 2022-04-29 17:24:32 +03:00
HJfod
68234b3b6b fix build issues 2022-04-29 17:09:26 +03:00
HJfod
eaf273d6a0 add setting resetting 2022-04-29 16:59:13 +03:00
HJfod
7e91da5090 added Apply feature to settings 2022-04-29 16:41:19 +03:00
HJfod
7d390b39a5 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-29 15:14:56 +03:00
HJfod
e28052c2fa remove stream.hpp and add color logging to log.hpp 2022-04-29 15:04:39 +03:00
HJfod
64a50930c1 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-29 14:51:38 +03:00
HJfod
110b84ffc2 nvm dont put GEODE_DLL on any other settings 2022-04-29 14:51:09 +03:00
HJfod
a304d19255 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-29 14:45:47 +03:00
HJfod
4f6fd003d8 remove GEODE_DLL from templated 2022-04-29 14:44:03 +03:00
HJfod
b8ef64b40d Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-29 13:39:40 +03:00
HJfod
7d179d7ba2 mark everything in setting as GEODE_DLL? 2022-04-29 13:32:56 +03:00
HJfod
d3fe5a1002 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-29 13:10:15 +03:00
HJfod
770006c093 add ccColor3B comparators + settings stuff 2022-04-29 13:09:50 +03:00
HJfod
bc0843c853 add GEODE_DLL to setting 2022-04-29 13:01:33 +03:00
HJfod
7310e64249 add setting update callback function to mod 2022-04-29 12:13:09 +03:00
HJfod
563cd32716 add missing member to CCSpriteFrame 2022-04-28 22:29:33 +03:00
altalk23
c171993e89 Merge branch 'main' of https://github.com/geode-sdk/sdk 2022-04-28 22:07:50 +03:00
altalk23
f7c481e93f add 3 bools to cceglview 2022-04-28 22:07:31 +03:00
altalk23
384b3a1fde change unordered_map to map because i think it crashed otherwise idk my memory is blurry just like when i see you 2022-04-28 19:57:22 +03:00
altalk23
87b7a56479 msvc ignoring template metaprogramming moment 2022-04-28 19:56:00 +03:00
altalk23
bb0c3d2db0 Merge branch 'main' of https://github.com/geode-sdk/sdk 2022-04-28 14:28:57 +03:00
altalk23
b7ef1b18df add functions to link 2022-04-28 14:28:54 +03:00
HJfod
dcfa8d98bb Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-28 14:27:27 +03:00
HJfod
8347f458e6 add missing stuff like members + CCContentManager 2022-04-28 14:26:59 +03:00
altalk23
6adbd37048 Merge main 2022-04-28 12:29:31 +03:00
altalk23
bb4194538b fix macros includes 2022-04-28 12:28:26 +03:00
HJfod
d1c83b5dae rename node.hpp to cocos.hpp + add function for checking if sprite
exists
2022-04-28 11:45:18 +03:00
HJfod
6e00ec6a26 fix include directories 2022-04-28 00:06:25 +03:00
altalk23
31e0a1305b please i beg you work please please please please please please please please 2022-04-27 22:23:06 +03:00
altalk23
cc355b6df4 i have hit into a brick wall 2022-04-27 21:12:28 +03:00
altalk23
95675b96b5 include addresser 2022-04-27 20:56:09 +03:00
hjfod
0a33d606e2 add stuff to CCMouseDispatcher in a desperate attempt to get hooking
onGLFWMouseCallBack to work
2022-04-27 17:29:21 +03:00
altalk23
d3eeca23c2 Merge branch 'main' of https://github.com/geode-sdk/sdk 2022-04-27 14:15:59 +03:00
altalk23
ef4e09bd51 Merge main 2022-04-27 14:15:48 +03:00
altalk23
fec1432642 :nerd: references must be initialized 2022-04-27 13:19:32 +03:00
altalk23
1000c3df7e im such a silly girl today 2022-04-27 12:39:43 +03:00
altalk23
f278715d93 oops 2022-04-27 12:35:18 +03:00
altalk23
ab3be9f888 fix optcall 0 params 2022-04-27 12:28:31 +03:00
hjfod
aa8da3687e add GEODE_FRIEND_MODIFY to CCControlColourPicker 2022-04-27 12:27:44 +03:00
altalk23
841781fc6b fix signed unsigned 2022-04-27 12:12:25 +03:00
altalk23
ef60e6fcf6 too much cleanup 2022-04-27 12:04:16 +03:00
altalk23
9eb23ee454 fix the vararg substitution and more shared cleanup 2022-04-26 22:47:22 +03:00
HJfod
27937b5144 new node utility functions 2022-04-26 22:35:44 +03:00
HJfod
ed35b7d2d8 fix CCControl vtable + setting getters + addresses 2022-04-25 19:12:14 +03:00
HJfod
14fc9e8971 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-25 11:44:24 +03:00
HJfod
319aa44381 add ability to set arrow step increment amount for int and float
settings
2022-04-25 11:43:24 +03:00
altalk23
27001f64f9 more progress 2022-04-23 11:43:32 +03:00
altalk23
65deabea53 a lot of changes 2022-04-22 12:47:54 +03:00
HJfod
82577e934d add getPrecision to float setting 2022-04-21 16:35:07 +03:00
HJfod
60fb2e6fd3 disable Log reference warning for now 2022-04-16 22:33:40 +03:00
HJfod
6c3d74c92c fix sign warnings in handler 2022-04-16 22:15:38 +03:00
Cvolton
888de9150f
Add getControllerConnected() to Windows CCApplication 2022-04-16 18:52:04 +02:00
Cvolton
7a2593003e
Add controller keycodes 2022-04-16 18:43:59 +02:00
camila314
11f3508fc8 none of this works xd 2022-04-14 01:32:24 -05:00
altalk23
3da8db1719 add geode dll to core funcs 2022-04-11 21:48:26 +03:00
mat
3a056fafe2
Remove GEODE_DLL from templated method in Interface 2022-04-11 15:18:20 -03:00
altalk23
16213f22f5 merge main 2022-04-11 17:46:50 +03:00
altalk23
de626ddc79 remove handler prints 2022-04-11 15:21:33 +03:00
altalk23
0811ae92c5 even dumber 2022-04-11 14:02:53 +03:00
altalk23
81ca3c9dc6 im so dumb - fix post increment twice 2022-04-11 13:59:59 +03:00
altalk23
cba0aee7fe revert relwithdebuginfo 2022-04-11 13:09:41 +03:00
camila314
160be11cc3 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-10 13:28:57 -05:00
camila314
a9d3369486 ios 2022-04-10 13:28:51 -05:00
HJfod
e7a143e99e GEODE_DLL should not be used on templated classes 2022-04-08 12:21:28 +03:00
altalk23
76dc6a55ec add prints 2022-04-07 11:44:07 +03:00
HJfod
4ad66f5276 add GEODE_DLL to coverage funcs (wow im a windows dev and i forgot that) 2022-04-03 21:15:09 +03:00
HJfod
9e96d7f511 add node coverage calculating utilities 2022-04-03 21:08:19 +03:00
altalk23
393479d2ba fix hook 2 2022-04-03 01:38:50 +03:00
altalk23
fabc0c0856 fix hook.hpp 2022-04-03 01:38:22 +03:00
altalk23
2153caefc8 Merge branch 'main' into inline-hook 2022-04-02 23:50:20 +03:00
altalk23
77ffdc3246 Merge branch 'main' into inline-hook 2022-04-02 23:40:19 +03:00
camila314
2a0bd19990 notif macro update v2 2022-04-02 01:47:15 -05:00
camila314
4723486ebe notif macro 2022-04-02 01:10:38 -05:00
camila314
10c8f02024 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-02 01:04:55 -05:00
camila314
2bedb68c31 schedule function system 2022-04-02 01:04:49 -05:00
camila314
9a2ec1abb5 notification update v1 2022-04-02 00:54:43 -05:00
camila314
b4b8ca1df8 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-01 15:22:16 -05:00
HJfod
29733e0ca0 add new color utils + operators + fix wacky geode macros
+ CCCircleWave::followObject fix, Slider::create fix, ~CCScrollLayerExt on
windows, CCMenuItemSpriteExtra::init fix, CCContentLayer::setPosition,
2022-04-01 22:31:59 +03:00
camila314
111485f7f2 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-04-01 11:22:17 -05:00
camila314
dde7eb8bfe hmm 2022-04-01 11:22:15 -05:00
HJfod
6905685035 add web browser url opening utility (mac users please implement) 2022-04-01 00:10:21 +03:00
altalk23
14b79483d1 add a cocos func + a getter for macos 2022-03-28 12:09:56 +03:00
altalk23
bc02ae1541 starts-ends with 2022-03-28 11:56:25 +03:00
HJfod
d9faa362a1 change _sprite -> _spr 2022-03-26 21:39:18 +02:00
HJfod
5e984cfa85 add string_utils::toUpper 2022-03-24 10:59:43 +02:00
altalk23
983c85bc56 inline hook entirely works 2022-03-23 16:17:41 +03:00
altalk23
8dd2e9433b at least it compiles 2022-03-23 11:16:06 +03:00
altalk23
4df9ef247d header moving done 2022-03-22 15:24:35 +03:00
altalk23
89b4be7dd2 first iteration on implementing inline hooking, moved the proof of concept 2022-03-22 12:34:00 +03:00
HJfod
ecd13c66a8 some fix i think? 2022-03-21 22:22:26 +02:00
camila314
04f94ccc28 Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-03-21 11:35:45 -05:00
camila314
2382231b72 fix log 2022-03-21 11:35:35 -05:00
altalk23
18f684cf26 Merge branch 'main' of https://github.com/geode-sdk/sdk 2022-03-21 19:29:20 +03:00
altalk23
8bdc55248d inline missing getters 2022-03-21 19:29:15 +03:00
camila314
e184b2bbb9 log changes 2022-03-21 11:28:46 -05:00
HJfod
8b234542a6 fixes 2022-03-20 22:05:51 +02:00
HJfod
2d4899c8d7 *crying anime girl* babe please add GEODE_DLL to stuff you add in SDK
*chad* no
2022-03-20 21:34:42 +02:00
HJfod
363ff21f51 Types update, don't know what 2022-03-19 16:54:54 +02:00
camila314
33a83846f5 firecubez's idea on static event stuff 2022-03-17 12:21:32 -05:00
camila314
1aafc7b342 unordered is better 2022-03-17 09:16:18 -05:00
camila314
fcba9e1f2c macro 2022-03-17 09:05:50 -05:00
camila314
dc29b36fc6 fix thing 2022-03-16 17:20:43 -05:00
hjfod
463e283436 Store mod load error info 2022-03-11 17:31:43 +02:00
HJfod
27240e54c6 fix Mod::get() + hook cconvs 2022-03-11 13:43:38 +02:00
altalk23
9a90a7f292 why did this work previously what 2022-03-11 00:13:41 +03:00
altalk23
bab5d6590d replace Interface::mod and Interface::mod->log instances 2022-03-11 00:10:39 +03:00
altalk23
aeaa4a3cb3 Log::get and Mod::get additions 2022-03-10 23:50:25 +03:00
altalk23
eaec17986b merge 2022-03-08 10:40:56 +03:00
altalk23
c660cc2c2e fix include 2022-03-08 10:40:28 +03:00
altalk23
303c03b10e revert comment 2022-03-08 10:37:31 +03:00
altalk23
465348ae4c fix reinterpret_cast problem of member function pointers on msvc compiler everyone hates msvc compiler 2022-03-08 10:35:32 +03:00
altalk23
33a502bc08 i forgot windows users 2022-03-07 20:42:53 +03:00
altalk23
5a58b35795 i forgot how c++ works 2022-03-07 20:41:48 +03:00
altalk23
4b493929f8 move operator _sprite to header 2022-03-07 20:39:44 +03:00
altalk23
03b93dc99b move interface allocation to loader + move _sprite outside 2022-03-07 20:07:38 +03:00
altalk23
0239463ea4 remove apimod 2022-03-07 19:52:29 +03:00
camila314
0d786e9eb6 merger 2022-03-06 21:49:25 -05:00
camila314
da591b901d whats this ... 2022-03-06 21:49:01 -05:00
altalk23
c0e9ac56ed remove redundancy 2022-03-06 23:15:13 +03:00
altalk23
256a1b3a59 function link working 2022-03-06 20:21:16 +03:00
altalk23
5a6dfde0d0 remove mutable + return const object reference 2022-03-06 16:17:09 +03:00
altalk23
5ae00279a8 make notification object mutable and use map instead of unordered_map to fix rehashing crashes 2022-03-06 16:06:14 +03:00
altalk23
ae51016d05 use std::any for notification 2022-03-06 15:20:05 +03:00
altalk23
fb97750df5 fix inttohex 2022-03-06 14:58:10 +03:00
camila314
6fe4a93310 remove queue 2022-03-05 22:52:16 -05:00
camila314
16ec06503b ok it works 2022-03-05 22:00:29 -05:00
camila314
819d5bdc88 oopsie 2022-03-05 21:47:58 -05:00
camila314
13c28ea414 notification omg 2022-03-05 21:43:25 -05:00
altalk23
9b8117ce3e fix intToHex 2022-03-05 14:12:03 +03:00
altalk23
116eef37be ccarraylog + hardstreak offsets 2022-03-05 13:59:07 +03:00
altalk23
f4b65e19d7 fix cocos ccs for windows 2022-03-04 00:02:33 +03:00
camila314
da9c29145d Merge branch 'main' of https://github.com/geode-sdk/sdk into main 2022-03-01 07:39:41 -06:00
camila314
385128b762 addresses, fix operator<< thing 2022-03-01 07:39:37 -06:00
altalk23
893253246c some header update 2022-03-01 11:57:23 +03:00
camila314
74ad44f824 implicit_entry cmake flag is useless, and added cocos stuff. apologies for last commit name 2022-02-27 08:36:27 -06:00
camila314
bf682f6a29 stuff 2022-02-27 08:33:31 -06:00
altalk23
3d06579e38 some converts i didnt use 2022-02-26 17:01:46 +03:00
camila314
f1736d0f2b Log::get 2022-02-20 15:30:14 -06:00
altalk23
9114423d83 move macros 2022-02-20 18:14:37 +03:00
altalk23
4c85330eaa readd field 2022-02-20 17:54:04 +03:00
camila314
dc6651b4e8 move geode dir to documents on mac 2022-02-19 21:10:39 -06:00
altalk23
e42bc0a670 we dont really need it 2022-02-19 14:20:08 +03:00
altalk23
604b6730de what 2022-02-19 14:18:04 +03:00
altalk23
55141054de move default call conv to meta 2022-02-19 14:02:39 +03:00
altalk23
f020411ad2 using 2022-02-19 13:44:32 +03:00
altalk23
e5c67fa567 fix myconv 2022-02-19 13:35:54 +03:00