Now have the ability to load different textures for the floor, not ceiling though, it just matches the floor.
This commit is contained in:
parent
8453e7c3b9
commit
e015652f4c
5 changed files with 40 additions and 22 deletions
|
@ -38,7 +38,8 @@ struct Raycaster {
|
|||
std::unordered_map<DinkyECS::Entity, textures::SpriteTexture> $sprites;
|
||||
|
||||
GameLevel $level;
|
||||
Matrix $map;
|
||||
Matrix $tiles;
|
||||
Matrix $walls;
|
||||
std::vector<double> $zbuffer; // width
|
||||
|
||||
Raycaster(int width, int height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue