22 #ifndef AGI_PREAGI_PREAGI_H 23 #define AGI_PREAGI_PREAGI_H 34 #define IDA_DEFAULT 0x0F 35 #define IDA_DEFAULT_REV 0xF0 37 #define IDI_SND_OSCILLATOR_FREQUENCY 1193180 38 #define IDI_SND_TIMER_RESOLUTION 0.0182 40 #define kColorDefault 0x1337 42 #define IDI_MAX_ROW_PIC 20 55 kWaitProcessEvents = 0x01,
56 kWaitAllowInterrupt = 0x03
63 void initialize()
override;
65 int getKeypress()
override {
return 0; }
66 bool isKeypress()
override {
return false; }
67 void clearKeyQueue()
override {}
71 int getGameId()
const {
return _gameId; }
73 void clearImageStack()
override {}
74 void recordImageStackCall(uint8 type, int16 p1, int16 p2, int16 p3,
75 int16 p4, int16 p5, int16 p6, int16 p7)
override {}
76 void replayImageStackCall(uint8 type, int16 p1, int16 p2, int16 p3,
77 int16 p4, int16 p5, int16 p6, int16 p7)
override {}
78 void releaseImageStack()
override {}
80 int loadGame(
const Common::String &fileName,
bool checkId =
true) {
return -1; }
86 void clearScreen(
int attr,
bool overrideDefault =
true);
87 void clearGfxScreen(
int attr);
88 void setDefaultTextColor(
int attr) { _defaultColor = attr; }
89 byte getWhite()
const;
92 int getSelection(SelectionTypes type);
98 void drawStr(
int row,
int col,
int attr,
const char *buffer);
100 void clearRow(
int row);
101 static void XOR80(
char *buffer);
102 void printStr(
const char *szMsg);
103 void printStrXOR(
char *szMsg);
108 bool playSpeakerNote(int16 frequency, int32 length, WaitOptions options);
109 bool wait(uint32 delay, WaitOptions options = kWaitProcessEvents);
Definition: savefile.h:142
Definition: detection.h:29