Textures and palette moved to graphics.

This commit is contained in:
Zed A. Shaw 2026-02-27 13:09:44 -05:00
parent b91e9ffaf6
commit 229ad2dd95
30 changed files with 31 additions and 31 deletions

View file

@ -5,7 +5,7 @@
#include "systems.hpp"
#include "components.hpp"
#include "rituals.hpp"
#include "textures.hpp"
#include "graphics/textures.hpp"
#include <list>
using lighting::LightRender;

View file

@ -1,5 +1,5 @@
#include <fmt/core.h>
#include "palette.hpp"
#include "graphics/palette.hpp"
#include "config.hpp"
#include "dbc.hpp"

View file

@ -1,4 +1,4 @@
#include "textures.hpp"
#include "graphics/textures.hpp"
#include <SFML/Graphics/Image.hpp>
#include "dbc.hpp"
#include <fmt/core.h>

View file

@ -1,9 +1,9 @@
#include "backend.hpp"
#include "shaders.hpp"
#include "sound.hpp"
#include "textures.hpp"
#include "graphics/textures.hpp"
#include "config.hpp"
#include "palette.hpp"
#include "graphics/palette.hpp"
namespace sfml {
using namespace nlohmann;

View file

@ -2,7 +2,7 @@
#include "components.hpp"
#include "events.hpp"
#include <guecs/ui.hpp>
#include "textures.hpp"
#include "graphics/textures.hpp"
namespace guecs {
Clickable make_action(guecs::Entity gui_id, game::Event event);

View file

@ -10,7 +10,7 @@
#include <iostream>
#include <fmt/xchar.h>
#include <fstream>
#include "palette.hpp"
#include "graphics/palette.hpp"
#include "game_level.hpp"
constexpr const int MAP_WIDTH=13;

View file

@ -1,5 +1,5 @@
#pragma once
#include "textures.hpp"
#include "graphics/textures.hpp"
#include "algos/matrix.hpp"
#include <guecs/ui.hpp>
#include <string>

View file

@ -1,5 +1,5 @@
#pragma once
#include "textures.hpp"
#include "graphics/textures.hpp"
#include <guecs/ui.hpp>
#include <memory>

View file

@ -1,7 +1,7 @@
#pragma once
#include "constants.hpp"
#include <deque>
#include "textures.hpp"
#include "graphics/textures.hpp"
#include <guecs/ui.hpp>
#include "rituals.hpp"
#include "simplefsm.hpp"

View file

@ -1,7 +1,7 @@
#pragma once
#include "constants.hpp"
#include <deque>
#include "textures.hpp"
#include "graphics/textures.hpp"
#include <guecs/ui.hpp>
#include "gui/ritual_ui.hpp"
#include "gui/guecstra.hpp"

View file

@ -1,6 +1,6 @@
#include "lights.hpp"
#include "constants.hpp"
#include "textures.hpp"
#include "graphics/textures.hpp"
#include <vector>
using std::vector;

View file

@ -1,5 +1,5 @@
#include "gui/fsm.hpp"
#include "textures.hpp"
#include "graphics/textures.hpp"
#include "sound.hpp"
#include "autowalker.hpp"
#include "ai/ai.hpp"

View file

@ -33,8 +33,8 @@ sources = files(
'storyboard/ui.cpp',
# graphics
'textures.cpp',
'palette.cpp',
'graphics/textures.cpp',
'graphics/palette.cpp',
'shaders.cpp',
'scene.cpp',
'animation.cpp',

View file

@ -8,7 +8,7 @@
#include <memory>
#include <numbers>
#include "components.hpp"
#include "textures.hpp"
#include "graphics/textures.hpp"
#include "systems.hpp"
#include "shaders.hpp"
#include "animation.hpp"

View file

@ -4,7 +4,7 @@
#include <SFML/System/Clock.hpp>
#include "algos/spatialmap.hpp"
#include "game_level.hpp"
#include "textures.hpp"
#include "graphics/textures.hpp"
using matrix::Matrix;
using RGBA = uint32_t;

View file

@ -2,7 +2,7 @@
#include <memory>
#include <unordered_map>
#include "textures.hpp"
#include "graphics/textures.hpp"
#include <SFML/Graphics/RenderWindow.hpp>
#include <guecs/ui.hpp>
#include "camera.hpp"

View file

@ -5,7 +5,7 @@
#include "components.hpp"
#include "rituals.hpp"
#include "algos/maze.hpp"
#include "textures.hpp"
#include "graphics/textures.hpp"
#include "inventory.hpp"
#include "systems.hpp"
#include "animation.hpp"