diff options
author | Eugene Sandulenko | 2005-05-08 03:08:11 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-05-08 03:08:11 +0000 |
commit | 8e5bf3c0925aeef59a7dafb9fb7e42b4c0482c37 (patch) | |
tree | ac0d74fce22227ab0e98b6c5eb2bbcfe0d070aeb /scumm/logic_he.h | |
parent | d9b81f4ab8472c453607a283555ed415fe4d202e (diff) | |
download | scummvm-rg350-8e5bf3c0925aeef59a7dafb9fb7e42b4c0482c37.tar.gz scummvm-rg350-8e5bf3c0925aeef59a7dafb9fb7e42b4c0482c37.tar.bz2 scummvm-rg350-8e5bf3c0925aeef59a7dafb9fb7e42b4c0482c37.zip |
Initial support for intensive floating point compuitations used in
Putt-Putt Race. Still incomplete.
svn-id: r17949
Diffstat (limited to 'scumm/logic_he.h')
-rw-r--r-- | scumm/logic_he.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/scumm/logic_he.h b/scumm/logic_he.h new file mode 100644 index 0000000000..83d7181bd6 --- /dev/null +++ b/scumm/logic_he.h @@ -0,0 +1,61 @@ +/* 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 |