fixes and optimizations

This commit is contained in:
Andrew Haynes Macbook
2026-01-09 14:56:59 -05:00
parent b5a79de6c0
commit 1fa3293df0
11 changed files with 163 additions and 296 deletions
-22
View File
@@ -1,22 +0,0 @@
#ifndef DATA_HPP
#define DATA_HPP
#include "globals.hpp"
#include <SFML/Graphics/Color.hpp>
#include <SFML/System/Vector2.hpp>
struct Map {
const char map[MAX_ROWS][MAX_COLS];
};
struct Player {
sf::Vector2<float> size { TILESIZE / 2.0f, TILESIZE / 2.0f };
sf::Vector2<float> pos { TILESIZE, TILESIZE };
float max_velocity_y { 15.0f };
float border_size { -1.0f };
float dash_distance { 20.0f };
sf::Vector2f velocity { 3.0f, 0 };
};
#endif