53 Commits

Author SHA1 Message Date
uruk
77b5c7e4ad CGE2: Rename _commandStat to _soundStat. 2014-07-22 15:41:33 +02:00
uruk
d9e82f8f8e CGE2: Get rid of _sprite. 2014-07-17 15:41:49 +02:00
uruk
8861b0b583 CGE2: Get rid of _mode. 2014-07-15 14:41:46 +02:00
uruk
c1bda3c973 CGE2: Remove unnecessary stub from run(). 2014-07-09 11:53:52 +02:00
uruk
45da1e7c74 CGE2: Implement switchVox() and switchCap(). 2014-07-09 11:17:30 +02:00
uruk
e15f40978a CGE2: Implement loading from the Launcher. 2014-07-04 19:07:38 +02:00
uruk
b9dc93c451 CGE2: Heavily rework memory management of Sprites.
Hopefully it will solve a bunch of memory leak problems.
Now Spare is a central container, which stores pointers to every Sprite currently used by the engine.
Because of that, there's no more need for Queue's clear().
In case of snKill(), it's just a safeguard, since it's only used by the engine to "kill" the speech bubbles, but we will check Spare anyway, so it's the safest this way.
2014-07-04 12:58:46 +02:00
uruk
38a59bee3e CGE2: Add skeleton for save/load system.
Also rename loadGame() to loadHeroes().
2014-06-29 20:36:54 +02:00
uruk
23adc159ef CGE2: Implement busy() and revise connected parts of the engine. 2014-06-23 11:50:49 +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
186d90e5b5 CGE2: Implement switching between scenes.
Minor modification in Spare again to do so.
2014-06-17 15:37:55 +02:00
uruk
e3b5686c43 CGE2: Rename caves to scenes. 2014-06-15 21:23:14 +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
9afe6bd570 CGE2: Add, implement and use Map. 2014-06-08 09:53:47 +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
63a153165a CGE2: Implement Font. 2014-06-06 16:45:02 +02:00
Strangerke
7ef509608e CGE2: USe an int for sex instead of a boolean 2014-06-03 07:42:17 +02:00
uruk
87db3d2d75 CGE2: Add _blinkSprite.
This also fixes previously broken compilation in 79ef038.
2014-06-02 14:38:40 +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
6275f50d80 CGE2: Fix commandStat initialization 2014-05-30 10:33:57 +02:00
uruk
4e232814d5 CGE2: Implement runGame(). 2014-05-26 10:33:47 +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
14e3df21ef CGE2: Add stub for System. 2014-05-26 09:37:52 +02:00
uruk
921385b30c CGE2: Add stub for keyboard handling. 2014-05-26 09:23:31 +02:00
uruk
eb80080784 CGE2: Some refactoring and fixing regarding runCommand(). 2014-05-24 00:11:43 +02:00
uruk
947f4b8607 CGE2: Partially implement CommandHandler::runCommand(). 2014-05-23 15:23:19 +02:00
uruk
e2ca4382d8 CGE2: Implement CommandHandler::idle(). 2014-05-23 13:06:50 +02:00
uruk
e98554309d CGE2: Add mainLoop() and handleFrame().
Also implement connecting things.
2014-05-23 10:55:58 +02:00
uruk
bf820481b7 CGE2: Implement feedSnail(). 2014-05-19 23:24:23 +02:00
uruk
e6229a2596 CGE2: Add Mouse in events.h to further implement caveUp(). 2014-05-19 17:10:18 +02:00
uruk
57b9a31ac2 CGE2: Add stubbed Font and Talk.
All to further implement caveUp().
2014-05-19 16:32:53 +02:00
uruk
f121349503 CGE2: Further implement caveUp(), add stubbed loadMap(). 2014-05-17 22:34:31 +02:00
uruk
cb72489106 CGE2: Fix deinit(). 2014-05-17 22:18:57 +02:00
uruk
365bad47ae CGE2: Move showTitle() from cge2.cpp to cge2_main.cpp. 2014-05-15 12:23:27 +02:00
uruk
6d7becb1da CGE2: Add newRandom(). 2014-05-15 12:21:24 +02:00
uruk
4e7bcb5f36 CGE2: Fix ShowTitle().
Now it REALLY puts the picture to the middle of the screen.
2014-05-15 11:20:13 +02:00
uruk
945f12f2ad CGE2: Move setEye()s to CGE2Engine. 2014-05-15 10:58:59 +02:00
uruk
78429a7238 CGE2: More revision and stubbing in Sprite. 2014-05-13 16:47:55 +02:00
uruk
e30296976c CGE2: Instantiate CommandHandler. 2014-05-13 10:33:15 +02:00
uruk
49d7852792 CGE2: Add Spare. 2014-05-12 22:24:21 +02:00
uruk
724899fc19 CGE2: Rework Sprite a bit, make _eye an engine variable.
Also move screenToGround() during the process.
2014-05-10 11:12:30 +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
72cccb8000 CGE2: Add Hero. 2014-05-08 16:51:03 +02:00
uruk
0cbed1f53b CGE2: Start implementation of movie() and connected functions. 2014-05-06 21:02:58 +02:00
uruk
b595d9ee0a CGE2: Add Text and a reduced skeleton of cge2_main. 2014-05-05 18:59:17 +02:00
uruk
8e3bbbea7c CGE2: Add sound code with working MIDI parts. 2014-05-01 22:52:20 +02:00
uruk
ec71f93628 CGE2: Add parts of the graphics code. 2014-04-29 09:50:40 +02:00
uruk
258d7ea535 CGE2: Implement deinitialization properly. 2014-04-28 10:24:35 +02:00
uruk
d9e0e882b7 CGE2: Deallocate _resman in destructor. 2014-04-28 09:34:34 +02:00