diff options
author | Littleboy | 2011-06-23 00:05:01 -0400 |
---|---|---|
committer | Littleboy | 2011-06-23 08:52:45 -0400 |
commit | 7a96e0bfb67e9b5b8c0aa9bdae8415fb98214c3f (patch) | |
tree | 88cac3039de1071a998cd209d524c4b39555a827 /engines/lastexpress/menu/trainline.h | |
parent | f0cf72f4313c146dcec25fa004312a4319b89b91 (diff) | |
download | scummvm-rg350-7a96e0bfb67e9b5b8c0aa9bdae8415fb98214c3f.tar.gz scummvm-rg350-7a96e0bfb67e9b5b8c0aa9bdae8415fb98214c3f.tar.bz2 scummvm-rg350-7a96e0bfb67e9b5b8c0aa9bdae8415fb98214c3f.zip |
LASTEXPRESS: Extract Clock and TrainLine classes to separate files
Diffstat (limited to 'engines/lastexpress/menu/trainline.h')
-rw-r--r-- | engines/lastexpress/menu/trainline.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/engines/lastexpress/menu/trainline.h b/engines/lastexpress/menu/trainline.h new file mode 100644 index 0000000000..af6a121e9c --- /dev/null +++ b/engines/lastexpress/menu/trainline.h @@ -0,0 +1,51 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef LASTEXPRESS_TRAINLINE_H +#define LASTEXPRESS_TRAINLINE_H + +#include "common/scummsys.h" + +namespace LastExpress { + +class LastExpressEngine; +class SequenceFrame; + +class TrainLine { +public: + explicit TrainLine(LastExpressEngine *engine); + ~TrainLine(); + + void draw(uint32 time); + void clear(); + +private: + LastExpressEngine *_engine; + + // Frames + SequenceFrame *_frameLine1; + SequenceFrame *_frameLine2; +}; + +} // End of namespace LastExpress + +#endif // LASTEXPRESS_TRAINLINE_H |