mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-25 18:48:51 -04:00
Triforce v0.8.0
Evil HD (SMAA Ultra, 16x filtering, full textures, ambient occlusion with bounce light, sunlight shafts, foliage drawn 4x as far, the remastered texture pack's loader and the launcher's download of it), FSR 3.1 frame generation for every GPU, Intel XeSS, FSR 4 model choice, ReShade presets, Auto (this PC), HUD placement, the options menu in 13 languages, a second input for every control, hold to toggle, DualSense speaker and haptics, NFC from the player's own dumps, the above-60 fps game fixes, the Debug tab's flight and Inventory fixes, the launcher's full settings, and over 250 fixes.
This commit is contained in:
28
gpu/vk/reshade/fx_files.h
Normal file
28
gpu/vk/reshade/fx_files.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <span>
|
||||
#include <string>
|
||||
|
||||
namespace tf::reshade {
|
||||
|
||||
// Canonicalize before opening any asset, including includes produced by a preprocessor macro.
|
||||
std::filesystem::path fx_asset(const std::filesystem::path& root, const std::filesystem::path& name);
|
||||
std::filesystem::path fx_shader(const std::filesystem::path& root, const std::filesystem::path& name,
|
||||
bool& ambiguous);
|
||||
std::filesystem::path resolve_fx_include(const std::filesystem::path& source, const std::filesystem::path& name,
|
||||
std::span<const std::filesystem::path> includes);
|
||||
bool read_fx_file(const std::filesystem::path& path, std::string& data, size_t limit = 2 * 1024 * 1024);
|
||||
|
||||
class FxFileScope {
|
||||
public:
|
||||
explicit FxFileScope(std::span<const std::filesystem::path> roots);
|
||||
~FxFileScope();
|
||||
FxFileScope(const FxFileScope&) = delete;
|
||||
FxFileScope& operator=(const FxFileScope&) = delete;
|
||||
|
||||
private:
|
||||
std::span<const std::filesystem::path> previous_;
|
||||
};
|
||||
|
||||
} // namespace tf::reshade
|
||||
Reference in New Issue
Block a user