Refactor 2D map drawing.

2D level represntation now drawn as minimap in it's own texture.
This commit is contained in:
2023-04-16 02:17:11 +01:00
parent 0acfb6e0a9
commit bce640219f
8 changed files with 162 additions and 125 deletions
+10
View File
@@ -0,0 +1,10 @@
#ifndef MINIMAP_H
#define MINIMAP_H
#include <SFML/Graphics.hpp>
#include "camera.h"
int minimap_init(unsigned int size);
void minimap_update(sf::RenderTarget* renderTarget, Camera* camera);
#endif