First commit that disconnects this game from the game framework so it can be its own thing.

This commit is contained in:
Zed A. Shaw 2026-03-29 11:02:02 -04:00
parent 8073997eb3
commit db60f75bd9
29 changed files with 37 additions and 36 deletions

View file

@ -11,13 +11,13 @@ TEST_CASE("test texture management", "[textures]") {
components::init();
textures::init();
auto spider = textures::get_sprite("rat_with_sword");
auto spider = textures::get_sprite("spider_bot");
REQUIRE(spider.sprite != nullptr);
REQUIRE(spider.texture != nullptr);
REQUIRE(spider.frame_size.x == TEXTURE_WIDTH);
REQUIRE(spider.frame_size.y == TEXTURE_HEIGHT);
auto image = textures::load_image("assets/sprites/rat_with_sword.png");
auto image = textures::load_image("assets/sprites/spider_bot.png");
size_t floor_tile = textures::get_id("floor_tile");
size_t gray_stone = textures::get_id("door_plain");