2014-05-10 11:09:28 +03:00
|
|
|
#ifndef _instance__hpp__included__
|
|
|
|
#define _instance__hpp__included__
|
|
|
|
|
2014-05-18 00:38:58 +03:00
|
|
|
#include "core/command.hpp"
|
2014-05-10 14:48:08 +03:00
|
|
|
#include "core/emustatus.hpp"
|
2014-05-10 13:12:42 +03:00
|
|
|
#include "core/inthread.hpp"
|
2014-05-10 11:22:31 +03:00
|
|
|
#include "core/movie.hpp"
|
2014-05-10 14:11:24 +03:00
|
|
|
#include "core/mbranch.hpp"
|
2014-05-10 11:41:08 +03:00
|
|
|
#include "core/memorywatch.hpp"
|
2014-05-10 14:36:54 +03:00
|
|
|
#include "core/multitrack.hpp"
|
2014-05-11 20:01:26 +03:00
|
|
|
#include "library/command.hpp"
|
2014-05-10 11:32:48 +03:00
|
|
|
#include "library/lua-base.hpp"
|
2014-05-10 11:22:31 +03:00
|
|
|
#include "library/memoryspace.hpp"
|
2014-05-10 11:54:15 +03:00
|
|
|
#include "library/settingvar.hpp"
|
2014-05-11 15:29:27 +03:00
|
|
|
#include "library/keyboard.hpp"
|
|
|
|
#include "library/keyboard-mapper.hpp"
|
2014-05-10 11:09:28 +03:00
|
|
|
|
|
|
|
struct emulator_instance
|
|
|
|
{
|
2014-05-10 11:54:15 +03:00
|
|
|
emulator_instance();
|
2014-05-10 11:09:28 +03:00
|
|
|
movie_logic mlogic;
|
2014-05-10 11:22:31 +03:00
|
|
|
memory_space memory;
|
2014-05-10 11:32:48 +03:00
|
|
|
lua::state lua;
|
2014-05-13 18:43:05 +03:00
|
|
|
memwatch_set mwatch;
|
2014-05-13 09:06:14 +03:00
|
|
|
settingvar::group settings;
|
2014-05-10 11:54:15 +03:00
|
|
|
settingvar::cache setcache;
|
2014-05-10 13:12:42 +03:00
|
|
|
voice_commentary commentary;
|
2014-05-10 13:36:00 +03:00
|
|
|
subtitle_commentary subtitles;
|
2014-05-10 14:11:24 +03:00
|
|
|
movie_branches mbranch;
|
2014-05-10 14:36:54 +03:00
|
|
|
multitrack_edit mteditor;
|
2014-05-10 14:48:08 +03:00
|
|
|
_lsnes_status status_A;
|
|
|
|
_lsnes_status status_B;
|
|
|
|
_lsnes_status status_C;
|
|
|
|
triplebuffer::triplebuffer<_lsnes_status> status;
|
2014-05-11 15:29:27 +03:00
|
|
|
keyboard::keyboard keyboard;
|
|
|
|
keyboard::mapper mapper;
|
2014-05-11 20:01:26 +03:00
|
|
|
command::group command;
|
2014-05-18 00:38:58 +03:00
|
|
|
alias_binds_manager abindmanager;
|
2014-05-10 11:09:28 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
extern emulator_instance lsnes_instance;
|
|
|
|
|
2014-05-10 13:55:07 +03:00
|
|
|
emulator_instance& CORE();
|
|
|
|
|
2014-05-10 11:09:28 +03:00
|
|
|
#endif
|