Replace include guards with pragma once

This commit is contained in:
2023-10-05 21:40:04 +02:00
parent b9cfbaec6b
commit c976141c51
42 changed files with 83 additions and 193 deletions

View File

@@ -1,5 +1,4 @@
#ifndef __FONT_WRITER_HPP__
#define __FONT_WRITER_HPP__
#pragma once
#include "../assets.hpp"
#include <PSX/GPU/gpu.hpp>
#include <stdint.h>
@@ -46,6 +45,4 @@ namespace FontWriter {
Position write(Position pos, const char* text);
};
}
#endif //!__FONT_WRITER_HPP__
}

View File

@@ -1,5 +1,4 @@
#ifndef __PACO_HPP__
#define __PACO_HPP__
#pragma once
#include <PSX/File/Processor/cd_file_processor.hpp>
#include <PSX/GPU/gpu.hpp>
#include <PSX/Timer/frame_timer.hpp>
@@ -35,6 +34,4 @@ namespace object {
void update();
void render();
};
}
#endif //!__PACO_HPP__
}

View File

@@ -1,5 +1,4 @@
#ifndef __ASSETS_HPP__
#define __ASSETS_HPP__
#pragma once
#include <PSX/File/Processor/cd_file_processor.hpp>
namespace Assets {
@@ -7,6 +6,4 @@ namespace Assets {
static constexpr auto FontTIM = SimpleTIM(960, 0, 960, 511);
void load_for_main();
}
#endif //!__ASSETS_HPP__
}