diff --git a/MiniEngine.cpp b/MiniEngine.cpp index 687a572..e4b2650 100644 --- a/MiniEngine.cpp +++ b/MiniEngine.cpp @@ -130,27 +130,3 @@ bool canexecute(std::string Path) #else /// _MINIENGINE_HAS_UNISTD == 0 /// File Functions will be implied in platform specific source file. #endif - -int _miniengine_argc; -char** _miniengine_argv; - - /// Default Setup Code -int main(int argc, char* argv[]) -{ - _miniengine_argc=argc; - _miniengine_argv=argv; - MiniEngine::SDLSystem::Init(); - int ret = AppMain(); - MiniEngine::SDLSystem::Quit(); - return ret; -} - -int GetArgc() -{ - return _miniengine_argc; -} - -char** GetArgv() -{ - return _miniengine_argv; -} diff --git a/MiniEngine.h b/MiniEngine.h index 6604e92..e48ef73 100644 --- a/MiniEngine.h +++ b/MiniEngine.h @@ -39,13 +39,3 @@ bool canread(std::string Path); bool canwrite(std::string Path); bool isexist(std::string Path); bool canexecute(std::string Path); - - /// Your Program Should Start Here -int AppMain(); - -/// MiniEngine Provides main -int main(int argc,char* argv[]); - -/// MiniEngine Provided API: Get Start Parameters -int GetArgc(); -char** GetArgv();