Finally make every header .hpp

This commit is contained in:
Will Toohey
2026-06-29 18:56:37 +10:00
parent 5f32420d29
commit 9775c04dbb
19 changed files with 28 additions and 28 deletions

View File

@@ -3,7 +3,7 @@
#include <cstring>
#include <fstream>
#include "avs.h"
#include "avs.hpp"
#include "log.hpp"
#pragma pack(push, 1)

View File

@@ -2,8 +2,8 @@
#include <windows.h>
#include <stdio.h>
#include "avs.h"
#include "hook.h"
#include "avs.hpp"
#include "hook.hpp"
#include "log.hpp"
#include "3rd_party/MinHook.h"
#include "utils.hpp"

View File

@@ -2,8 +2,8 @@
#include <windows.h>
#include "avs.h"
#include "hook.h"
#include "avs.hpp"
#include "hook.hpp"
#include "log.hpp"
namespace avs_standalone

View File

@@ -1,6 +1,6 @@
// dllmain.cpp : Defines the entry point for the DLL application.
#include <windows.h>
#include "hook.h"
#include "hook.hpp"
#include "utils.hpp"
extern "C" __declspec(dllexport) const char __layeredfs_version[] = VER_STRING;

View File

@@ -4,7 +4,7 @@
#include <windows.h>
#include <winternl.h>
#include "hook.h"
#include "hook.hpp"
// all good code mixes C and C++, right?
#include <unordered_set>
@@ -16,7 +16,7 @@
#include "3rd_party/MinHook.h"
#include "ramfs_demangler.h"
#include "ramfs_demangler.hpp"
#include "buildconfig.hpp"
#include "config.hpp"
#include "log.hpp"
@@ -24,8 +24,8 @@
#include "texbin.hpp"
#include "arc.hpp"
#include "utils.hpp"
#include "avs.h"
#include "modpath_handler.h"
#include "avs.hpp"
#include "modpath_handler.hpp"
#ifdef _DEBUG
#define DBG_VER_STRING "_DEBUG"

View File

@@ -3,9 +3,9 @@
#include <windows.h>
#include <optional>
#include <unordered_set>
#include "avs.h"
#include "avs.hpp"
#include "log.hpp"
#include "modpath_handler.h"
#include "modpath_handler.hpp"
#include "utils.hpp"
extern std::filesystem::file_time_type dll_time;

View File

@@ -13,10 +13,10 @@
#include "3rd_party/rapidxml_print.hpp"
#include "3rd_party/md5.h"
#include "avs.h"
#include "avs.hpp"
#include "log.hpp"
#include "modpath_handler.h"
#include "texture_packer.h"
#include "modpath_handler.hpp"
#include "texture_packer.hpp"
#include "utils.hpp"
enum img_format {

View File

@@ -2,7 +2,7 @@
#include <optional>
#include <tuple>
#include "hook.h"
#include "hook.hpp"
void handle_texture(HookFile &file);
void handle_afp(HookFile &file);

View File

@@ -2,9 +2,9 @@
#include <algorithm>
#include <set>
#include "ramfs_demangler.h"
#include "ramfs_demangler.hpp"
#include "modpath_handler.h"
#include "modpath_handler.hpp"
#include "config.hpp"
#include "log.hpp"
#include "utils.hpp"

View File

@@ -3,7 +3,7 @@
#include <windows.h>
#include "hook.h"
#include "hook.hpp"
#include "log.hpp"
#include "3rd_party/lodepng.h"

View File

@@ -38,9 +38,9 @@
#include "3rd_party/hat-trie/htrie_map.h"
#include "ramfs_demangler.h"
#include "ramfs_demangler.hpp"
#include "log.hpp"
#include "modpath_handler.h"
#include "modpath_handler.hpp"
#include "utils.hpp"
typedef struct {

View File

@@ -2,7 +2,7 @@
#include <optional>
#include <string>
#include "avs.h"
#include "avs.hpp"
// note: the demangler works exclusively on game-provided paths and so doesn't
// store/take istrings

View File

@@ -3,11 +3,11 @@
#include <gmock/gmock.h>
#include "config.hpp"
#include "hook.h"
#include "hook.hpp"
#include "imagefs.hpp"
#include "avs_standalone.hpp"
#include "modpath_handler.h"
#include "ramfs_demangler.h"
#include "modpath_handler.hpp"
#include "ramfs_demangler.hpp"
#include "3rd_party/rapidxml_print.hpp"
#include "src/3rd_party/rapidxml.hpp"

View File

@@ -14,7 +14,7 @@
#include <unordered_map>
#include "texbin.hpp"
#include "avs.h"
#include "avs.hpp"
#include "log.hpp"
#include "3rd_party/lodepng.h"
#include "3rd_party/libsquish/squish.h"

View File

@@ -1,4 +1,4 @@
#include "texture_packer.h"
#include "texture_packer.hpp"
#include <algorithm>

View File

@@ -5,7 +5,7 @@
#include <windows.h>
#include "utils.hpp"
#include "hook.h"
#include "hook.hpp"
std::string path_to_actual_case(std::string path) {
WIN32_FIND_DATAA ffd;