diff options
-rw-r--r-- | engines/titanic/module.mk | 1 | ||||
-rw-r--r-- | engines/titanic/support/avi_surface.cpp | 32 | ||||
-rw-r--r-- | engines/titanic/support/avi_surface.h | 57 |
3 files changed, 90 insertions, 0 deletions
diff --git a/engines/titanic/module.mk b/engines/titanic/module.mk index 71db594f5e..8d25bc3e29 100644 --- a/engines/titanic/module.mk +++ b/engines/titanic/module.mk @@ -436,6 +436,7 @@ MODULE_OBJS := \ star_control/surface_area.o \ star_control/surface_fader_base.o \ star_control/surface_fader.o \ + support/avi_surface.o \ support/direct_draw.o \ support/direct_draw_surface.o \ support/exe_resources.o \ diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp new file mode 100644 index 0000000000..f6f63a7f1d --- /dev/null +++ b/engines/titanic/support/avi_surface.cpp @@ -0,0 +1,32 @@ +/* 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. + * + */ + +#include "titanic/support/avi_surface.h" +#include "video/avi_decoder.h" + +namespace Titanic { + +AVISurface::AVISurface(const CResourceKey &key) { + // TODO +} + +} // End of namespace Titanic diff --git a/engines/titanic/support/avi_surface.h b/engines/titanic/support/avi_surface.h new file mode 100644 index 0000000000..248f2c5ab3 --- /dev/null +++ b/engines/titanic/support/avi_surface.h @@ -0,0 +1,57 @@ +/* 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 TITANIC_AVI_SURFACE_H +#define TITANIC_AVI_SURFACE_H + +#include "video/video_decoder.h" +#include "titanic/core/resource_key.h" +#include "titanic/support/movie_range_info.h" + +namespace Titanic { + +class CSoundManager; + +class AVISurface { +private: + int _field4; + int _field8; + int _fieldC; + int _field10; + int _frame; + CMovieRangeInfoList _movieRangeInfo; + int _field28; + int _field2C; + int _field30; + int _field34; + int _field38; + CSoundManager *_soundManager; + // TODO: Lots more fields +public: + AVISurface(const CResourceKey &key); + + +}; + +} // End of namespace Titanic + +#endif /* TITANIC_AVI_SURFACE_H */ |