22726e4d |
1 | /****************************************************************************** |
2 | * Arachnoid Graphics Plugin for Mupen64Plus |
3 | * http://bitbucket.org/wahrhaft/mupen64plus-video-arachnoid/ |
4 | * |
5 | * Copyright (C) 2007 Kristofer Karlsson, Rickard Niklasson |
6 | * |
7 | * This program is free software; you can redistribute it and/or |
8 | * modify it under the terms of the GNU General Public License |
9 | * as published by the Free Software Foundation; either version 2 |
10 | * of the License, or (at your option) any later version. |
11 | * |
12 | * This program is distributed in the hope that it will be useful, |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | * GNU General Public License for more details. |
16 | * |
17 | * You should have received a copy of the GNU General Public License |
18 | * along with this program; if not, write to the Free Software |
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
20 | *****************************************************************************/ |
21 | |
22 | #ifndef CONFIG_MAP_H_ |
23 | #define CONFIG_MAP_H_ |
24 | |
25 | //***************************************************************************** |
26 | //! Struct with all configuration settings are stored |
27 | //***************************************************************************** |
28 | struct ConfigMap |
29 | { |
30 | //Configuration Settings |
31 | int fullscreenWidth; //!< Display width in fullscreen mode, default = 800 |
32 | int fullscreenHeight; //!< Display height in fullscreen mode, default = 600 |
33 | int fullscreenRefreshRate; //!< Screen refresh-rate in fullscreen mode, default = 60 |
34 | int fullscreenBitDepth; //!< Bitdepth in fullscreen mode, default = 32 |
35 | bool startFullscreen; //!< Whether to start in fullscreen mode, default = false |
36 | int windowWidth; //!< Width of render window in window mode, default = 800 |
37 | int windowHeight; //!< Height of render window in window mode, default = 600 |
38 | int textureCacheSize; //!< Size of texture cache used to store textures, default = 15 MB |
39 | bool wireframe; //!< Render in wireframe? defualt = false |
40 | bool fog; //!< Render fog? default = true |
41 | int multiSampling; //!< Use MultiSampling? 0=no 2,4,8,16=quality default = 0 |
42 | int mipmapping; //!< Use Mipmapping? 0=no, 1=nearest, 2=bilinear, 3=trilinear default = 0 |
43 | int screenUpdateSetting; //!< When to redraw the screen default = SCREEN_UPDATE_VI |
44 | bool frameSkip; //!< Use frameskipping? |
45 | }; |
46 | |
47 | #endif |