summaryrefslogtreecommitdiffhomepage
path: root/src/main.cpp
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-11-04 19:58:52 -0400
committerrealtradam <[email protected]>2022-11-04 19:58:52 -0400
commitf32e06ab49889b50bba195729af19d3bc878f976 (patch)
tree975df20f86f9405e4321dc14265c145b9e876a3e /src/main.cpp
parent4c5b6f580133f9e9c02b5cb2243b43ff15b20304 (diff)
downloadorbital_game-f32e06ab49889b50bba195729af19d3bc878f976.tar.gz
orbital_game-f32e06ab49889b50bba195729af19d3bc878f976.zip
added renderer system
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 827368d..0cda8fb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,5 +1,6 @@
#include "raylib.h"
-#include "resources.h"
+#include "resources.hpp"
+#include "renderer.hpp"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
@@ -15,7 +16,7 @@ int main(void)
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
- auto ship = Resources::Sprite("ship", (Rectangle){1365,1696,198,188});
+ auto ship = Renderer::Sprite("ship", (Rectangle){1365,1696,198,188});
// Main game loop
while (!WindowShouldClose()) // Detect window close button or ESC key