TITANIC: Beginnings of CStarControlSub15 class

This commit is contained in:
Paul Gilbert 2016-07-12 21:49:04 -04:00
parent 6331e3814a
commit 7b331771ca
3 changed files with 93 additions and 1 deletions

View File

@ -432,7 +432,6 @@ MODULE_OBJS := \
star_control/star_control_sub13.o \
star_control/star_control_sub14.o \
star_control/star_control_sub15.o \
star_control/star_control_sub16.o \
star_control/surface_area.o \
star_control/surface_fader_base.o \
star_control/surface_fader.o \

View File

@ -0,0 +1,36 @@
/* 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/star_control/star_control_sub15.h"
namespace Titanic {
CStarControlSub15::CStarControlSub15() :
_field0(1.875), _field8(0), _fieldC(0),
_field10(0), _field14(0), _field18(0.0), _field1C(0),
_field20(1.875), _field28(0), _field2C(0),
_field30(0), _field38(0), _field3C(0),
_field40(1.875), _field48(0), _field4C(0),
_field50(0), _field54(0), _field58(0), _field5C(0) {
}
} // End of namespace Titanic

View File

@ -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_STAR_CONTROL_SUB15_H
#define TITANIC_STAR_CONTROL_SUB15_H
namespace Titanic {
class CStarControlSub15 {
private:
double _field0;
int _field8;
int _fieldC;
int _field10;
int _field14;
double _field18;
int _field1C;
double _field20;
int _field24;
int _field28;
int _field2C;
double _field30;
int _field38;
int _field3C;
double _field40;
int _field48;
int _field4C;
int _field50;
int _field54;
int _field58;
int _field5C;
public:
CStarControlSub15();
};
} // End of namespace Titanic
#endif /* TITANIC_STAR_CONTROL_SUB15_H */