aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--simon/simon.cpp2
-rw-r--r--simon/simon.h6
2 files changed, 3 insertions, 5 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index b62c67a5e1..1cabe29182 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -776,7 +776,7 @@ void SimonEngine::errorString(const char *buf1, char *buf2) {
}
}
-void palette_fadeout(uint32 *pal_values, uint num) {
+void SimonEngine::palette_fadeout(uint32 *pal_values, uint num) {
byte *p = (byte *)pal_values;
do {
diff --git a/simon/simon.h b/simon/simon.h
index 3a19714f77..a68fc4d849 100644
--- a/simon/simon.h
+++ b/simon/simon.h
@@ -387,6 +387,8 @@ protected:
void readItemFromGamePc(Common::File *in, Item *item);
void loadGamePcFile(const char *filename);
+ void palette_fadeout(uint32 *pal_values, uint num);
+
byte *allocateItem(uint size);
byte *allocateTable(uint size);
void alignTableMem();
@@ -739,8 +741,6 @@ protected:
int go();
void openGameFile();
- static int CDECL game_thread_proc(void *param);
-
void timer_callback();
void timer_proc1();
@@ -818,8 +818,6 @@ protected:
char *gen_savename(int slot);
};
-void palette_fadeout(uint32 *pal_values, uint num);
-
} // End of namespace Simon
#endif