diff options
author | BLooperZ | 2019-10-14 21:09:32 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2019-11-18 02:02:14 +0100 |
commit | ff039617bb8bfa832efbf4249c84d9e242f19568 (patch) | |
tree | 265b39df0aad71d67e9e159dde2586a4088346c3 /engines/toon/subtitles.h | |
parent | f7e039d3c2d62a51f619e4b4a246fd8b58862609 (diff) | |
download | scummvm-rg350-ff039617bb8bfa832efbf4249c84d9e242f19568.tar.gz scummvm-rg350-ff039617bb8bfa832efbf4249c84d9e242f19568.tar.bz2 scummvm-rg350-ff039617bb8bfa832efbf4249c84d9e242f19568.zip |
TOON: formatting
Diffstat (limited to 'engines/toon/subtitles.h')
-rw-r--r-- | engines/toon/subtitles.h | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/engines/toon/subtitles.h b/engines/toon/subtitles.h index 7eb7fe12f0..14c7c35658 100644 --- a/engines/toon/subtitles.h +++ b/engines/toon/subtitles.h @@ -29,9 +29,9 @@ namespace Toon { typedef struct { - uint32 fstart; - uint32 fend; - uint32 foffset; + uint32 fstart; + uint32 fend; + uint32 foffset; } TimeWindow; class SubtitleRenderer { @@ -39,21 +39,20 @@ public: SubtitleRenderer(ToonEngine *vm); ~SubtitleRenderer(); - bool load(const Common::String &video); - void render(const Graphics::Surface& frame, uint32 frameNumber, char color); + bool load(const Common::String &video); + void render(const Graphics::Surface &frame, uint32 frameNumber, byte color); protected: ToonEngine *_vm; - Graphics::Surface* _subSurface; - bool _hasSubtitles; - - char* _lines[384]; - TimeWindow _tw[384]; - uint8 *_fileData; - uint16 _index; - uint16 _last; - char* _currentLine; + Graphics::Surface *_subSurface; + bool _hasSubtitles; + char *_lines[384]; + TimeWindow _tw[384]; + uint8 *_fileData; + uint16 _index; + uint16 _last; + char *_currentLine; }; } // End of namespace Toon -#endif
\ No newline at end of file +#endif |