aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.h
diff options
context:
space:
mode:
authorMax Horn2009-11-02 21:54:57 +0000
committerMax Horn2009-11-02 21:54:57 +0000
commit51933629d1f1a17839ddbb75b2b619effe117abb (patch)
tree7292b23e5ce3fb11e6b2bb360a3befbbf35b64d9 /engines/agi/agi.h
parent400ee8c461e8060393b62be639c27dd3820dccd4 (diff)
downloadscummvm-rg350-51933629d1f1a17839ddbb75b2b619effe117abb.tar.gz
scummvm-rg350-51933629d1f1a17839ddbb75b2b619effe117abb.tar.bz2
scummvm-rg350-51933629d1f1a17839ddbb75b2b619effe117abb.zip
Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
Diffstat (limited to 'engines/agi/agi.h')
-rw-r--r--engines/agi/agi.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/engines/agi/agi.h b/engines/agi/agi.h
index 994edcc11b..679d686b7e 100644
--- a/engines/agi/agi.h
+++ b/engines/agi/agi.h
@@ -721,10 +721,10 @@ public:
bool _noSaveLoadAllowed;
- virtual void pollTimer(void) = 0;
- virtual int getKeypress(void) = 0;
- virtual bool isKeypress(void) = 0;
- virtual void clearKeyQueue(void) = 0;
+ virtual void pollTimer() = 0;
+ virtual int getKeypress() = 0;
+ virtual bool isKeypress() = 0;
+ virtual void clearKeyQueue() = 0;
AgiBase(OSystem *syst, const AGIGameDescription *gameDesc);
@@ -755,9 +755,9 @@ public:
Common::Language getLanguage() const;
Common::Platform getPlatform() const;
const char *getGameMD5() const;
- void initFeatures(void);
+ void initFeatures();
void setFeature(uint32 feature);
- void initVersion(void);
+ void initVersion();
void setVersion(uint16 version);
bool canLoadGameStateCurrently();
@@ -800,7 +800,7 @@ private:
int checkCollision(VtEntry *v);
int checkPosition(VtEntry *v);
- void parseFeatures(void);
+ void parseFeatures();
int _firstSlot;
@@ -854,10 +854,10 @@ public:
int agiUnloadResource(int, int);
void agiUnloadResources();
- virtual void pollTimer(void);
- virtual int getKeypress(void);
- virtual bool isKeypress(void);
- virtual void clearKeyQueue(void);
+ virtual void pollTimer();
+ virtual int getKeypress();
+ virtual bool isKeypress();
+ virtual void clearKeyQueue();
static void agiTimerFunctionLow(void *refCon);
void initPriTable();
@@ -981,27 +981,27 @@ public:
int messageBox(const char *);
int selectionBox(const char *, const char **);
- void closeWindow(void);
+ void closeWindow();
void drawWindow(int, int, int, int);
void printText(const char *, int, int, int, int, int, int, bool checkerboard = false);
void printTextConsole(const char *, int, int, int, int, int);
int print(const char *, int, int, int);
char *wordWrapString(const char *, int *);
char *agiSprintf(const char *);
- void writeStatus(void);
- void writePrompt(void);
- void clearPrompt(void);
+ void writeStatus();
+ void writePrompt();
+ void clearPrompt();
void clearLines(int, int, int);
void flushLines(int, int);
- bool predictiveDialog(void);
+ bool predictiveDialog();
private:
void printStatus(const char *message, ...) GCC_PRINTF(2, 3);
void printText2(int l, const char *msg, int foff, int xoff, int yoff, int len, int fg, int bg, bool checkerboard = false);
void blitTextbox(const char *p, int y, int x, int len);
void eraseTextbox();
- void loadDict(void);
- bool matchWord(void);
+ void loadDict();
+ bool matchWord();
// Predictive dialog
// TODO: Move this to a separate class