Commit Graph

28739 Commits

Author SHA1 Message Date
Johannes Schickel
9df7f7385c - Cleanup
- This time fixed the real cause of the mismatching malloc / delete[] call.

svn-id: r36191
2009-02-01 21:11:03 +00:00
Filippos Karapetis
8f91046af4 Updated the MSVC project files of the scummvm project with the latest changes to the files
svn-id: r36190
2009-02-01 21:09:29 +00:00
Filippos Karapetis
aacaf0d41d Updated the kyra MSVC project files for the newly added files
svn-id: r36189
2009-02-01 21:06:02 +00:00
Johannes Schickel
2648f42fc5 Removed uneeded setupPrologueData calls.
svn-id: r36188
2009-02-01 20:55:16 +00:00
Johannes Schickel
4662333b81 Oops wrong parameter in last commit.
svn-id: r36187
2009-02-01 20:54:24 +00:00
Johannes Schickel
1aa84d4b5e - Fixed mismatching new[] / free.
- Fixed bad casting

svn-id: r36186
2009-02-01 20:53:30 +00:00
Filippos Karapetis
f1ebbebd7b Silenced MSVC warning (MSVC is being silly here...)
svn-id: r36185
2009-02-01 20:52:53 +00:00
Johannes Schickel
574a7924df Implemented per voice volume control. (Used for example in LoL intro)
svn-id: r36184
2009-02-01 20:35:51 +00:00
Johannes Schickel
90184e6812 Moved some code to newly added files sequences_lol.cpp (more static sequence code is coming up in the future anyway...)
svn-id: r36183
2009-02-01 20:21:01 +00:00
Johannes Schickel
68b7cb265d Oops removed accidently commited code.
svn-id: r36182
2009-02-01 20:13:05 +00:00
Johannes Schickel
ce4c7f4a11 Removed obsolete fixme.
svn-id: r36181
2009-02-01 20:11:05 +00:00
Johannes Schickel
1626c624ba Fixed out of bounds memory access.
svn-id: r36180
2009-02-01 19:56:30 +00:00
Johannes Schickel
dda109ead3 Fixed compilation for now.
svn-id: r36179
2009-02-01 19:53:12 +00:00
Florian Kagerer
784c99b3da svn-id: r36178 2009-02-01 19:27:01 +00:00
Marcus Comstedt
f90e4545c2 Merged r36175 from branch-0-13-0:
Fixed alpha blending in the UI dialogs by adding alpha
computation to the blendPixelPtr() function.  To minimize
impact, pre-multiplied alpha is assumed, meaning that the
blending of the R, G and B components is the same both
with and without hardware alpha.

svn-id: r36177
2009-02-01 14:56:19 +00:00
Henry Bush
6438c40958 T7G: Fix for 2474078 (hopefully). Check if volume has fallen to correct level at end of applyfading, in case it gets set to correct level during it.
svn-id: r36173
2009-02-01 11:56:12 +00:00
Willem Jan Palenstijn
6abcac40de don't test existence of file in AmigaOSFilesystemNode::getChild (bug #2487481)
svn-id: r36171
2009-02-01 09:49:24 +00:00
Henry Bush
b1c58328a5 T7G: revert r36125 until I figure out why it broke general midi music
svn-id: r36170
2009-02-01 09:05:23 +00:00
Johannes Schickel
20d1e78fa6 o2_loadSoundFile is a dummy for non DOS versions.
svn-id: r36168
2009-01-31 15:16:51 +00:00
Paul Gilbert
f8963cf550 Disable GMM Save/Loading when a cut-scene is playing
svn-id: r36165
2009-01-31 12:26:44 +00:00
Paul Gilbert
e2baabcab9 Enabled runtime save/loading from the GMM menu, and fixed launcher listing of savegames
svn-id: r36164
2009-01-31 12:15:21 +00:00
Johannes Schickel
71dcc140f9 Fixed o2_loadSoundFile implementation.
svn-id: r36163
2009-01-31 12:06:33 +00:00
Johannes Schickel
31d40307bc Fix for bug #2551436 "KYRA2: ScummVM quits after death".
svn-id: r36161
2009-01-31 12:00:20 +00:00
Gregory Montoir
b2b37d3d67 fixed invalid dirty rect for infobar ; added code difference in infobar display for DE version (tracker items #2523881,2523924)
svn-id: r36160
2009-01-31 09:44:27 +00:00
Torbjörn Andersson
7cab911532 Disable the "press c for credits" hotkey (which wasn't in the original anyway)
because of strange rumors about the credits running spontaneously every few
minutes. I don't know if this is a temporary or permanent measure.

svn-id: r36155
2009-01-31 07:57:41 +00:00
Paul Gilbert
13c7397837 Bugfix to properly have one NPC character move out of the way when two NPCs bump into each other
svn-id: r36153
2009-01-31 01:58:10 +00:00
Max Horn
e7afcecda2 Removed default implementations of OSystem::getOverlayHeight() and getOverlayWidth()
svn-id: r36152
2009-01-30 16:23:41 +00:00
Max Horn
e354c4b4f2 Got rid of VectorRenderer::surfacePitch() & VectorRenderer::bytesPerPixel(): the latter was not used, for the former it is silly to go through a virtual method to compute that value; all in all, this code performs too many unnecessary divisions ;)
svn-id: r36151
2009-01-30 16:18:58 +00:00
Max Horn
f49e0667a4 Document OSystem::copyRectToOverlay params more explicitly (esp. the pitch param, which differs from that of copyRectToScreen)
svn-id: r36150
2009-01-30 16:16:52 +00:00
Max Horn
716f88f571 Avoid using g_engine if possible
svn-id: r36149
2009-01-30 16:04:39 +00:00
Max Horn
f465abb75d Removed unused area convolution code from VectorRenderer
svn-id: r36148
2009-01-30 15:43:45 +00:00
Max Horn
e21f5febdc Don't use g_engine to access the mixer
svn-id: r36147
2009-01-30 15:41:23 +00:00
Max Horn
de8fa39b25 Fix for bug #2548995: AmigaOS4: Compiler error (and taking care of some potential errors in WinCE & GP2x, too)
svn-id: r36146
2009-01-30 14:26:34 +00:00
Paul Gilbert
26210ad976 Bugfix to stop characters changing rooms if the entrance in the other room is blocked by another NPC
svn-id: r36144
2009-01-30 12:22:30 +00:00
Max Horn
341bc64aaf do not include common/debug.h from common/util.h
svn-id: r36143
2009-01-30 05:25:17 +00:00
Max Horn
7cb437b56f Renamed SpecialDebugLevel to DebugChannel
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
7b50c293e6 Switched special debug levels to using a hashmap internally
svn-id: r36141
2009-01-30 05:03:04 +00:00
Max Horn
76deee02d6 Some more 'special debug levels' tweaks
svn-id: r36140
2009-01-30 04:52:53 +00:00
Max Horn
de7c89e381 Some work on the 'special debug levels' aka 'engine debug levels' code
svn-id: r36139
2009-01-30 04:42:30 +00:00
Max Horn
9861da62f0 cleanup
svn-id: r36138
2009-01-30 04:41:57 +00:00
Max Horn
4d87acf8b4 AGOS: Added TODO about the possibility of using special debug levels
svn-id: r36137
2009-01-30 04:07:41 +00:00
Max Horn
601175cb32 Reorder modules to fix linker issues when all engines are disabled (this order is weird, but for now seems to work)
svn-id: r36136
2009-01-30 04:04:10 +00:00
Max Horn
c69ebfd798 Moved default implementations for various OSystem methods into a new class BaseBackend
svn-id: r36135
2009-01-30 03:35:47 +00:00
Max Horn
1d097d9791 Moved debug() etc. and special debug flag handling code to common/debug.*; also some tweaks to the code
svn-id: r36134
2009-01-30 01:17:12 +00:00
Max Horn
42b26e0f56 cleanup
svn-id: r36133
2009-01-30 01:15:17 +00:00
Max Horn
28cf213605 Moved AdvancedDetector from common/ to engines/
svn-id: r36132
2009-01-29 22:13:01 +00:00
Max Horn
7eaafd933f Be paranoid about g_system being set
svn-id: r36131
2009-01-29 22:09:06 +00:00
Gregory Montoir
164a099c7f restrict charwidth table patch to french version, should fix #2523924
svn-id: r36129
2009-01-29 21:31:44 +00:00
Max Horn
abc76c6ddc cleanup
svn-id: r36128
2009-01-29 17:43:55 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00