geode/loader/test/dependency/main.cpp

15 lines
416 B
C++
Raw Normal View History

2022-07-30 12:24:03 -04:00
#include <Geode/Geode.hpp>
USE_GEODE_NAMESPACE();
GEODE_API bool GEODE_CALL geode_load(Mod*) {
// Dispatcher::get()->addFunction<void(GJGarageLayer*)>("test-garage-open", [](GJGarageLayer* gl) {
// auto label = CCLabelBMFont::create("Dispatcher works!", "bigFont.fnt");
// label->setPosition(100, 80);
// label->setScale(.4f);
// label->setZOrder(99999);
// gl->addChild(label);
// });
return true;
}