52 Commits

Author SHA1 Message Date
uruk
5b9c51d4b4 CGE2: Repair FXP's operator=(). 2014-08-12 10:05:51 +02:00
uruk
e488da5757 CGE2: Remove unnecessary commented out code. 2014-08-11 20:34:18 +02:00
uruk
02f3418d6f CGE2: Fix some more formatting in vga13h.h. 2014-08-11 20:32:56 +02:00
uruk
5e375d0796 CGE2: Fix formatting of operators' return values in vga13h.h. 2014-08-11 16:06:10 +02:00
uruk
b3fed6c369 CGE2: Return value instead of reference in FXP's operator=. 2014-08-11 16:03:38 +02:00
uruk
7dfd108f68 CGE2: Remove unused functions from V2D. 2014-08-11 15:56:20 +02:00
uruk
25ebfe461f CGE2: Remove unnecessary comments from vga13h.h. 2014-08-11 15:54:38 +02:00
Paul Gilbert
0d662566bd CGE2: Further fixes to FXP operators to fix pathfinding 2014-08-01 11:16:39 -04:00
Paul Gilbert
4139e79fcc CGE2: Fixes for the FXP class 2014-07-29 20:23:02 -04:00
uruk
cee669e763 CGE2: Implement setAutoColors().
Add a redefinition of closest() to do so.
2014-07-29 13:25:13 +02:00
uruk
375a7c3b15 CGE2: Implement snCycle, add stub for Vga::rotate(). 2014-07-29 11:17:07 +02:00
uruk
b911b66cc4 CGE2: Keep in sync the in-game color blind option with the Launcher's. 2014-07-28 16:40:06 +02:00
uruk
807f354cba CGE2: Remove unused classes from vga13h. 2014-07-14 18:14:20 +02:00
uruk
c7aa91019b CGE2: Replace NULL with nullptr everywhere. 2014-07-07 21:42:45 +02:00
uruk
f155546ecb CGE2: Partially working save/load system.
There's a mayor bug which blocks the toolbar from interaction after loading. To be investigated during the upcoming days.
2014-07-04 13:01:28 +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
ade740de10 CGE2: Implement saving. 2014-06-29 22:52:03 +02:00
uruk
2f80cf6faf CGE2: Fix formatting of FXP's operators. 2014-06-28 21:39:16 +02:00
uruk
f69ee470ed CGE2: Rework FXP::Joined().
This commit hopefully silence a great wall of GCC warnings.
2014-06-28 21:38:21 +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
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
f36cfb629c CGE2: Fix mapCross(). 2014-06-22 13:26:55 +02:00
Strangerke
40262bad98 CGE: Remove (broken) variable length specification 2014-06-15 22:48:23 +02:00
uruk
c488c15289 CGE2: Rework Sprite::touch to use V2D for coords. 2014-06-15 21:29:32 +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
a2c3a11708 CGE2: Rename setCave() to setScene(). 2014-06-13 22:36:32 +02:00
uruk
95c844a035 CGE2: Implement snKill().
Add and implement Sprite::setCave() during the process.
2014-06-13 16:13:36 +02:00
Paul Gilbert
162c840937 CGE2: Fix FXP initialiation and division operator 2014-06-12 23:49:06 -04:00
Strangerke
207f3c8be2 CGE2: Implement FXP code. Still WIP, loadTab to be fixed 2014-06-12 07:20:55 +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
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
26b7ecd2ee CGE2: Get rid of _spareQ.
CGE2 uses an instance of Spare instead of it.
2014-06-04 22:57:02 +02:00
Strangerke
a0aa7df19c CGE2: Remove useless 'void' 2014-06-04 07:10:27 +02:00
Strangerke
aabe883dc2 CGE2: Fix some more GCC warnings 2014-06-03 22:34:39 +02:00
Strangerke
de8affdec5 CGE2: Silence some gcc warnings 2014-06-03 17:39:10 +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
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
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
47e55f1664 CGE2: Initialize _actions[] in SprExt's constructor. 2014-05-18 14:15:13 +02:00
uruk
997564d1f6 CGE2: Reimplement backShow(). 2014-05-17 23:20:21 +02:00
uruk
bb4679672c CGE2: Revise Queue. 2014-05-17 23:14:19 +02:00
uruk
c202328ecf CGE2: Implement Sprite::setShapeList(). 2014-05-13 17:27:12 +02:00
uruk
78429a7238 CGE2: More revision and stubbing in Sprite. 2014-05-13 16:47:55 +02:00
uruk
e8148cf1de CGE2: Rework SprExt, stub more functions of Sprite. 2014-05-13 11:58:42 +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