basic map with unbreakable & breakable block

This commit is contained in:
HENRY Benjamin
2021-05-31 17:32:30 +02:00
parent afcf15c91e
commit 38cbfa022e
11 changed files with 327 additions and 439 deletions
+19 -5
View File
@@ -22,8 +22,14 @@
#include "Drawables/3D/Sphere.hpp"
#include "Model/Model.hpp"
#include "Model/ModelAnimations.hpp"
#include "System/Renderer/Renderer3DSystem.hpp"
#include "System/Renderer/Renderer2DSystem.hpp"
#include <System/Movable/MovableSystem.hpp>
#include <Drawables/2D/Rectangle.hpp>
#include "Component/Renderer/CameraComponent.hpp"
#include <System/Renderer/RenderScreenSystem.hpp>
#include <System/Renderer/Render2DScreenSystem.hpp>
#include <System/Movable/MovableSystem.hpp>
#include <System/Renderer/Renderer2DSystem.hpp>
#include <System/Renderer/Renderer3DSystem.hpp>
#include "Component/Renderer/Drawable3DComponent.hpp"
#include "Component/Renderer/Drawable2DComponent.hpp"
#include "System/Renderer/RenderScreenSystem.hpp"
@@ -31,6 +37,11 @@
#include "Window.hpp"
#include "TraceLog.hpp"
#include "Wal.hpp"
#include "Map/Map.hpp"
#include "Models/GameState.hpp"
namespace RAY2D = RAY::Drawables::Drawables2D;
namespace RAY3D = RAY::Drawables::Drawables3D;
const std::vector<std::string>textures = {
"blue", "cyan", "green", "purple", "red", "yellow"
@@ -45,8 +56,11 @@ std::string get_full_path(const std::string &color)
return path;
}
int demo(void)
{
return (0);
}
void usage(const std::string &bin)
{
@@ -62,6 +76,6 @@ int main(int argc, char **argv)
usage(argv[0]);
return 1;
}
// return demo();
//return demo();
return BBM::run();
}