64219 Commits

Author SHA1 Message Date
Strangerke
6f2e4a76cc CGE2: Add workaround for badly named VBM file in room 11 2014-06-28 00:46:32 +02:00
uruk
2514d86630 CGE2: Implement Sprite::step() fully. 2014-06-27 23:40:23 +02:00
uruk
723bdc12ad CGE2: Make Hero's expand() and contract() virtual.
Now it mimics the original correctly.
2014-06-27 12:11:06 +02:00
Strangerke
b08b3eac33 CGE2: Add a virtual destructor in Choice, some minor cleanup 2014-06-27 07:34:27 +02:00
Strangerke
e9396f8d10 CGE2: Fix some GCC warnings 2014-06-27 01:09:34 +02:00
Strangerke
014d6bd9f0 CGE2: Hopefully fix compilation for GCC 2014-06-26 21:07:24 +02:00
Strangerke
00c867f8ea CGE2: Add a safeguard in Sprite::show() 2014-06-25 19:37:25 +02:00
Strangerke
384f1b664b CGE2: Implement snMidi() 2014-06-25 19:36:59 +02:00
Strangerke
2bc35f6f6d CGE2: Add a work around for missing VBM in scene 4 2014-06-24 23:36:37 +02:00
Strangerke
3dd6c9f7aa CGE2: Implement a couple of stubs 2014-06-24 22:14:19 +02:00
Strangerke
840eef8eb1 CGE2: Add a big hack to work around the coordinates issue 2014-06-23 18:10:05 +02:00
uruk
0eece817eb CGE2: Fix releasePocket().
Now the inventory system is working as intended.
2014-06-23 13:11:54 +02:00
uruk
23adc159ef CGE2: Implement busy() and revise connected parts of the engine. 2014-06-23 11:50:49 +02:00
uruk
2226eb0789 CGE2: Implement snSay(), reimplement some parts of the sound code. 2014-06-23 10:20:24 +02:00
uruk
19bc151939 CGE2: Some more formatting fix in FXP. 2014-06-22 23:11:27 +02:00
uruk
c8ed838c05 CGE2: Fix formatting in FXP. 2014-06-22 19:28:55 +02:00
uruk
7b628c7ffc CGE2: Fix some formatting in Hero. 2014-06-22 19:06:40 +02:00
uruk
6015eddc41 CGE2: Remove double definition kMaxTry. 2014-06-22 18:44:33 +02:00
uruk
cb3dce698c CGE2: Rework Hero::len(). 2014-06-22 14:10:47 +02:00
Strangerke
af646247f3 CGE2: Remove useless variable declarations 2014-06-22 13:48:58 +02:00
uruk
8ae41648f9 CGE2: Implement snSwap(). 2014-06-22 13:38:47 +02:00
uruk
f36cfb629c CGE2: Fix mapCross(). 2014-06-22 13:26:55 +02:00
uruk
fc5c92b5d0 CGE2: Implement snGive() and snRmNear(). 2014-06-22 13:05:24 +02:00
Strangerke
f1b14c6d31 CGE2: Reduce the scope of some variables 2014-06-21 18:45:28 +02:00
Strangerke
7faa95bfdd CGE2: Avoid some signed/unsigned comparisons 2014-06-21 18:33:31 +02:00
uruk
e708c1e5cd CGE2: Implement "quit menu".
Now the "main switch" on the menu panel is working.
Also move a couple of defines from cge2_main.h to cge2.h during the process.
2014-06-21 01:57:18 +02:00
uruk
fcd387553f CGE2: Implement optionTouch().
Add stubs for called functions.
2014-06-19 12:30:44 +02:00
uruk
76846bf4f5 CGE2: Implement Hero::fun(). 2014-06-19 12:23:00 +02:00
uruk
ea9b4d0729 CGE2: Implement snMouse(). 2014-06-19 11:50:42 +02:00
uruk
ff99cb9658 CGE2: Implement Sprite::works().
Now Anna is also reachable/playable.
2014-06-19 11:43:01 +02:00
uruk
56c7df46d3 CGE2: Implement showing the selected item in the inventory.
Now the selected item's picture is blinking until deselected.
2014-06-19 11:34:25 +02:00
uruk
535b70934e CGE2: Comment out code and add TODO in switchScene(). 2014-06-19 10:44:00 +02:00
uruk
d7e70eb5fa CGE2: Implement inf(). 2014-06-19 00:09:01 +02:00
uruk
7a549f2693 CGE2: Implement offUse(). 2014-06-18 23:34:26 +02:00
uruk
ea5697d5a0 CGE2: Implement snKeep().
Now the inventory system is (at least partially) working.
2014-06-18 22:58:33 +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
fb97e24a5a CGE2: Fix coords of misplaced speech bubbles.
The origin of the bug is that when we added the command (triggered by a mouse-click on a sprite) to display a speech bubble we checked the command's reference wrong and didn't bind (by modifying the reference) the bubble to a certain hero. So they just appeared randomly above the sprites what triggered the event, or even in worse places.
2014-06-18 20:43:24 +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
Strangerke
40262bad98 CGE: Remove (broken) variable length specification 2014-06-15 22:48:23 +02:00
uruk
9023240545 CGE2: Rework show() and hide() in Bitmap to use V2Ds as parameters. 2014-06-15 21:33:41 +02:00
uruk
c488c15289 CGE2: Rework Sprite::touch to use V2D for coords. 2014-06-15 21:29:32 +02:00
uruk
7f4af90777 CGE2: Fix compilation broken by previous commit. 2014-06-15 21:24:59 +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
uruk
ae96463036 CGE2: Rework EventManager::handleEvents().
Also add and implement spriteAt() during the process.
2014-06-15 21:11:42 +02:00
Strangerke
c82246ee55 CGE2: remove useless code related to boolean values 2014-06-15 11:25:56 +02:00
Strangerke
0f923c7e98 CGE2: Change the Flags structure to make use of booleans 2014-06-15 11:12:13 +02:00
Paul Gilbert
c48c585f88 CGE2: Fix loading of fixed-point integer values 2014-06-14 19:34:30 -04:00
uruk
600c32adf9 CGE2: Implement snWalk(). 2014-06-14 20:27:26 +02:00