forked from djdron/UnrealSpeccyP
-
Notifications
You must be signed in to change notification settings - Fork 1
/
options_common.h
executable file
·59 lines (44 loc) · 1.71 KB
/
options_common.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
Portable ZX-Spectrum emulator.
Copyright (C) 2001-2010 SMT, Dexus, Alone Coder, deathsoft, djdron, scor
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __OPTIONS_COMMON_H__
#define __OPTIONS_COMMON_H__
#pragma once
namespace xPlatform
{
#if defined RG350 || defined RETROFW
enum eJoystick { J_FIRST, J_CURSORENTER = J_FIRST, J_CURSOR, J_KEMPSTON, J_SINCLAIR2, J_QAOPM, J_QAOPSPACE, J_KCUSTOM, J_LAST };
#else
enum eJoystick { J_FIRST, J_CURSORENTER = J_FIRST, J_CURSOR, J_KEMPSTON, J_SINCLAIR2, J_QAOPM, J_QAOPSPACE, J_LAST };
#endif
enum eSound { S_FIRST, S_BEEPER = S_FIRST, S_AY, S_TAPE, S_LAST };
enum eVolume { V_FIRST, V_MUTE = V_FIRST, V_10, V_20, V_30, V_40, V_50, V_60, V_70, V_80, V_90, V_100, V_LAST };
enum eDrive { D_FIRST, D_A = D_FIRST, D_B, D_C, D_D, D_LAST };
const char* OpLastFolder();
const char* OpLastFile();
void OpLastFile(const char* path);
bool OpQuit();
void OpQuit(bool v);
eDrive OpDrive();
void OpDrive(eDrive d);
eJoystick OpJoystick();
void OpJoystick(eJoystick v);
dword OpJoyKeyFlags();
eVolume OpVolume();
void OpVolume(eVolume v);
eSound OpSound();
void OpSound(eSound s);
}
//namespace xPlatform
#endif//__OPTIONS_COMMON_H__