Split the opcodes into separate functions, and use an array of function

pointers for decoding them, like we do in most other engines. And I just want
to say that this is the second biggest opcode table I've ever seen!

svn-id: r21644
This commit is contained in:
Torbjörn Andersson 2006-04-06 17:56:41 +00:00
parent 52d1d9ab8e
commit 1fa1f9520d
3 changed files with 1693 additions and 1181 deletions

View file

@ -483,6 +483,8 @@ int SimonEngine::init(GameDetector &detector) {
return -1;
}
setupOpcodes();
if (getGameType() == GType_FF) {
_screenWidth = 640;
_screenHeight = 480;