mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-27 00:10:31 +00:00
deps: update fmt
to latest version (#3403)
This updates `fmt` to the latest version and moves to just being a copy of their repo to make updating easier (no editing their cmake / figuring out which files to minimally include). The motivation for this is now that we switched to C++ 20, there were a ton of deprecated function usages that is going away in future compiler versions. This gets rid of all those warnings.
This commit is contained in:
parent
b819f852b6
commit
60db0e5ef9
@ -10,7 +10,7 @@ IncludeCategories:
|
|||||||
Priority: 2
|
Priority: 2
|
||||||
- Regex: '^(<|")common.*'
|
- Regex: '^(<|")common.*'
|
||||||
Priority: 3
|
Priority: 3
|
||||||
- Regex: '^"third-party.*'
|
- Regex: '^"(third-party|fmt|curl).*'
|
||||||
Priority: 4
|
Priority: 4
|
||||||
SortPriority: 5
|
SortPriority: 5
|
||||||
- Regex: '.*'
|
- Regex: '.*'
|
||||||
|
@ -221,6 +221,10 @@ build_third_party_lib(tree-sitter tree-sitter)
|
|||||||
# native OS dialogs for error messages
|
# native OS dialogs for error messages
|
||||||
build_third_party_lib(libtinyfiledialogs libtinyfiledialogs)
|
build_third_party_lib(libtinyfiledialogs libtinyfiledialogs)
|
||||||
|
|
||||||
|
# build format library
|
||||||
|
include_directories(third-party/fmt/include)
|
||||||
|
build_third_party_lib(fmt fmt)
|
||||||
|
|
||||||
# build common library
|
# build common library
|
||||||
add_subdirectory(common)
|
add_subdirectory(common)
|
||||||
|
|
||||||
@ -273,9 +277,6 @@ include(test/CMakeLists.txt)
|
|||||||
# build lzokay library
|
# build lzokay library
|
||||||
build_third_party_lib(lzokay lzokay)
|
build_third_party_lib(lzokay lzokay)
|
||||||
|
|
||||||
# build format library
|
|
||||||
build_third_party_lib(fmt fmt)
|
|
||||||
|
|
||||||
build_third_party_lib(stb_image stb_image)
|
build_third_party_lib(stb_image stb_image)
|
||||||
build_third_party_lib(tiny_gltf tiny_gltf)
|
build_third_party_lib(tiny_gltf tiny_gltf)
|
||||||
build_third_party_lib(xdelta3 xdelta3)
|
build_third_party_lib(xdelta3 xdelta3)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
#include "common/util/BinaryWriter.h"
|
#include "common/util/BinaryWriter.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Write a wave file from a vector of samples.
|
* Write a wave file from a vector of samples.
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include "common/goal_constants.h"
|
#include "common/goal_constants.h"
|
||||||
#include "common/util/Timer.h"
|
#include "common/util/Timer.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
#ifdef __linux
|
#ifdef __linux
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include "common/repl/nrepl/ReplServer.h"
|
#include "common/repl/nrepl/ReplServer.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
XSocketClient::XSocketClient(int _tcp_port) {
|
XSocketClient::XSocketClient(int _tcp_port) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include "common/cross_sockets/XSocket.h"
|
#include "common/cross_sockets/XSocket.h"
|
||||||
#include "common/common_types.h"
|
#include "common/common_types.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
std::string DmaTag::print() {
|
std::string DmaTag::print() {
|
||||||
std::string result;
|
std::string result;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include "common/common_types.h"
|
#include "common/common_types.h"
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
struct DmaStats {
|
struct DmaStats {
|
||||||
double sync_time_ms = 0;
|
double sync_time_ms = 0;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
#include "common/util/Timer.h"
|
#include "common/util/Timer.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Convert a DMA chain to an array of bytes that can be directly fed to VIF.
|
* Convert a DMA chain to an array of bytes that can be directly fed to VIF.
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/fmt/format.h"
|
#include "fmt/format.h"
|
||||||
|
|
||||||
std::string reg_descriptor_name(GifTag::RegisterDescriptor reg) {
|
std::string reg_descriptor_name(GifTag::RegisterDescriptor reg) {
|
||||||
switch (reg) {
|
switch (reg) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#include "tree_sitter/api.h"
|
#include "tree_sitter/api.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
// Declare the `tree_sitter_opengoal` function, which is
|
// Declare the `tree_sitter_opengoal` function, which is
|
||||||
// implemented by the `tree-sitter-opengoal` library.
|
// implemented by the `tree-sitter-opengoal` library.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "common/util/string_util.h"
|
#include "common/util/string_util.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
std::string get_source_code(const std::string& source, const TSNode& node) {
|
std::string get_source_code(const std::string& source, const TSNode& node) {
|
||||||
uint32_t start = ts_node_start_byte(node);
|
uint32_t start = ts_node_start_byte(node);
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#include "common/util/string_util.h"
|
#include "common/util/string_util.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace formatter_rules {
|
namespace formatter_rules {
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include "common/util/FileUtil.h"
|
#include "common/util/FileUtil.h"
|
||||||
#include "common/common_types.h"
|
#include "common/common_types.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/json.hpp"
|
#include "third-party/json.hpp"
|
||||||
|
|
||||||
#ifdef OS_POSIX
|
#ifdef OS_POSIX
|
||||||
@ -175,7 +175,7 @@ void GlobalProfiler::dump_to_json(const std::string& path) {
|
|||||||
lg::debug("out of order: {} {} {} ms", event.ts / 1000.f, info.debug / 1000.f,
|
lg::debug("out of order: {} {} {} ms", event.ts / 1000.f, info.debug / 1000.f,
|
||||||
(info.debug - event.ts) / 1000000.f);
|
(info.debug - event.ts) / 1000000.f);
|
||||||
lg::debug(" idx: {}, range {} {}", event_idx, info.lowest_at_target, info.highest_at_target);
|
lg::debug(" idx: {}, range {} {}", event_idx, info.lowest_at_target, info.highest_at_target);
|
||||||
lg::debug(" now: {}", m_next_idx);
|
lg::debug(" now: {}", m_next_idx.load());
|
||||||
}
|
}
|
||||||
info.debug = event.ts;
|
info.debug = event.ts;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include "common/util/string_util.h"
|
#include "common/util/string_util.h"
|
||||||
#include "common/util/unicode_util.h"
|
#include "common/util/unicode_util.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace goos {
|
namespace goos {
|
||||||
Interpreter::Interpreter(const std::string& username) {
|
Interpreter::Interpreter(const std::string& username) {
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#include "common/util/crc32.h"
|
#include "common/util/crc32.h"
|
||||||
#include "common/util/print_float.h"
|
#include "common/util/print_float.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace goos {
|
namespace goos {
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "ParseHelpers.h"
|
#include "ParseHelpers.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace goos {
|
namespace goos {
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "common/goos/PrettyPrinter2.h"
|
#include "common/goos/PrettyPrinter2.h"
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace pretty_print {
|
namespace pretty_print {
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
#include "common/common_types.h"
|
#include "common/common_types.h"
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/fmt/format.h"
|
#include "fmt/format.h"
|
||||||
|
|
||||||
namespace pretty_print {
|
namespace pretty_print {
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include "common/goos/Object.h"
|
#include "common/goos/Object.h"
|
||||||
#include "common/util/print_float.h"
|
#include "common/util/print_float.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace pretty_print {
|
namespace pretty_print {
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include "common/util/FileUtil.h"
|
#include "common/util/FileUtil.h"
|
||||||
#include "common/util/FontUtils.h"
|
#include "common/util/FontUtils.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace goos {
|
namespace goos {
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
#include "common/util/FileUtil.h"
|
#include "common/util/FileUtil.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace goos {
|
namespace goos {
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
#include "third-party/fmt/color.h"
|
#include "fmt/color.h"
|
||||||
#ifdef _WIN32 // see lg::initialize
|
#ifdef _WIN32 // see lg::initialize
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "third-party/fmt/color.h"
|
#include "fmt/color.h"
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace lg {
|
namespace lg {
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace math {
|
namespace math {
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "common/versions/versions.h"
|
#include "common/versions/versions.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace REPL {
|
namespace REPL {
|
||||||
void to_json(json& j, const Config& obj) {
|
void to_json(json& j, const Config& obj) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include "common/cross_sockets/XSocket.h"
|
#include "common/cross_sockets/XSocket.h"
|
||||||
#include "common/versions/versions.h"
|
#include "common/versions/versions.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include "common/cross_sockets/XSocket.h"
|
#include "common/cross_sockets/XSocket.h"
|
||||||
#include "common/versions/versions.h"
|
#include "common/versions/versions.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
#include "common/util/string_util.h"
|
#include "common/util/string_util.h"
|
||||||
#include "common/versions/versions.h"
|
#include "common/versions/versions.h"
|
||||||
|
|
||||||
#include "third-party/fmt/color.h"
|
#include "fmt/color.h"
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/replxx/include/replxx.hxx"
|
#include "third-party/replxx/include/replxx.hxx"
|
||||||
// TODO - expand a list of hints (ie. a hint for defun to show at a glance how to write a function,
|
// TODO - expand a list of hints (ie. a hint for defun to show at a glance how to write a function,
|
||||||
// or perhaps, show the docstring for the current function being used?)
|
// or perhaps, show the docstring for the current function being used?)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "common/util/FileUtil.h"
|
#include "common/util/FileUtil.h"
|
||||||
#include "common/util/json_util.h"
|
#include "common/util/json_util.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
void open_subtitle_project(const std::string& project_kind,
|
void open_subtitle_project(const std::string& project_kind,
|
||||||
const std::string& file_path,
|
const std::string& file_path,
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "subtitles_v2.h"
|
#include "subtitles_v2.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
void to_json(json& j, const SubtitleCutsceneLineMetadataV1& obj) {
|
void to_json(json& j, const SubtitleCutsceneLineMetadataV1& obj) {
|
||||||
json_serialize(frame_start);
|
json_serialize(frame_start);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "subtitles_v1.h"
|
#include "subtitles_v1.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
void to_json(json& j, const SubtitleLineMetadata& obj) {
|
void to_json(json& j, const SubtitleLineMetadata& obj) {
|
||||||
json_serialize(frame_start);
|
json_serialize(frame_start);
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
std::string reg_kind_to_string(RegClass kind) {
|
std::string reg_kind_to_string(RegClass kind) {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
// debug prints for the reverse lookup
|
// debug prints for the reverse lookup
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
bool TypeTag::operator==(const TypeTag& other) const {
|
bool TypeTag::operator==(const TypeTag& other) const {
|
||||||
return name == other.name && value == other.value;
|
return name == other.name && value == other.value;
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
#include "common/util/math_util.h"
|
#include "common/util/math_util.h"
|
||||||
|
|
||||||
#include "third-party/fmt/color.h"
|
#include "fmt/color.h"
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include "common/util/BitUtils.h"
|
#include "common/util/BitUtils.h"
|
||||||
#include "common/util/string_util.h"
|
#include "common/util/string_util.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
const goos::Object& car(const goos::Object* x) {
|
const goos::Object& car(const goos::Object* x) {
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include "common/type_system/state.h"
|
#include "common/type_system/state.h"
|
||||||
#include "common/util/string_util.h"
|
#include "common/util/string_util.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Missing Features
|
* Missing Features
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
// This disables the use of PCLMULQDQ which is probably ok, but let's just be safe and disable it
|
// This disables the use of PCLMULQDQ which is probably ok, but let's just be safe and disable it
|
||||||
// because nobody will care if png compression is 10% slower.
|
// because nobody will care if png compression is 10% slower.
|
||||||
#define FPNG_NO_SSE 1
|
#define FPNG_NO_SSE 1
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/fpng/fpng.cpp"
|
#include "third-party/fpng/fpng.cpp"
|
||||||
#include "third-party/fpng/fpng.h"
|
#include "third-party/fpng/fpng.h"
|
||||||
#include "third-party/lzokay/lzokay.hpp"
|
#include "third-party/lzokay/lzokay.hpp"
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/fmt/format.h"
|
#include "fmt/format.h"
|
||||||
|
|
||||||
const std::unordered_map<std::string, GameTextVersion> sTextVerEnumMap = {
|
const std::unordered_map<std::string, GameTextVersion> sTextVerEnumMap = {
|
||||||
{"jak1-v1", GameTextVersion::JAK1_V1},
|
{"jak1-v1", GameTextVersion::JAK1_V1},
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/zstd/lib/zstd.h"
|
#include "third-party/zstd/lib/zstd.h"
|
||||||
|
|
||||||
namespace compression {
|
namespace compression {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
#include "common/versions/versions.h"
|
#include "common/versions/versions.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Assert false if the char[] has non-null data after the null terminated string.
|
* Assert false if the char[] has non-null data after the null terminated string.
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
#include "common/goal_constants.h"
|
#include "common/goal_constants.h"
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
|
#include "fmt/core.h"
|
||||||
#include "third-party/dragonbox.h"
|
#include "third-party/dragonbox.h"
|
||||||
#include "third-party/fmt/core.h"
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Convert a float to a string. The string is _always_ in this format:
|
* Convert a float to a string. The string is _always_ in this format:
|
||||||
@ -219,4 +219,4 @@ bool proper_float(float value) {
|
|||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
#include "common/versions/revision.h"
|
#include "common/versions/revision.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/fmt/format.h"
|
#include "fmt/format.h"
|
||||||
|
|
||||||
GameVersion game_name_to_version(const std::string& name) {
|
GameVersion game_name_to_version(const std::string& name) {
|
||||||
if (name == "jak1") {
|
if (name == "jak1") {
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
/*!
|
/*!
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
// utility class to extract fields of an opcode.
|
// utility class to extract fields of an opcode.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include "common/common_types.h"
|
#include "common/common_types.h"
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
InstructionParser::InstructionParser() {
|
InstructionParser::InstructionParser() {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/format.h"
|
#include "fmt/format.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
namespace Reg {
|
namespace Reg {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
class DecompWarnings {
|
class DecompWarnings {
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include "decompiler/util/TP_Type.h"
|
#include "decompiler/util/TP_Type.h"
|
||||||
#include "decompiler/util/type_utils.h"
|
#include "decompiler/util/type_utils.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include "decompiler/util/data_decompile.h"
|
#include "decompiler/util/data_decompile.h"
|
||||||
#include "decompiler/util/sparticle_decompile.h"
|
#include "decompiler/util/sparticle_decompile.h"
|
||||||
|
|
||||||
#include "third-party/fmt/ranges.h"
|
#include "fmt/ranges.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include "decompiler/Function/Warnings.h"
|
#include "decompiler/Function/Warnings.h"
|
||||||
#include "decompiler/util/TP_Type.h"
|
#include "decompiler/util/TP_Type.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
enum class AccessMode : u8 {
|
enum class AccessMode : u8 {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "LabelDB.h"
|
#include "LabelDB.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include "decompiler/Disasm/InstructionDecode.h"
|
#include "decompiler/Disasm/InstructionDecode.h"
|
||||||
#include "decompiler/config.h"
|
#include "decompiler/config.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/json.hpp"
|
#include "third-party/json.hpp"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include "decompiler/data/TextureDB.h"
|
#include "decompiler/data/TextureDB.h"
|
||||||
#include "decompiler/util/DecompilerTypeSystem.h"
|
#include "decompiler/util/DecompilerTypeSystem.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
/*!
|
/*!
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
#include "common/util/print_float.h"
|
#include "common/util/print_float.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
VuInstructionAtom VuInstructionAtom::make_vf(int idx) {
|
VuInstructionAtom VuInstructionAtom::make_vf(int idx) {
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
BasedOnStyle: Chromium
|
|
||||||
ColumnLimit: 100
|
|
||||||
SortIncludes: true
|
|
@ -1,5 +1,7 @@
|
|||||||
#include "analyze_inspect_method.h"
|
#include "analyze_inspect_method.h"
|
||||||
|
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
|
|
||||||
#include "decompiler/Disasm/InstructionMatching.h"
|
#include "decompiler/Disasm/InstructionMatching.h"
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
|
#include "atomic_op_builder.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "atomic_op_builder.h"
|
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
#include "common/symbols.h"
|
#include "common/symbols.h"
|
||||||
|
|
||||||
#include "decompiler/Disasm/DecompilerLabel.h"
|
#include "decompiler/Disasm/DecompilerLabel.h"
|
||||||
#include "decompiler/Disasm/InstructionMatching.h"
|
#include "decompiler/Disasm/InstructionMatching.h"
|
||||||
#include "decompiler/Function/Function.h"
|
#include "decompiler/Function/Function.h"
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "cfg_builder.h"
|
#include "cfg_builder.h"
|
||||||
|
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
|
|
||||||
#include "decompiler/Function/Function.h"
|
#include "decompiler/Function/Function.h"
|
||||||
#include "decompiler/IR2/Form.h"
|
#include "decompiler/IR2/Form.h"
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#include "expression_build.h"
|
#include "expression_build.h"
|
||||||
|
|
||||||
#include "common/goos/PrettyPrinter.h"
|
#include "common/goos/PrettyPrinter.h"
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
|
|
||||||
#include "decompiler/Function/Function.h"
|
#include "decompiler/Function/Function.h"
|
||||||
#include "decompiler/IR2/Form.h"
|
#include "decompiler/IR2/Form.h"
|
||||||
#include "decompiler/IR2/FormStack.h"
|
#include "decompiler/IR2/FormStack.h"
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#include "final_output.h"
|
#include "final_output.h"
|
||||||
|
|
||||||
#include "common/goos/PrettyPrinter.h"
|
#include "common/goos/PrettyPrinter.h"
|
||||||
|
|
||||||
#include "decompiler/IR2/Form.h"
|
#include "decompiler/IR2/Form.h"
|
||||||
#include "decompiler/IR2/GenericElementMatcher.h"
|
#include "decompiler/IR2/GenericElementMatcher.h"
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#include "find_defpartgroup.h"
|
#include "find_defpartgroup.h"
|
||||||
|
|
||||||
#include "common/goos/PrettyPrinter.h"
|
#include "common/goos/PrettyPrinter.h"
|
||||||
#include "common/util/BitUtils.h"
|
#include "common/util/BitUtils.h"
|
||||||
|
|
||||||
#include "decompiler/IR2/Form.h"
|
#include "decompiler/IR2/Form.h"
|
||||||
#include "decompiler/IR2/GenericElementMatcher.h"
|
#include "decompiler/IR2/GenericElementMatcher.h"
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "find_defstates.h"
|
#include "find_defstates.h"
|
||||||
|
|
||||||
#include "common/goos/PrettyPrinter.h"
|
#include "common/goos/PrettyPrinter.h"
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
#include "common/type_system/state.h"
|
#include "common/type_system/state.h"
|
||||||
|
|
||||||
#include "decompiler/IR2/Form.h"
|
#include "decompiler/IR2/Form.h"
|
||||||
#include "decompiler/IR2/GenericElementMatcher.h"
|
#include "decompiler/IR2/GenericElementMatcher.h"
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "find_skelgroups.h"
|
#include "find_skelgroups.h"
|
||||||
|
|
||||||
#include "common/goos/PrettyPrinter.h"
|
#include "common/goos/PrettyPrinter.h"
|
||||||
#include "common/math/Vector.h"
|
#include "common/math/Vector.h"
|
||||||
|
|
||||||
#include "decompiler/IR2/Form.h"
|
#include "decompiler/IR2/Form.h"
|
||||||
#include "decompiler/IR2/GenericElementMatcher.h"
|
#include "decompiler/IR2/GenericElementMatcher.h"
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#include "inline_asm_rewrite.h"
|
#include "inline_asm_rewrite.h"
|
||||||
|
|
||||||
#include "common/goos/PrettyPrinter.h"
|
#include "common/goos/PrettyPrinter.h"
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
|
|
||||||
#include "decompiler/Function/Function.h"
|
#include "decompiler/Function/Function.h"
|
||||||
#include "decompiler/IR2/Form.h"
|
#include "decompiler/IR2/Form.h"
|
||||||
#include "decompiler/IR2/FormStack.h"
|
#include "decompiler/IR2/FormStack.h"
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#include "insert_lets.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
@ -7,10 +9,10 @@
|
|||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
#include "common/util/print_float.h"
|
#include "common/util/print_float.h"
|
||||||
|
|
||||||
#include "decompiler/IR2/GenericElementMatcher.h"
|
#include "decompiler/IR2/GenericElementMatcher.h"
|
||||||
#include "decompiler/IR2/bitfields.h"
|
#include "decompiler/IR2/bitfields.h"
|
||||||
#include "decompiler/util/DecompilerTypeSystem.h"
|
#include "decompiler/util/DecompilerTypeSystem.h"
|
||||||
#include "insert_lets.h"
|
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
#include <set>
|
|
||||||
|
|
||||||
#include "mips2c.h"
|
#include "mips2c.h"
|
||||||
|
|
||||||
|
#include <set>
|
||||||
|
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
#include "common/symbols.h"
|
#include "common/symbols.h"
|
||||||
#include "common/util/print_float.h"
|
#include "common/util/print_float.h"
|
||||||
|
|
||||||
#include "decompiler/Disasm/InstructionMatching.h"
|
#include "decompiler/Disasm/InstructionMatching.h"
|
||||||
#include "decompiler/Function/Function.h"
|
#include "decompiler/Function/Function.h"
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#include "reg_usage.h"
|
#include "reg_usage.h"
|
||||||
|
|
||||||
#include "decompiler/Function/Function.h"
|
#include "decompiler/Function/Function.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
|
#include "stack_spill.h"
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
#include "decompiler/Disasm/DecompilerLabel.h"
|
#include "decompiler/Disasm/DecompilerLabel.h"
|
||||||
#include "stack_spill.h"
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "common/util/Range.h"
|
#include "common/util/Range.h"
|
||||||
|
|
||||||
#include "decompiler/Disasm/Instruction.h"
|
#include "decompiler/Disasm/Instruction.h"
|
||||||
#include "decompiler/util/StackSpillMap.h"
|
#include "decompiler/util/StackSpillMap.h"
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#include "static_refs.h"
|
#include "static_refs.h"
|
||||||
|
|
||||||
#include "common/goos/PrettyPrinter.h"
|
#include "common/goos/PrettyPrinter.h"
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
|
|
||||||
#include "decompiler/Function/Function.h"
|
#include "decompiler/Function/Function.h"
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
#include "decompiler/analysis/final_output.h"
|
#include "decompiler/analysis/final_output.h"
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
#include "symbol_def_map.h"
|
#include "symbol_def_map.h"
|
||||||
|
|
||||||
#include "common/link_types.h"
|
#include "common/link_types.h"
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
|
|
||||||
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
||||||
|
|
||||||
#include "third-party/json.hpp"
|
#include "third-party/json.hpp"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#include "type_analysis.h"
|
#include "type_analysis.h"
|
||||||
|
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "common/type_system/TypeSpec.h"
|
#include "common/type_system/TypeSpec.h"
|
||||||
|
|
||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
#include "decompiler/config.h"
|
#include "decompiler/config.h"
|
||||||
#include "decompiler/util/DecompilerTypeSystem.h"
|
#include "decompiler/util/DecompilerTypeSystem.h"
|
||||||
|
@ -1,12 +1,16 @@
|
|||||||
|
#include "variable_naming.h"
|
||||||
|
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
|
#include "reg_usage.h"
|
||||||
|
|
||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
|
|
||||||
#include "decompiler/Function/Function.h"
|
#include "decompiler/Function/Function.h"
|
||||||
#include "decompiler/IR2/Env.h"
|
#include "decompiler/IR2/Env.h"
|
||||||
#include "decompiler/util/DecompilerTypeSystem.h"
|
#include "decompiler/util/DecompilerTypeSystem.h"
|
||||||
#include "reg_usage.h"
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "variable_naming.h"
|
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
|
||||||
|
@ -20,12 +20,12 @@
|
|||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "decompiler/Disasm/Register.h"
|
#include "decompiler/Disasm/Register.h"
|
||||||
#include "decompiler/IR2/IR2_common.h"
|
#include "decompiler/IR2/IR2_common.h"
|
||||||
#include "decompiler/util/TP_Type.h"
|
#include "decompiler/util/TP_Type.h"
|
||||||
|
|
||||||
#include "common/util/Assert.h"
|
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
|
||||||
class Function;
|
class Function;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "decompiler/util/config_parsers.h"
|
#include "decompiler/util/config_parsers.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/json.hpp"
|
#include "third-party/json.hpp"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include "game/common/overlord_common.h"
|
#include "game/common/overlord_common.h"
|
||||||
#include "game/common/str_rpc_types.h"
|
#include "game/common/str_rpc_types.h"
|
||||||
|
|
||||||
#include "third-party/fmt/format.h"
|
#include "fmt/format.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
StrFileReader::StrFileReader(const fs::path& file_path, GameVersion version) : m_version(version) {
|
StrFileReader::StrFileReader(const fs::path& file_path, GameVersion version) : m_version(version) {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#define STBI_WINDOWS_UTF8
|
#define STBI_WINDOWS_UTF8
|
||||||
#include "third-party/stb_image/stb_image.h"
|
#include "third-party/stb_image/stb_image.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
std::string DirTpageResult::to_source() const {
|
std::string DirTpageResult::to_source() const {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
GameCountResult process_game_count(ObjectFileData& data) {
|
GameCountResult process_game_count(ObjectFileData& data) {
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include "common/util/FileUtil.h"
|
#include "common/util/FileUtil.h"
|
||||||
#include "common/util/string_util.h"
|
#include "common/util/string_util.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/json.hpp"
|
#include "third-party/json.hpp"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
#include "decompiler/util/DecompilerTypeSystem.h"
|
#include "decompiler/util/DecompilerTypeSystem.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "common/goos/PrettyPrinter2.h"
|
#include "common/goos/PrettyPrinter2.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/json.hpp"
|
#include "third-party/json.hpp"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
@ -146,4 +146,4 @@ std::string extract_actors_to_json(const level_tools::DrawableInlineArrayActor&
|
|||||||
return json.dump(2);
|
return json.dump(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace decompiler
|
} // namespace decompiler
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "common/util/Assert.h"
|
#include "common/util/Assert.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allowable lines:
|
* Allowable lines:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
class Error : public std::runtime_error {
|
class Error : public std::runtime_error {
|
||||||
public:
|
public:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "TP_Type.h"
|
#include "TP_Type.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
u32 regs_to_gpr_mask(const std::vector<Register>& regs) {
|
u32 regs_to_gpr_mask(const std::vector<Register>& regs) {
|
||||||
@ -231,4 +231,4 @@ TypeSpec TP_Type::typespec() const {
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // namespace decompiler
|
} // namespace decompiler
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
#include "decompiler/ObjectFile/LinkedObjectFile.h"
|
||||||
#include "decompiler/analysis/final_output.h"
|
#include "decompiler/analysis/final_output.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "decompiler/util/data_decompile.h"
|
#include "decompiler/util/data_decompile.h"
|
||||||
|
|
||||||
#include "third-party/fmt/format.h"
|
#include "fmt/format.h"
|
||||||
|
|
||||||
namespace decompiler {
|
namespace decompiler {
|
||||||
// sparticle fields.
|
// sparticle fields.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "BucketRenderer.h"
|
#include "BucketRenderer.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/imgui/imgui.h"
|
#include "third-party/imgui/imgui.h"
|
||||||
|
|
||||||
std::string BucketRenderer::name_and_id() const {
|
std::string BucketRenderer::name_and_id() const {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "game/graphics/opengl_renderer/dma_helpers.h"
|
#include "game/graphics/opengl_renderer/dma_helpers.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/imgui/imgui.h"
|
#include "third-party/imgui/imgui.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "game/graphics/pipelines/opengl.h"
|
#include "game/graphics/pipelines/opengl.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/imgui/imgui.h"
|
#include "third-party/imgui/imgui.h"
|
||||||
|
|
||||||
DirectRenderer::ScissorState DirectRenderer::m_scissor;
|
DirectRenderer::ScissorState DirectRenderer::m_scissor;
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "common/log/log.h"
|
#include "common/log/log.h"
|
||||||
#include "common/util/colors.h"
|
#include "common/util/colors.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/imgui/imgui.h"
|
#include "third-party/imgui/imgui.h"
|
||||||
|
|
||||||
ProfilerNode::ProfilerNode(const std::string& name) : m_name(name) {}
|
ProfilerNode::ProfilerNode(const std::string& name) : m_name(name) {}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include "game/graphics/opengl_renderer/EyeRenderer.h"
|
#include "game/graphics/opengl_renderer/EyeRenderer.h"
|
||||||
#include "game/graphics/pipelines/opengl.h"
|
#include "game/graphics/pipelines/opengl.h"
|
||||||
|
|
||||||
#include "third-party/fmt/core.h"
|
#include "fmt/core.h"
|
||||||
#include "third-party/imgui/imgui.h"
|
#include "third-party/imgui/imgui.h"
|
||||||
|
|
||||||
TextureUploadHandler::TextureUploadHandler(const std::string& name,
|
TextureUploadHandler::TextureUploadHandler(const std::string& name,
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user