Minecraft Community Edition
0.1.0
Loading...
Searching...
No Matches
Startup.hpp
1
2
class
Startup
{
3
public
:
4
virtual
int
run() = 0;
5
};
6
7
#include "Platform.hpp"
8
#if defined(MCE_PLATFORM_WINDOWS) && defined(NDEBUG)
9
#define WIN32_LEAN_AND_MEAN
10
#include <Windows.h>
11
#define MCE_STARTUP(Startup) int WinMain(HINSTANCE, HINSTANCE, LPSTR, int) {Startup app; return app.run();}
12
#else
13
#define MCE_STARTUP(Startup) int main() {Startup app; return app.run();}
14
#endif
Startup
Definition
Startup.hpp:2
Minecraft-Community-Edition
Startup.hpp
Generated by
1.16.1