From 243c4ffbc0818d51d385052177de1b695c49d795 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Fri, 7 Mar 2003 15:38:11 +0000 Subject: implemented formating string error for each engine svn-id: r6744 --- simon/simon.cpp | 4 ++++ simon/simon.h | 1 + 2 files changed, 5 insertions(+) (limited to 'simon') diff --git a/simon/simon.cpp b/simon/simon.cpp index 0b654232cf..0846ede986 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -214,6 +214,10 @@ SimonState::~SimonState() { delete [] _fcs_list; } +void SimonState::errorString(const char *buf1, char *buf2) { + strcpy(buf2, buf1); +} + void palette_fadeout(uint32 *pal_values, uint num) { byte *p = (byte *)pal_values; diff --git a/simon/simon.h b/simon/simon.h index 305831eb91..e7c7e6a9f0 100644 --- a/simon/simon.h +++ b/simon/simon.h @@ -96,6 +96,7 @@ struct VgaTimerEntry { struct GameSpecificSettings; class SimonState : public Engine { + void errorString(const char *buf_input, char *buf_output); public: File *_mus_file; uint16 *_mus_offsets; -- cgit v1.2.3