1 |
|
/* |
2 |
|
* Prefs.h - Global preferences |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
4 |
> |
* Frodo Copyright (C) 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 |
52 |
|
Prefs(); |
53 |
|
bool ShowEditor(bool startup, char *prefs_name); |
54 |
|
void Check(void); |
55 |
< |
void Load(char *filename); |
56 |
< |
bool Save(char *filename); |
55 |
> |
void Load(const char *filename); |
56 |
> |
bool Save(const char *filename); |
57 |
|
|
58 |
|
bool operator==(const Prefs &rhs) const; |
59 |
|
bool operator!=(const Prefs &rhs) const; |
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) |