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