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; }
76 void clearImageStack()
override {}
77 void recordImageStackCall(uint8 type, int16 p1, int16 p2, int16 p3,
78 int16 p4, int16 p5, int16 p6, int16 p7)
override {}
79 void replayImageStackCall(uint8 type, int16 p1, int16 p2, int16 p3,
80 int16 p4, int16 p5, int16 p6, int16 p7)
override {}
81 void releaseImageStack()
override {}
83 int loadGame(
const Common::String &fileName,
bool checkId =
true) {
return -1; }
89 void clearScreen(
int attr,
bool overrideDefault =
true);
90 void clearGfxScreen(
int attr);
91 void setDefaultTextColor(
int attr) { _defaultColor = attr; }
92 byte getWhite()
const;
95 int getSelection(SelectionTypes type);
101 void drawStr(
int row,
int col,
int attr,
const char *buffer);
102 void clearTextArea();
103 void clearRow(
int row);
104 static void XOR80(
char *buffer);
105 void printStr(
const char *szMsg);
106 void printStrXOR(
char *szMsg);
111 bool playSpeakerNote(int16 frequency, int32 length, WaitOptions options);
112 bool wait(uint32 delay, WaitOptions options = kWaitProcessEvents);
Definition: savefile.h:142
Definition: detection.h:29