21 Commits

Author SHA1 Message Date
uruk
4e32736e44 CGE2: Prevent the engine from entering an endless loop when loading.
Also remove CommandHandler::reset(), since it's not useful anymore.
2014-07-29 16:41:56 +02:00
uruk
fca11e77f8 CGE2: Get rid of more unused variables. 2014-07-28 16:29:51 +02:00
uruk
ab2f720f37 CGE2: Remove commas at the end of enumerator lists. 2014-07-28 16:17:12 +02:00
uruk
0bfde974cd CGE2: Implement debug console and add a debug channel for opcodes. 2014-07-26 12:59:39 +02:00
uruk
c78596a80e CGE2: Remove another unused opcode. 2014-07-26 12:52:27 +02:00
uruk
8a1d046187 CGE2: Fix kCmdWalk's comment. 2014-07-24 23:22:46 +02:00
uruk
b85e5dcfdb CGE2: Remove kCmdDim and kCmdStep and connected code. 2014-07-24 23:19:02 +02:00
uruk
42f0440127 CGE2: Remove more unused opcodes. 2014-07-24 23:16:12 +02:00
uruk
6caee925df CGE2: Fix typo in SETREF's comment. 2014-07-24 23:07:11 +02:00
uruk
12210ecf27 CGE2: Remove the unused opcodes. 2014-07-24 23:06:11 +02:00
Strangerke
de8affdec5 CGE2: Silence some gcc warnings 2014-06-03 17:39:10 +02:00
uruk
54956d8a81 CGE2: Move things around to fix broken compilation of cross-includes.
V2D and V3D are moved to vga13h.h
2014-05-26 09:57:41 +02:00
uruk
947f4b8607 CGE2: Partially implement CommandHandler::runCommand(). 2014-05-23 15:23:19 +02:00
uruk
4dcfe4d785 CGE2: Start implementation of CommandHandler.
Implement constructor, destructor, addCommand() and add clear() ant _count.
2014-05-23 12:56:48 +02:00
uruk
ba8e801ada CGE2: Implement Sprite::expand().
Add functions:
*Bitmap::moveHi()
*Bitmap::moveLo()
*CGE2Engine::tail()
and warning comments to various places during the process.
Also add _lab data member to CommandHandler::Command.
2014-05-23 10:05:02 +02:00
uruk
bf820481b7 CGE2: Implement feedSnail(). 2014-05-19 23:24:23 +02:00
uruk
c108a18306 CGE2: Make some static functions non-static.
EncryptedStream -> CGE2Engine
Namely:
* CGE2Engine::number(char *s)
* char *CGE2Engine::token(char *s)
* int CGE2Engine::takeEnum(const char **tab, const char *text)
* ID CGE2Engine::ident(const char *s)
* bool CGE2Engine::testBool(char *s)
* int CommandHandler::com(const char *com)
2014-05-13 10:37:23 +02:00
uruk
2f404690e7 CGE2: Rename Snail to CommandHandler, expand it. 2014-05-13 09:51:22 +02:00
uruk
09b4092d53 CGE2: Remove Polish comments form SNCom. 2014-05-09 13:25:11 +02:00
uruk
cb65489197 CGE2: Implement CGE2Engine::loadSprite().
Add Snail during the process and revise or expand a lot of other parts of the engine.
2014-05-09 13:11:50 +02:00
uruk
b674ab2a09 CGE2: Further implement loadSprite(), fix compilation error. 2014-05-08 19:23:36 +02:00