|
|
|
@ -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(); |
|
|
|
|