Algos directory is setup.
This commit is contained in:
parent
0064664556
commit
b91e9ffaf6
38 changed files with 46 additions and 47 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#include "dbc.hpp"
|
||||
#include "goap.hpp"
|
||||
#include "ai_debug.hpp"
|
||||
#include "stats.hpp"
|
||||
#include "algos/stats.hpp"
|
||||
#include <queue>
|
||||
|
||||
// #define DEBUG_CYCLES 1
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#include <fmt/core.h>
|
||||
#include <string>
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include "constants.hpp"
|
||||
#include "maze.hpp"
|
||||
#include "algos/maze.hpp"
|
||||
|
||||
using std::string;
|
||||
using matrix::Matrix;
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#include "constants.hpp"
|
||||
#include "pathing.hpp"
|
||||
#include "algos/pathing.hpp"
|
||||
#include "dbc.hpp"
|
||||
#include <vector>
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
|
||||
namespace Random {
|
||||
std::random_device RNG;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#include "spatialmap.hpp"
|
||||
#include "algos/spatialmap.hpp"
|
||||
#include <fmt/core.h>
|
||||
|
||||
using namespace fmt;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#include "stats.hpp"
|
||||
#include "algos/stats.hpp"
|
||||
#include <fmt/core.h>
|
||||
#include "dbc.hpp"
|
||||
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
#include <memory>
|
||||
#include <chrono>
|
||||
#include "dbc.hpp"
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include "sound.hpp"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include "boss/system.hpp"
|
||||
#include "game_level.hpp"
|
||||
#include <iostream>
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include "events.hpp"
|
||||
|
||||
namespace boss {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include "components.hpp"
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
|
||||
namespace components {
|
||||
int Combat::attack(Combat &target) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include "animation.hpp"
|
||||
#include <fmt/core.h>
|
||||
#include <unordered_map>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#include "lights.hpp"
|
||||
#include "map.hpp"
|
||||
#include <memory>
|
||||
#include "spatialmap.hpp"
|
||||
#include "algos/spatialmap.hpp"
|
||||
|
||||
namespace components {
|
||||
struct Position;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <SFML/Graphics/RenderWindow.hpp>
|
||||
#include <SFML/Graphics/Font.hpp>
|
||||
#include <guecs/ui.hpp>
|
||||
#include "stats.hpp"
|
||||
#include "algos/stats.hpp"
|
||||
|
||||
namespace gui {
|
||||
class DebugUI {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <SFML/Graphics/RenderWindow.hpp>
|
||||
#include <SFML/System/Clock.hpp>
|
||||
#include "stats.hpp"
|
||||
#include "algos/stats.hpp"
|
||||
#include <guecs/ui.hpp>
|
||||
#include "gui/overlay_ui.hpp"
|
||||
#include "gui/debug_ui.hpp"
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
#include <string>
|
||||
#include "dbc.hpp"
|
||||
#include "components.hpp"
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include "systems.hpp"
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include <codecvt>
|
||||
#include <iostream>
|
||||
#include <fmt/xchar.h>
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
#include <string>
|
||||
#include "dbc.hpp"
|
||||
#include "components.hpp"
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include "systems.hpp"
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include <codecvt>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#include "gui/ritual_ui.hpp"
|
||||
#include <guecs/ui.hpp>
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include "sound.hpp"
|
||||
#include "events.hpp"
|
||||
#include "game_level.hpp"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#include "gui/status_ui.hpp"
|
||||
#include "components.hpp"
|
||||
#include <guecs/ui.hpp>
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include <fmt/xchar.h>
|
||||
#include "gui/guecstra.hpp"
|
||||
#include "systems.hpp"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include "point.hpp"
|
||||
#include <algorithm>
|
||||
#include "algos/matrix.hpp"
|
||||
#include "pathing.hpp"
|
||||
#include "algos/pathing.hpp"
|
||||
#include "components.hpp"
|
||||
|
||||
namespace lighting {
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
#include "map.hpp"
|
||||
#include "dbc.hpp"
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include <vector>
|
||||
#include <array>
|
||||
#include <fmt/core.h>
|
||||
#include <utility>
|
||||
#include "algos/matrix.hpp"
|
||||
#include "rand.hpp"
|
||||
|
||||
using std::vector, std::pair;
|
||||
using namespace fmt;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include <fmt/core.h>
|
||||
#include "point.hpp"
|
||||
#include "lights.hpp"
|
||||
#include "pathing.hpp"
|
||||
#include "algos/pathing.hpp"
|
||||
#include "algos/matrix.hpp"
|
||||
#include "constants.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -45,11 +45,11 @@ sources = files(
|
|||
|
||||
# algos
|
||||
'algos/matrix.cpp',
|
||||
'maze.cpp',
|
||||
'pathing.cpp',
|
||||
'rand.cpp',
|
||||
'spatialmap.cpp',
|
||||
'stats.cpp',
|
||||
'algos/maze.cpp',
|
||||
'algos/pathing.cpp',
|
||||
'algos/rand.cpp',
|
||||
'algos/spatialmap.cpp',
|
||||
'algos/stats.cpp',
|
||||
|
||||
# game
|
||||
'systems.cpp',
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <SFML/Graphics.hpp>
|
||||
#include <SFML/System/Clock.hpp>
|
||||
#include "spatialmap.hpp"
|
||||
#include "algos/spatialmap.hpp"
|
||||
#include "game_level.hpp"
|
||||
#include "textures.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include <algorithm>
|
||||
#include <fmt/core.h>
|
||||
#include "point.hpp"
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include "dbc.hpp"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
#include <fmt/core.h>
|
||||
#include <string>
|
||||
#include <cmath>
|
||||
#include "rand.hpp"
|
||||
#include "spatialmap.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include "algos/spatialmap.hpp"
|
||||
#include "dbc.hpp"
|
||||
#include "lights.hpp"
|
||||
#include "events.hpp"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include "components.hpp"
|
||||
#include <SFML/Graphics/RenderTexture.hpp>
|
||||
#include "map.hpp"
|
||||
#include "spatialmap.hpp"
|
||||
#include "algos/spatialmap.hpp"
|
||||
#include "game_level.hpp"
|
||||
|
||||
namespace System {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#include "worldbuilder.hpp"
|
||||
#include "rand.hpp"
|
||||
#include "algos/rand.hpp"
|
||||
#include <fmt/core.h>
|
||||
#include <iostream>
|
||||
#include "components.hpp"
|
||||
#include "rituals.hpp"
|
||||
#include "maze.hpp"
|
||||
#include "algos/maze.hpp"
|
||||
#include "textures.hpp"
|
||||
#include "inventory.hpp"
|
||||
#include "systems.hpp"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include "map.hpp"
|
||||
#include "dinkyecs.hpp"
|
||||
#include "components.hpp"
|
||||
#include "spatialmap.hpp"
|
||||
#include "algos/spatialmap.hpp"
|
||||
|
||||
class WorldBuilder {
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue