Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
sthalik committed Jan 13, 2024
1 parent 36c5c7e commit 6f85fbd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 20 deletions.
1 change: 0 additions & 1 deletion editor/vobj-editor.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "vobj-editor.hpp"
#include "loader/vobj-info.hpp"
#include "loader/loader.hpp"
#include "src/world.hpp"
#include "src/light.hpp"
Expand Down
1 change: 0 additions & 1 deletion loader/impl.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "impl.hpp"
#include "compat/assert.hpp"
#include "loader/scenery.hpp"
#include "loader/vobj-info.hpp"
#include "loader/wall-info.hpp"
#include "src/ground-atlas.hpp"
#include <Corrade/Containers/Pair.h>
Expand Down
8 changes: 7 additions & 1 deletion loader/loader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "src/pass-mode.hpp"
#include <stdio.h>
#include <memory>
#include <Corrade/Containers/StringView.h>
#include <Corrade/Containers/String.h>

namespace Magnum { using Vector2ub = Math::Vector2<unsigned char>; }
namespace floormat { struct serialized_scenery; }
Expand All @@ -21,6 +21,12 @@ struct ground_info;
struct wall_info;
class wall_atlas;

struct vobj_info final
{
String name, descr;
std::shared_ptr<anim_atlas> atlas;
};

struct loader_
{
virtual StringView shader(StringView filename) noexcept = 0;
Expand Down
15 changes: 0 additions & 15 deletions loader/vobj-info.hpp

This file was deleted.

1 change: 0 additions & 1 deletion loader/vobj.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "impl.hpp"
#include "loader/vobj-info.hpp"
#include "serialize/json-helper.hpp"
#include "serialize/corrade-string.hpp"
#include "src/anim-atlas.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/light.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "light.hpp"
#include "shaders/shader.hpp"
#include "loader/loader.hpp"
#include "loader/vobj-info.hpp"
#include <cmath>

namespace floormat {
Expand Down

0 comments on commit 6f85fbd

Please sign in to comment.