1 |
|
/* |
2 |
|
* Prefs.h - Global preferences |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
4 |
> |
* Frodo (C) 1994-1997,2002-2004 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
22 |
|
#define _PREFS_H |
23 |
|
|
24 |
|
|
25 |
– |
// Drive types |
26 |
– |
enum { |
27 |
– |
DRVTYPE_DIR, // 1541 emulation in host file system |
28 |
– |
DRVTYPE_D64, // 1541 emulation in .d64 file |
29 |
– |
DRVTYPE_T64 // 1541 emulation in .t64 file |
30 |
– |
}; |
31 |
– |
|
32 |
– |
|
25 |
|
// SID types |
26 |
|
enum { |
27 |
|
SIDTYPE_NONE, // SID emulation off |
39 |
|
}; |
40 |
|
|
41 |
|
|
42 |
< |
// Display types (BeOS) |
42 |
> |
// Display types |
43 |
|
enum { |
44 |
< |
DISPTYPE_WINDOW, // BWindow |
45 |
< |
DISPTYPE_SCREEN // BWindowScreen |
44 |
> |
DISPTYPE_WINDOW, // Window |
45 |
> |
DISPTYPE_SCREEN // Fullscreen |
46 |
|
}; |
47 |
|
|
48 |
|
|
64 |
|
int FloppyCycles; // Available 1541 CPU cycles per line |
65 |
|
int SkipFrames; // Draw every n-th frame |
66 |
|
|
75 |
– |
int DriveType[4]; // Type of drive 8..11 |
76 |
– |
|
67 |
|
char DrivePath[4][256]; // Path for drive 8..11 |
68 |
|
|
69 |
|
char ViewPort[256]; // Size of the C64 screen to display (Win32) |
72 |
|
int SIDType; // SID emulation type |
73 |
|
int REUSize; // Size of REU |
74 |
|
int DisplayType; // Display type (BeOS) |
75 |
+ |
int Joystick1Port; // Port that joystick 1 is connected to (0 = no joystick, all other values are system dependant) |
76 |
+ |
int Joystick2Port; // Port that joystick 2 is connected to |
77 |
|
int LatencyMin; // Min msecs ahead of sound buffer (Win32) |
78 |
|
int LatencyMax; // Max msecs ahead of sound buffer (Win32) |
79 |
|
int LatencyAvg; // Averaging interval in msecs (Win32) |
82 |
|
|
83 |
|
bool SpritesOn; // Sprite display is on |
84 |
|
bool SpriteCollisions; // Sprite collision detection is on |
93 |
– |
bool Joystick1On; // Joystick connected to port 1 of host |
94 |
– |
bool Joystick2On; // Joystick connected to port 2 of host |
85 |
|
bool JoystickSwap; // Swap joysticks 1<->2 |
86 |
|
bool LimitSpeed; // Limit speed to 100% |
87 |
|
bool FastReset; // Skip RAM test on reset |
90 |
|
bool Emul1541Proc; // Enable processor-level 1541 emulation |
91 |
|
bool SIDFilters; // Emulate SID filters |
92 |
|
bool DoubleScan; // Double scan lines (BeOS, if DisplayType == DISPTYPE_SCREEN) |
93 |
+ |
bool JoystickGeekPort; // Enable GeekPort joystick adapter |
94 |
|
bool HideCursor; // Hide mouse cursor when visible (Win32) |
95 |
|
bool DirectSound; // Use direct sound (instead of wav) (Win32) |
96 |
|
bool ExclusiveSound; // Use exclusive mode with direct sound (Win32) |