1 /******************************************************************************
2 * Arachnoid Graphics Plugin for Mupen64Plus
3 * http://bitbucket.org/wahrhaft/mupen64plus-video-arachnoid/
5 * Copyright (C) 2009 Jon Ring
6 * Copyright (C) 2007 Kristofer Karlsson, Rickard Niklasson
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 *****************************************************************************/
27 #include "ConfigMap.h"
32 //*****************************************************************************
34 //! Manages configuration of graphics plugin
37 //! * Loads config data from core
38 //! * Sets default config values
41 //*****************************************************************************
46 //Constructor / Destructor
47 Config(GraphicsPlugin* graphicsPlugin);
52 //Loads settings from core
55 //Tell Graphics plugin that config has changed
56 void updateGraphics();
61 ConfigMap* getConfig() { return &m_cfg; }
65 ConfigMap m_cfg; //!< Config map with all settings
66 GraphicsPlugin* m_graphicsPlugin; //!< Pointer to graphics plugin
68 m64p_handle m_videoGeneralSection;
69 m64p_handle m_videoArachnoidSection;