Clean up header includes.

This commit is contained in:
Zed A. Shaw 2025-02-04 13:26:22 -05:00
parent 1d3a76e5ee
commit 75ffb49a53
4 changed files with 10 additions and 25 deletions

10
gui.cpp
View file

@ -1,16 +1,10 @@
#include "gui.hpp"
#include "raycaster.hpp"
#include <iostream>
#include <chrono>
#include <numeric>
#include <functional>
#include "constants.hpp"
#include "stats.hpp"
#include "levelmanager.hpp"
#include "components.hpp"
#include "camera.hpp"
#include <numbers>
#include "fsm.hpp"
using namespace components;
@ -21,10 +15,10 @@ namespace gui {
$text{$font},
$rayview($window, $textures, RAY_VIEW_WIDTH, RAY_VIEW_HEIGHT)
{
$text.setFillColor({255,255,255});
$text.setPosition({10,10});
$window.setVerticalSyncEnabled(VSYNC);
$window.setFramerateLimit(FRAME_LIMIT);
$text.setFillColor({255,255,255});
$text.setPosition({10,10});
$textures.load_tiles();
$textures.load_sprites();
$rayview.init_shaders();