mirror of
https://github.com/mon/ifs_layeredfs.git
synced 2026-09-08 16:55:30 -05:00
Finally make every header .hpp
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
|
||||
#include "avs.h"
|
||||
#include "avs.hpp"
|
||||
#include "log.hpp"
|
||||
|
||||
#pragma pack(push, 1)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
@@ -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 {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <optional>
|
||||
#include <tuple>
|
||||
|
||||
#include "hook.h"
|
||||
#include "hook.hpp"
|
||||
|
||||
void handle_texture(HookFile &file);
|
||||
void handle_afp(HookFile &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"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "hook.h"
|
||||
#include "hook.hpp"
|
||||
#include "log.hpp"
|
||||
#include "3rd_party/lodepng.h"
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "texture_packer.h"
|
||||
#include "texture_packer.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user