diff options
author | Aki <please@ignore.pl> | 2022-05-07 23:51:13 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-05-07 23:51:13 +0200 |
commit | 8ad11975221b1448865400cab14a1560b71c6ade (patch) | |
tree | c2f54c25097b6534dd5ec386d37d6f3f0222ec92 /main.cpp | |
parent | 313b7a531106c623a28883db515f245a74a5fafb (diff) | |
download | derelict-8ad11975221b1448865400cab14a1560b71c6ade.zip derelict-8ad11975221b1448865400cab14a1560b71c6ade.tar.gz derelict-8ad11975221b1448865400cab14a1560b71c6ade.tar.bz2 |
Added support for sample dump loading
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ #include <raylib.h> -#include "ExampleSource.h" +#include "DumpSource.h" #include "View.h" @@ -12,7 +12,7 @@ main(int argc, char* argv[]) InitWindow(800, 600, "Derelict"); SetWindowState(FLAG_WINDOW_RESIZABLE); SetTargetFPS(60); - View view(std::make_unique<ExampleSource>()); + View view(std::make_unique<DumpSource>("sample.json")); while (!WindowShouldClose()) { view.update(GetFrameTime()); |