mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
31 lines
850 B
C++
31 lines
850 B
C++
// license:BSD-3-Clause
|
|
// copyright-holders:Ryan Holtz
|
|
//============================================================
|
|
//
|
|
// chainreader.h - BGFX chain JSON reader
|
|
//
|
|
//============================================================
|
|
|
|
#pragma once
|
|
|
|
#ifndef __DRAWBGFX_CHAIN_READER__
|
|
#define __DRAWBGFX_CHAIN_READER__
|
|
|
|
#include "statereader.h"
|
|
|
|
class bgfx_chain;
|
|
class texture_manager;
|
|
class target_manager;
|
|
class effect_manager;
|
|
|
|
class chain_reader : public state_reader
|
|
{
|
|
public:
|
|
static bgfx_chain* read_from_value(const Value& value, std::string prefix, osd_options& options, running_machine& machine, uint32_t window_index, uint32_t screen_index, texture_manager& textures, target_manager& targets, effect_manager& effects);
|
|
|
|
private:
|
|
static bool validate_parameters(const Value& value, std::string prefix);
|
|
};
|
|
|
|
#endif // __DRAWBGFX_CHAIN_READER__
|