Use hpp suffix for cpp headers (#33)

This commit is contained in:
David Chavez 2024-06-03 20:31:52 +02:00 committed by GitHub
parent 53072cb289
commit 9f0dd2fcd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 18 additions and 18 deletions

View file

@ -5,7 +5,7 @@
#include <filesystem>
#include "recomp.h"
#include "rsp.h"
#include "rsp.hpp"
#include <ultramodern/ultramodern.hpp>
namespace recomp {

View file

@ -2,7 +2,7 @@
#define __RECOMP_OVERLAYS_H__
#include <cstdint>
#include "sections.h"
#include "sections.hpp"
namespace recomp {
struct overlay_section_table_data_t {

View file

@ -3,7 +3,7 @@
#include <cstdio>
#include "rsp_vu.h"
#include "rsp_vu.hpp"
#include "recomp.h"
#include "ultramodern/ultra64.h"

View file

@ -1,5 +1,5 @@
#include <ultramodern/ultramodern.hpp>
#include "recomp_helpers.h"
#include "helpers.hpp"
static ultramodern::input_callbacks_t input_callbacks;

View file

@ -28,7 +28,7 @@
#include <codecvt>
#include <string>
#include <string_view>
#include "euc-jp.h"
#include "euc-jp.hpp"
namespace Encoding {
// JIS X 0201 to Unicode

View file

@ -1,4 +1,4 @@
#include "recomp_files.h"
#include "files.hpp"
constexpr std::u8string_view backup_suffix = u8".bak";
constexpr std::u8string_view temp_suffix = u8".temp";

View file

@ -4,8 +4,8 @@
#include <vector>
#include "recomp.h"
#include "recomp_overlays.h"
#include "sections.h"
#include "overlays.hpp"
#include "sections.hpp"
static recomp::overlay_section_table_data_t sections_info {};
static recomp::overlays_by_index_t overlays_info {};

View file

@ -2,8 +2,8 @@
#include <algorithm>
#include <vector>
#include "recomp.h"
#include "sections.h"
#include "recomp_overlays.h"
#include "sections.hpp"
#include "overlays.hpp"
static SectionTableEntry* code_sections = nullptr;

View file

@ -5,8 +5,8 @@
#include <string>
#include <mutex>
#include "recomp.h"
#include "recomp_game.h"
#include "recomp_files.h"
#include "game.hpp"
#include "files.hpp"
#include <ultramodern/ultra64.h>
#include <ultramodern/ultramodern.hpp>

View file

@ -3,7 +3,7 @@
#include <ultramodern/ultra64.h>
#include <ultramodern/ultramodern.hpp>
#include "recomp.h"
#include "euc-jp.h"
#include "euc-jp.hpp"
extern "C" void __checkHardware_msp_recomp(uint8_t * rdram, recomp_context * ctx) {
ctx->r2 = 0;

View file

@ -12,8 +12,8 @@
#include <array>
#include "recomp.h"
#include "recomp_overlays.h"
#include "recomp_game.h"
#include "overlays.hpp"
#include "game.hpp"
#include "xxHash/xxh3.h"
#include "ultramodern/ultramodern.hpp"
#include "ultramodern/error_handling.hpp"

View file

@ -2,7 +2,7 @@
#include <cstring>
#include <cinttypes>
#include "rsp.h"
#include "rsp.hpp"
static recomp::rsp::callbacks_t rsp_callbacks {};

View file

@ -14,7 +14,7 @@
#include "ultra64.h"
#include "ultramodern/ultramodern.hpp"
#include "config.hpp"
#include "rt64_layer.h"
#include "rt64_layer.hpp"
#include "ultramodern/rsp.hpp"
static ultramodern::events::callbacks_t events_callbacks{};

View file

@ -3,7 +3,7 @@
#define HLSL_CPU
#include "hle/rt64_application.h"
#include "rt64_layer.h"
#include "rt64_layer.hpp"
#include "rt64_render_hooks.h"
ultramodern::RT64Context::~RT64Context() = default;