Commit Graph

158 Commits

Author SHA1 Message Date
uruk
cfe03245fa CGE2: Handle kCmdNop correctly. 2014-06-08 07:52:21 +02:00
uruk
5fca8c328c CGE2: Fix stub message in CGE2Engine::mapCross(). 2014-06-08 07:44:46 +02:00
uruk
5a7924678a CGE2: Further implement Hero's functions. 2014-06-08 07:41:25 +02:00
uruk
8c3e63e471 CGE2: Reduce number of unhandled commands (seemingly). 2014-06-08 07:38:16 +02:00
uruk
9aa80d6d05 CGE2: Implement helper functions connected to Hero.
Also rework Hero::len() during the process.
2014-06-08 07:30:31 +02:00
uruk
a62e044174 CGE2: Keep on implementing Hero.
Also add a couple of helping functions to CGE2Engine.
2014-06-07 21:35:48 +02:00
uruk
f2a1d4f1c8 CGE2: Implement walkTo() and snap() in Hero. 2014-06-07 21:09:19 +02:00
uruk
0cad1988e4 CGE2: Remove unnecessary variable from System::touch(). 2014-06-07 21:07:46 +02:00
uruk
bb216eba2f CGE2: Implement System::touch(). 2014-06-07 20:33:52 +02:00
uruk
acb81c5e74 CGE2: Fully implement caveUp().
Also implement connected parts of Hero.
2014-06-07 19:44:16 +02:00
uruk
23d40712c6 CGE2: Refine implementation of Queue::insert(). 2014-06-07 19:40:29 +02:00
uruk
968f24af47 CGE2: Fix coord conversion in EventManager::poll(). 2014-06-06 22:26:27 +02:00
uruk
97bb1370a3 CGE2: Reimplement the way of handling y coord.
In CGE2, the top left coords are (0, kScreenHeight), not (0,0).
2014-06-06 22:20:05 +02:00
uruk
152d795b45 CGE2: Implement InfoLine.
Move initialization of _font, so it precedes _infoLine's and doesn't cause more problems.
2014-06-06 22:07:32 +02:00
uruk
9efb2ef1a9 CGE2: Implement Talk. 2014-06-06 21:35:29 +02:00
uruk
63a153165a CGE2: Implement Font. 2014-06-06 16:45:02 +02:00
uruk
f2c0069765 CGE2: Change BitmapPtr *_shpList -> BitmapPtr _shpList.
Update rest of the code accordingly.
2014-06-06 14:57:34 +02:00
uruk
c6fd9bf8ce CGE2: Remove stub from Vga::update().
It was for displaying debug lines. May be placed back again later during some debugging.
2014-06-06 12:00:22 +02:00
uruk
85d9e9238c CGE2: Remove _m and xShow() from Bitmap, makeXlat() and killXlat() from Sprite.
They are not used in CGE2 at all (or used differently).
2014-06-05 00:45:33 +02:00
uruk
7838852f94 CGE2: Stub buggy part of loadTab(). 2014-06-05 00:11:35 +02:00
uruk
26b7ecd2ee CGE2: Get rid of _spareQ.
CGE2 uses an instance of Spare instead of it.
2014-06-04 22:57:02 +02:00
uruk
58ee44ceb2 CGE2: Remove unnecessary check from Sprite::step(). 2014-06-04 22:50:32 +02:00
Strangerke
a0aa7df19c CGE2: Remove useless 'void' 2014-06-04 07:10:27 +02:00
Strangerke
8d00ce68d5 CGE2: Remove 2 useless stubs 2014-06-04 01:08:25 +02:00
Strangerke
b6d8e2b247 CGE2: Unstub some code used to move sprites 2014-06-04 01:03:51 +02:00
Strangerke
c5072db8fb CGE2: Fix remaining shadowed variables 2014-06-03 22:46:59 +02:00
Strangerke
516ad6e843 CGE2: Reduce the scope of some variables 2014-06-03 22:41:19 +02:00
Strangerke
aabe883dc2 CGE2: Fix some more GCC warnings 2014-06-03 22:34:39 +02:00
Strangerke
160edae77a CGE2: Silence some gcc and cppcheck warnings 2014-06-03 22:12:59 +02:00
Strangerke
11ebdcb5e0 CGE2: nullify some pointers 2014-06-03 20:18:48 +02:00
Strangerke
de8affdec5 CGE2: Silence some gcc warnings 2014-06-03 17:39:10 +02:00
Strangerke
7ef509608e CGE2: USe an int for sex instead of a boolean 2014-06-03 07:42:17 +02:00
Strangerke
46d93eb780 CGE2: Rework style in touch() 2014-06-03 07:35:21 +02:00
Strangerke
41f9195f56 CGE2: Fix flags synchronization 2014-06-03 07:28:33 +02:00
Strangerke
5d9e31c708 CGE2: Fix rounding error, remove (original) debug code 2014-06-03 07:12:49 +02:00
uruk
6d73870431 CGE2: Move then implement Sprite::touch().
Also add stubs for called functions.
2014-06-02 14:46:59 +02:00
uruk
87db3d2d75 CGE2: Add _blinkSprite.
This also fixes previously broken compilation in 79ef038.
2014-06-02 14:38:40 +02:00
uruk
21513b448f CGE2: Partially implement and use loadGame(). 2014-06-02 14:37:41 +02:00
uruk
0e62716038 CGE2: Add and use Spare::take(). 2014-06-02 14:33:30 +02:00
uruk
79ef03801d CGE2: Implement CGE2Eninge::switchHero(). 2014-06-02 13:58:52 +02:00
uruk
562644db48 CGE2: Remove unnecessary void parameters in Hero. 2014-06-02 13:50:47 +02:00
uruk
219f4f6695 CGE2: Implement Hero::setCurrent(). 2014-06-02 13:43:28 +02:00
uruk
ff21b2d5c8 CGE2: Implement Hero::expand(), move Sprite::works()'s stub to hero.cpp. 2014-06-02 10:03:15 +02:00
uruk
8eb6a4db8b CGE2: Add display of mouse cursor.
The actual click-handling is not working yet.
2014-06-01 21:44:07 +02:00
uruk
82898716cf CGE2: Reimplement Vga::show(). 2014-05-31 15:22:29 +02:00
Strangerke
7e8923f757 CGE2: Add detection for the WIP English translation 2014-05-30 16:10:51 +02:00
uruk
e34113a94c CGE2: Fix assignments and deinitialization of _eye and _eyeTab. 2014-05-30 12:48:58 +02:00
Strangerke
5ad4e157e5 CGE2: Silence a warning in runCommand 2014-05-30 10:56:02 +02:00
Strangerke
8a712c840d CGE2: Fix several signed/unsigned comparisons 2014-05-30 10:52:10 +02:00
Strangerke
bea9e0532e CGE2: Move an unused variable in a STUB clock, initialize it (in the comment). That fixes a warning 2014-05-30 10:44:56 +02:00