Commit Graph

36615 Commits

Author SHA1 Message Date
uruk
2b5eec4427 CGE2: Implement snCover and snUncover.
Also add and implement expandSprite().
2014-06-13 22:29:39 +02:00
uruk
63c0cb40fe CGE2: Stub snSay again. 2014-06-13 22:20:19 +02:00
uruk
52fb03fc97 CGE2: Fix Sprite::touch().
Not it only takes action if the user actually clicked.
2014-06-13 22:19:41 +02:00
uruk
0bd781a3dc CGE2: Implement releasePocket(). 2014-06-13 19:52:28 +02:00
uruk
95e3f240d6 CGE2: Implement Hero::turn(). 2014-06-13 19:41:43 +02:00
uruk
3aae5cfa06 CGE2: Implement Hero::hStep(). 2014-06-13 19:39:24 +02:00
uruk
235d0fffbd CGE2: Reimplement Hero::setCave(). 2014-06-13 19:36:36 +02:00
uruk
bad8e7ea26 CGE2: Fix Sprite::ghost and snGhost(). 2014-06-13 17:02:17 +02:00
uruk
2ad2be370e CGE2: Implement Hero::tick(). 2014-06-13 16:31:32 +02:00
uruk
95c844a035 CGE2: Implement snKill().
Add and implement Sprite::setCave() during the process.
2014-06-13 16:13:36 +02:00
uruk
6ac5e2cfcf CGE2: Fix initialization of HeroTab. 2014-06-13 14:07:35 +02:00
Paul Gilbert
162c840937 CGE2: Fix FXP initialiation and division operator 2014-06-12 23:49:06 -04:00
Strangerke
dfc94267d5 CGE2: Get somewhat better values 2014-06-12 21:05:19 +02:00
Strangerke
207f3c8be2 CGE2: Implement FXP code. Still WIP, loadTab to be fixed 2014-06-12 07:20:55 +02:00
Strangerke
45f8bd755c CGE2: Fix code computing distance 2014-06-12 01:18:10 +02:00
uruk
5a5fe344a0 CGE2: Implement display of speech bubbles.
The sound code connected to them is still gappy.
2014-06-10 17:27:59 +02:00
uruk
85c55333b3 CGE2: Handle kCmdSetRef.
Fix Snail during the process.
2014-06-10 14:38:30 +02:00
uruk
71b0a4cc69 CGE2: Implement Sprite::labVal(). 2014-06-10 14:02:33 +02:00
uruk
e10f22b62f CGE2: Move kLineMax to cge2.h. 2014-06-10 14:02:17 +02:00
uruk
12c531284b CGE2: Implement a couple of command handling functions. 2014-06-09 23:54:45 +02:00
uruk
63fa2d4906 CGE2: Simplify if-statements. 2014-06-09 23:34:40 +02:00
uruk
76fa66fc8c CGE2: Fix endless loop regarding kCmdWait. 2014-06-09 23:20:46 +02:00
Strangerke
5d80601c06 CGE2: Reduce the scope of a couple of variables, fix style 2014-06-08 22:53:38 +02:00
uruk
93010a8407 CGE2: Implement CGE2Engine::mapCross().
Rework Map during the process.
2014-06-08 14:26:42 +02:00
uruk
ba8bc2e40b CGE2: Rework empty-checks of strings. 2014-06-08 12:55:19 +02:00
uruk
acbd19bec4 CGE2: Some rework in Map. 2014-06-08 12:42:05 +02:00
uruk
1d8536e6df CGE2: Replace tab with space. 2014-06-08 11:06:12 +02:00
uruk
9afe6bd570 CGE2: Add, implement and use Map. 2014-06-08 09:53:47 +02:00
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