16 lines
397 B
C++
16 lines
397 B
C++
// main.cpp - Thin entrypoint.
|
|
//
|
|
// The full SDL initialization, loading screen, state machine, game loop, and shutdown
|
|
// are intentionally kept out of this file (see `TetrisApp`) to keep the entrypoint
|
|
// small and keep orchestration separate from gameplay/state code.
|
|
|
|
#include <SDL3/SDL_main.h>
|
|
|
|
#include "app/TetrisApp.h"
|
|
|
|
int main(int, char **)
|
|
{
|
|
TetrisApp app;
|
|
return app.run();
|
|
}
|