Revise includes

master
rhinoduck 3 years ago
parent 7a9182fb01
commit d0ae7ea781

@ -18,7 +18,6 @@
#define WADCPP_LEVEL_H
#include "common.h"
#include "linedef.h"
#include "lump.h"
#include "sector.h"
@ -26,6 +25,7 @@
#include "thing.h"
#include "vertex.h"
#include <cstddef>
#include <string>
#include <vector>

@ -19,8 +19,6 @@
#include <cstdint>
#include <string>
#include <memory>
#include <vector>
class Lump
{

@ -17,6 +17,8 @@
#ifndef WADCPP_VERTEX_H
#define WADCPP_VERTEX_H
#include <cstdint>
class Vertex
{
public:

@ -17,8 +17,9 @@
#include "level.h"
#include <cstdint>
#include <cstdlib> // DEV: Only for std::exit().
#include <cstring>
#include <iostream>
#include <iostream> // DEV: Only for an error message.
Level::Level(const std::vector<Lump>::const_iterator lumpsIt,
LevelFormat format) :

@ -16,6 +16,8 @@
#include "lump.h"
#include <utility>
Lump::Lump(const std::string& name, uint8_t* data, uint32_t dataSize,
uint32_t offset) :
name(name),

@ -21,8 +21,8 @@
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <ios>
#include <fstream>
#include <memory>
// only here because cppcheck complains, these always get set to false in the
// load() method

Loading…
Cancel
Save