mirror of
https://github.com/HarbourMasters/Starship
synced 2026-08-01 16:30:07 -04:00
Added IOS Support
This commit is contained in:
committed by
Sonic Dreamcaster
parent
f71ebdca82
commit
dc9e25847d
+1
-1
@@ -50,7 +50,7 @@ GameEngine::GameEngine() {
|
||||
}
|
||||
}
|
||||
|
||||
this->context = LUS::Context::CreateInstance("Lylat64", "sf64", "lylat.cfg.json", OTRFiles, {}, 3);
|
||||
this->context = LUS::Context::CreateInstance("Starship", "ship", "starship.cfg.json", OTRFiles, {}, 3);
|
||||
|
||||
auto loader = context->GetResourceManager()->GetResourceLoader();
|
||||
loader->RegisterResourceFactory(std::make_shared<SF64::ResourceFactoryBinaryAnimV0>(), RESOURCE_FORMAT_BINARY, "Animation", static_cast<uint32_t>(SF64::ResourceType::AnimData), 0);
|
||||
|
||||
+4
-1
@@ -31,7 +31,10 @@ void push_frame() {
|
||||
#ifdef _WIN32
|
||||
int SDL_main(int argc, char **argv) {
|
||||
#else
|
||||
int main(){
|
||||
#if defined(__cplusplus) && defined(PLATFORM_IOS)
|
||||
extern "C"
|
||||
#endif
|
||||
int main(int argc, char *argv[]) {
|
||||
#endif
|
||||
GameEngine::Create();
|
||||
Main_SetVIMode();
|
||||
|
||||
Reference in New Issue
Block a user