mirror of
https://github.com/ssloy/tinyraycaster.git
synced 2025-01-16 12:49:38 +01:00
24 lines
387 B
C++
24 lines
387 B
C++
#ifndef TINYRAYCASTER_H
|
|
#define TINYRAYCASTER_H
|
|
|
|
#include <vector>
|
|
|
|
#include "map.h"
|
|
#include "player.h"
|
|
#include "sprite.h"
|
|
#include "framebuffer.h"
|
|
#include "textures.h"
|
|
|
|
struct GameState {
|
|
Map map;
|
|
Player player;
|
|
std::vector<Sprite> monsters;
|
|
Texture tex_walls;
|
|
Texture tex_monst;
|
|
};
|
|
|
|
void render(FrameBuffer &fb, const GameState &gs);
|
|
|
|
#endif // TINYRAYCASTER_H
|
|
|