You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#pragma once
|
|
|
|
#include "overlay.h"
|
|
|
|
#include "overlay_params.h"
|
|
|
|
#include <functional>
|
|
|
|
|
|
|
|
class HudElements{
|
|
|
|
public:
|
|
|
|
struct swapchain_stats *sw_stats;
|
|
|
|
struct overlay_params *params;
|
|
|
|
float ralign_width;
|
|
|
|
float old_scale;
|
|
|
|
bool is_vulkan;
|
|
|
|
std::vector<std::string> options;
|
|
|
|
std::vector<void(*)()> ordered_functions;
|
|
|
|
void sort_elements(std::string string);
|
|
|
|
static void version();
|
|
|
|
static void time();
|
|
|
|
static void gpu_stats();
|
|
|
|
static void cpu_stats();
|
|
|
|
static void core_load();
|
|
|
|
static void io_stats();
|
|
|
|
static void vram();
|
|
|
|
static void ram();
|
|
|
|
static void fps();
|
|
|
|
static void engine_version();
|
|
|
|
static void gpu_name();
|
|
|
|
static void vulkan_driver();
|
|
|
|
static void arch();
|
|
|
|
static void wine();
|
|
|
|
static void frame_timing();
|
|
|
|
static void media_player();
|
|
|
|
};
|
|
|
|
|
|
|
|
extern HudElements HUDElements;
|