scummvm/scumm/logic_he.h
Eugene Sandulenko 8e5bf3c092 Initial support for intensive floating point compuitations used in
Putt-Putt Race. Still incomplete.

svn-id: r17949
2005-05-08 03:08:11 +00:00

62 lines
1.5 KiB
C++

/* ScummVM - Scumm Interpreter
* Copyright (C) 2005 The ScummVM project
*
* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header$
*
*/
#include "stdafx.h"
#include "scumm/intern.h"
namespace Scumm {
class LogicHE {
private:
float *_userData;
ScummEngine *_vm;
public:
LogicHE(ScummEngine *vm);
~LogicHE();
void beforeBootScript(void);
void initOnce();
void startOfFrame();
void endOfFrame();
int versionID();
int32 dispatch(int op, int numArgs, int32 *args);
private:
int32 op_1003(int32 *args);
int32 op_1004(int32 *args);
int32 op_1100(int32 *args);
int32 op_1101(int32 *args);
int32 op_1102(int32 *args);
int32 op_1103(int32 *args);
int32 op_1110();
int32 op_1120(int32 *args);
int32 op_1130(int32 *args);
int32 op_1140(int32 *args);
void op_sub1(float arg);
void op_sub2(float arg);
void op_sub3(float arg);
};
} // End of namespace Scumm