Commit Graph
28 Commits
Author SHA1 Message Date
Torbjörn Andersson 462f1c9859 JANITORIAL: Silence more GCC 7 warnings
There were all flagged as intentional fall throughs. I simply changed
the comments to something GCC would recognize.
2017-08-06 12:26:05 +02:00
uruk 547ad696f2 CGE2: Initialize _h and _w in every constuctor of Bitmap. 2014-08-13 19:57:09 +02:00
uruk 8b1ffab95b CGE2: Fix possible string overflow in Bitmap's constructor. 2014-08-13 19:40:15 +02:00
uruk 0d47893d51 CGE2: Make matrixes static constants in makeSpeechBubbleTail(). 2014-08-11 15:44:55 +02:00
uruk 07fc3fb3c3 CGE2: Some repair in Bitmap::code(). 2014-08-03 19:16:18 +02:00
Strangerke b8b3e5af04 CGE2: Some more minor cleanup 2014-08-03 15:44:20 +02:00
Strangerke 9dc06870e7 CGE2: Start removing the checks on the return value of new 2014-08-03 01:51:33 +02:00
uruk d44ff54912 CGE2: Fix error message in makeSpeechBubbleTail(). 2014-08-02 23:17:25 +02:00
Strangerke c012c762d0 CGE2: Remove moveHi() and moveLo() from bitmap 2014-08-01 19:22:12 +02:00
uruk fe77bfecf7 CGE2: Rename Bitmap::paint() to makeSpeechBubleTail(). 2014-07-28 16:17:14 +02:00
uruk c7aa91019b CGE2: Replace NULL with nullptr everywhere. 2014-07-07 21:42:45 +02:00
uruk a3071a00f9 CGE2: Replace addExt() wit setExtension(). 2014-07-04 13:26:27 +02:00
uruk dbbafb5d89 CGE2: Rename and heavily rework Bitmap::forceExt().
Since the extension is always ".VBM" in case of Bitmaps, there's no need to pass it as an argument.
2014-07-04 13:01:29 +02:00
Strangerke 6f2e4a76cc CGE2: Add workaround for badly named VBM file in room 11 2014-06-28 00:46:32 +02:00
Strangerke 2bc35f6f6d CGE2: Add a work around for missing VBM in scene 4 2014-06-24 23:36:37 +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 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 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
Strangerke 8d00ce68d5 CGE2: Remove 2 useless stubs 2014-06-04 01:08:25 +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
uruk ff21b2d5c8 CGE2: Implement Hero::expand(), move Sprite::works()'s stub to hero.cpp. 2014-06-02 10:03:15 +02:00
uruk ba8e801ada CGE2: Implement Sprite::expand().
Add functions:
*Bitmap::moveHi()
*Bitmap::moveLo()
*CGE2Engine::tail()
and warning comments to various places during the process.
Also add _lab data member to CommandHandler::Command.
2014-05-23 10:05:02 +02:00
uruk 412d30ca33 CGE2: Add release() to BitMap. 2014-05-18 14:01:25 +02:00
uruk 99c15216c7 CGE2: Add Bitmap::xLatPos(). 2014-05-15 11:16:35 +02:00
uruk 4ee1ab07ae CGE2: Add a self-not warning to Bitmap. 2014-05-13 17:04:51 +02:00
uruk ec71f93628 CGE2: Add parts of the graphics code. 2014-04-29 09:50:40 +02:00