Commit Graph

227 Commits

Author SHA1 Message Date
Willem Jan Palenstijn
250967a63f WINTERMUTE: Fix warnings and improve const-correctness 2013-04-15 20:44:41 +02:00
Willem Jan Palenstijn
d4982381d2 WINTERMUTE: Fix side effect of assert 2013-04-15 20:36:03 +02:00
Einar Johan Trøan Sømåen
3ea0e7c68c WINTERMUTE: Fix leak on incomplete image load. 2013-04-15 18:57:46 +02:00
Einar Johan Trøan Sømåen
92dd483e9e WINTERMUTE: Fix comparison in renderTicket. 2013-04-15 18:57:41 +02:00
anotherguest
f9247f0bce WINTERMUTE: Use template with MIN 2013-04-04 15:39:54 +02:00
D G Turner
69ba094f60 WINTERMUTE: Really fix build breakage...
strlcpy() needed qualification of Common namespace.
2013-03-24 19:04:36 +00:00
D G Turner
502cde4fa0 WINTERMUTE: Fix build breaking missing header declaration.
This is required to declare the strlcpy() function.
2013-03-24 18:56:48 +00:00
Einar Johan Trøan Sømåen
ef61c64f3f WINTERMUTE: Detach BaseQuickMsg from the class-hierarchy. (Remove useless inheritance) 2013-03-24 19:02:34 +01:00
Einar Johan Trøan Sømåen
d136e20d6e WINTERMUTE: Replace WMELite's String-Split-function with code from WME. 2013-03-24 18:55:33 +01:00
Einar Johan Trøan Sømåen
f17d69f23e WINTERMUTE: Fix random crash after save/load. 2013-03-24 18:31:01 +01:00
Einar Johan Trøan Sømåen
dedde93d1e WINTERMUTE: Avoid REQUIRING wintermute.zip during detection. 2013-03-24 17:41:10 +01:00
Einar Johan Trøan Sømåen
511f833032 WINTERMUTE: Use case-insensitive path-lookup when opening DiskFiles. 2013-02-06 13:40:36 +01:00
Einar Johan Trøan Sømåen
09303f6d1a WINTERMUTE: Get rid of BaseImage.h inclusion in BaseGame. 2013-02-06 13:40:36 +01:00
Einar Johan Trøan Sømåen
74e32bd332 WINTERMUTE: Privatize a few more members in BaseGame. 2013-02-06 13:40:35 +01:00
Einar Johan Trøan Sømåen
cef07f30d8 WINTERMUTE: Avoid applying color-keys to ALL images with bpp >= 3. 2013-02-01 02:06:07 +01:00
Einar Johan Trøan Sømåen
d12a0e1423 WINTERMUTE: Apply color-key if no alpha-channel is present
(Instead of using the bpp to detect it).
2013-02-01 01:55:16 +01:00
Einar Johan Trøan Sømåen
6b614f8ff5 WINTERMUTE: Avoid using ldepxf/frexpf 2013-02-01 00:48:47 +01:00
Einar Johan Trøan Sømåen
fcc33c22d8 WINTERMUTE: Force the screen to black after loading/saving. 2013-02-01 00:48:30 +01:00
Einar Johan Trøan Sømåen
0407906bfa WINTERMUTE: Redo the way floats are saved, break savegame compatibility with WME Lite completely.
(This also breaks compatibility with savegames from ScummVM prior to this commit, AND resets the
Savegame-version, older savegames will have differing MAGIC-numbers in their headers, and will thus
not be recognized).
2013-01-31 23:59:21 +01:00
Einar Johan Trøan Sømåen
9eff1e514f WINTERMUTE: Move Resources out of binary and into wintermute.zip 2013-01-28 09:20:14 +01:00
Einar Johan Trøan Sømåen
980dc4a456 WINTERMUTE: Replace all NULLs with nullptr. 2013-01-26 18:07:07 +01:00
Einar Johan Trøan Sømåen
798b440256 WINTERMUTE: Replace a few NULLs with nullptr. 2013-01-26 17:36:20 +01:00
Einar Johan Trøan Sømåen
8469b866cf WINTERMUTE: Add override-tags to most of the overriden functions in base/gfx. 2013-01-26 17:29:38 +01:00
Einar Johan Trøan Sømåen
3b77a97b40 WINTERMUTE: Don't cast bool to pointer. 2013-01-26 13:44:46 +01:00
Einar Johan Trøan Sømåen
c239b868da WINTERMUTE: More formatting fixes. 2013-01-24 20:17:17 +01:00
Einar Johan Trøan Sømåen
5d4d65d6d9 JANITORIAL: Fix ){ -> ) { 2013-01-24 20:15:13 +01:00
Einar Johan Trøan Sømåen
487539f102 WINTERMUTE: Remove commented out code. 2013-01-24 18:39:57 +01:00
Einar Johan Trøan Sømåen
1fee32ce45 WINTERMUTE: Return something from repeatLastDisplayOp 2013-01-24 18:24:47 +01:00
Einar Johan Trøan Sømåen
199425562e WINTERMUTE: Fix a leak in sound-file loading. 2013-01-24 17:49:24 +01:00
Einar Johan Trøan Sømåen
17809d0fb3 WINTERMUTE: Delete the _dirtyRect-field of BaseRenderOSystem in the destructor. 2013-01-24 17:27:50 +01:00
Einar Johan Trøan Sømåen
5453f7f7e6 WINTERMUTE: Delete the renderTickets when deleting BaseRenderOSystem 2013-01-24 17:24:31 +01:00
Einar Johan Trøan Sømåen
426dda70e1 WINTERMUTE: Don't scale 2Bpp images with code aimed at 4Bpp 2013-01-24 17:14:51 +01:00
Einar Johan Trøan Sømåen
2e8e3ae13e WINTERMUTE: Don't draw tickets instantly. 2013-01-24 15:11:56 +01:00
Einar Johan Trøan Sømåen
519821b53b WINTERMUTE: Further improve UITiledImage-drawing. 2013-01-24 15:11:28 +01:00
Einar Johan Trøan Sømåen
6476ba33d2 WINTERMUTE: Fix double delete of TTFs. 2013-01-23 01:40:13 +01:00
Einar Johan Trøan Sømåen
53f0871b07 WINTERMUTE: Store savegame-thumbs in game-specific sizes too. 2013-01-23 01:32:51 +01:00
Einar Johan Trøan Sømåen
57bc6374f4 WINTERMUTE: Use FreeSans from ScummModern.zip if the requested font is unavailable.
Right now this is the ONLY replacement in place, but Arial is also the default font for WME, so it should cover most cases.
2013-01-23 00:34:04 +01:00
Filippos Karapetis
338c88e5c2 WINTERMUTE: Fix incorrect reversion of code in BaseRenderOSystem::drawLine() 2013-01-23 00:25:38 +02:00
Filippos Karapetis
03634d0833 WINTERMUTE: Fix invalid reads and crashes in BaseRenderOSystem::drawSurface() 2013-01-23 00:21:32 +02:00
Einar Johan Trøan Sømåen
d52ad7e0eb WINTERMUTE: Use prefix-operators on iterators. 2013-01-22 23:00:47 +01:00
Einar Johan Trøan Sømåen
bede97c52c WINTERMUTE: Store larger thumbnails (Bump Savegame-version to 1.2.0.0) 2013-01-22 20:58:12 +01:00
Einar Johan Trøan Sømåen
c6df5f9994 WINTERMUTE: Mark drawLine as unused with dirty-rects. 2013-01-22 19:53:55 +01:00
Einar Johan Trøan Sømåen
d322592037 WINTERMUTE: Guard ConfMan a bit better. 2013-01-22 19:18:29 +01:00
Einar Johan Trøan Sømåen
472f722556 WINTERMUTE: Store MasterVolume in % instead of 0-255 to ConfMan. 2013-01-22 16:43:31 +01:00
Einar Johan Trøan Sømåen
4ba603807a WINTERMUTE: Add a hack to skip a single frame after saving/loading. (Fix Bug: #3592874) 2013-01-22 16:24:49 +01:00
Einar Johan Trøan Sømåen
6a972052ad WINTERMUTE: Remove unneccessary include. 2013-01-22 15:52:54 +01:00
Einar Johan Trøan Sømåen
9ec8c509da WINTERMUTE: Lie to the scripts about the exact master volume-% to avoid round-off-issues.
(Fix Bug #3592875)
2013-01-22 15:42:56 +01:00
Einar Johan Trøan Sømåen
7143eaed89 WINTERMUTE: Properly create WAV-substreams, (fix bug #3592165) 2013-01-22 15:10:01 +01:00
Johannes Schickel
4a7ddc6956 WINTERMUTE: Fix const away cast warning. 2013-01-09 08:18:05 +01:00
Einar Johan Trøan Sømåen
127afbac8c WINTERMUTE: Don't check the entire ticket-queue for every ticket. 2012-12-16 23:13:58 +01:00