uruk
7a549f2693
CGE2: Implement offUse().
2014-06-18 23:34:26 +02:00
uruk
d85d3229e6
CGE2: Implement functions connected to inventory handling.
...
Also move closePocket() closer to the others and fix the stub message in busy().
2014-06-18 22:37:54 +02:00
uruk
26901479d3
CGE2: Fix initialization of _posTab.
...
Fixes a possible memory leak.
2014-06-17 15:38:24 +02:00
uruk
186d90e5b5
CGE2: Implement switching between scenes.
...
Minor modification in Spare again to do so.
2014-06-17 15:37:55 +02:00
uruk
c488c15289
CGE2: Rework Sprite::touch to use V2D for coords.
2014-06-15 21:29:32 +02:00
uruk
e3b5686c43
CGE2: Rename caves to scenes.
2014-06-15 21:23:14 +02:00
uruk
baffdd97e2
CGE2: Fix coordinates of mouse handling.
...
Now infoLine is working properly. Rework solidAt() to achieve that.
Also move spriteAt from talk.cpp to cge2_main.cpp, and remove the older version which didn't use V2D as a parameter.
2014-06-15 21:11:42 +02:00
Paul Gilbert
c48c585f88
CGE2: Fix loading of fixed-point integer values
2014-06-14 19:34:30 -04:00
uruk
3d63184fee
CGE2: Rethink Spare::dispose().
2014-06-14 19:46:18 +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
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
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
uruk
ba8bc2e40b
CGE2: Rework empty-checks of strings.
2014-06-08 12:55:19 +02:00
uruk
9afe6bd570
CGE2: Add, implement and use Map.
2014-06-08 09:53:47 +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
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
f2c0069765
CGE2: Change BitmapPtr *_shpList -> BitmapPtr _shpList.
...
Update rest of the code accordingly.
2014-06-06 14:57:34 +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
Strangerke
c5072db8fb
CGE2: Fix remaining shadowed variables
2014-06-03 22:46:59 +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
uruk
6d73870431
CGE2: Move then implement Sprite::touch().
...
Also add stubs for called functions.
2014-06-02 14:46:59 +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
8eb6a4db8b
CGE2: Add display of mouse cursor.
...
The actual click-handling is not working yet.
2014-06-01 21:44:07 +02:00
uruk
e34113a94c
CGE2: Fix assignments and deinitialization of _eye and _eyeTab.
2014-05-30 12:48:58 +02:00
Strangerke
7ecb734a6a
CGE2: Fix eyetab initialization
2014-05-30 10:41:32 +02:00
uruk
7c73ce5d8b
CGE2: Implement snSend().
2014-05-29 19:58:38 +02:00
uruk
06ae8de156
CGE2: Fix movie().
2014-05-29 18:19:01 +02:00
uruk
8af90ab6b7
CGE2: Stub out actual use of _infoLine in runGame().
2014-05-26 17:40:09 +02:00
uruk
62e36f9279
CGE2: Rework EncryptedStream::readLine().
2014-05-26 16:30:32 +02:00
uruk
43ce991b84
CGE2: Rework loadUser().
2014-05-26 16:09:49 +02:00
uruk
75546134c8
CGE2: Implement loadUser() and loadPos().
...
Revise File I/O a bit to do so.
2014-05-26 15:58:07 +02:00
uruk
8fa31d1168
CGE2: Comment out calling of the intro animation during testing.
2014-05-26 15:57:23 +02:00
uruk
4e232814d5
CGE2: Implement runGame().
2014-05-26 10:33:47 +02:00
uruk
14e3df21ef
CGE2: Add stub for System.
2014-05-26 09:37:52 +02:00
uruk
b82a0fa3e5
CGE2: Add isHero().
2014-05-24 09:04:41 +02:00
uruk
9c8c734a3c
CGE2: Revise CGE2Engine::tick().
2014-05-24 08:59:06 +02:00
uruk
947f4b8607
CGE2: Partially implement CommandHandler::runCommand().
2014-05-23 15:23:19 +02:00