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:
parent
52d1d9ab8e
commit
1fa1f9520d
3 changed files with 1693 additions and 1181 deletions
|
@ -483,6 +483,8 @@ int SimonEngine::init(GameDetector &detector) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
setupOpcodes();
|
||||
|
||||
if (getGameType() == GType_FF) {
|
||||
_screenWidth = 640;
|
||||
_screenHeight = 480;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue