diff options
author | Gregory Montoir | 2004-12-31 00:25:18 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-12-31 00:25:18 +0000 |
commit | a44e8248159fc836f9d534872b0d55741f0c803c (patch) | |
tree | 47df2cacddf071f0ff1c8a761b3038acc0d8c7d1 /queen/talk.h | |
parent | f06348440fd2040cb8bf57849c7e6670db91caf0 (diff) | |
download | scummvm-rg350-a44e8248159fc836f9d534872b0d55741f0c803c.tar.gz scummvm-rg350-a44e8248159fc836f9d534872b0d55741f0c803c.tar.bz2 scummvm-rg350-a44e8248159fc836f9d534872b0d55741f0c803c.zip |
added some comments and re-indented some parts of code
svn-id: r16394
Diffstat (limited to 'queen/talk.h')
-rw-r--r-- | queen/talk.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/queen/talk.h b/queen/talk.h index 395eccced9..0fcded5baf 100644 --- a/queen/talk.h +++ b/queen/talk.h @@ -30,27 +30,20 @@ namespace Queen { class QueenEngine; class Talk { - public: +public: //! Public interface to run a talk from a file - static void talk( - const char *filename, - int personInRoom, - char *cutawayFilename, - QueenEngine *vm); + static void talk(const char *filename, int personInRoom, char *cutawayFilename, QueenEngine *vm); //! Public interface to speak a sentence - static bool speak( - const char *sentence, - Person *person, - const char *voiceFilePrefix, - QueenEngine *vm); + static bool speak(const char *sentence, Person *person, const char *voiceFilePrefix, QueenEngine *vm); //! Read a string from ptr and update offset static void getString(const byte *ptr, uint16 &offset, char *str, int maxLength, int align = 2); private: - //! Collection of constants used by Talk + + //! Collection of constants used by Talk enum { LINE_HEIGHT = 10, MAX_STRING_LENGTH = 255, |