SDL_Game_CPP git · main
git clone https://git.christianimmanuel.de/sdl-graphics/SDL_Game_CPP.gitwget https://git.christianimmanuel.de/sdl-graphics/SDL_Game_CPP/archive/SDL_Game_CPP.tar.gzmain.cpp raw
#include "src/defaults/input.hpp"
#include "src/defaults/defaults.hpp"
#include "src/game/game.hpp"
int main(int argc, char** argv) {
if (argc == 2 && std::string(argv[1]) == "--fullscreen") {
Default::is_fullscreen = true;
// window size is ignored in fullscreen-desktop mode
}
Game game;
game.Run();
return 0;
}