mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-31 01:25:18 +01:00
33 lines
746 B
C++
33 lines
746 B
C++
#pragma once
|
|
|
|
#include "movie_item_base.h"
|
|
#include "game_compatibility.h"
|
|
|
|
#include "Emu/GameInfo.h"
|
|
|
|
#include <set>
|
|
#include <QPixmap>
|
|
|
|
/* Having the icons associated with the game info simplifies logic internally */
|
|
struct gui_game_info
|
|
{
|
|
GameInfo info{};
|
|
QString localized_category;
|
|
compat::status compat;
|
|
QPixmap icon;
|
|
QPixmap pxmap;
|
|
bool has_custom_config = false;
|
|
bool has_custom_pad_config = false;
|
|
bool has_custom_icon = false;
|
|
bool has_hover_gif = false;
|
|
bool has_hover_pam = false;
|
|
bool icon_in_archive = false;
|
|
movie_item_base* item = nullptr;
|
|
|
|
// Returns the visible version string in the game list
|
|
std::string GetGameVersion() const;
|
|
};
|
|
|
|
typedef std::shared_ptr<gui_game_info> game_info;
|
|
Q_DECLARE_METATYPE(game_info)
|