Commit Graph

54941 Commits

Author SHA1 Message Date
Johannes Schickel
178365f5e9 COMMON: Add a header for C++11 keywords for pre-C++11 compilers.
This currently adds defines for nullptr and override, so we can use them in
pre-C++11 compilers, while taking advantage of them with C++11 compilers.
2013-01-09 07:53:41 +01:00
Johannes Schickel
d198ccac26 CONFIGURE: Add option to build as C++11. 2013-01-09 07:53:41 +01:00
Johannes Schickel
cc0b8594ce AUDIO: Silence C++11 narrowing warnings. 2013-01-09 07:24:37 +01:00
Johannes Schickel
0e3f8d68c4 VIDEO: Silence C++11 narrowing warnings. 2013-01-09 07:24:37 +01:00
Johannes Schickel
9f22d60adf SDL: Silence C++ narrowing warnings. 2013-01-09 07:24:37 +01:00
Johannes Schickel
0a495f7faa OPENGL: Silence C++11 narrowing warning. 2013-01-09 07:24:37 +01:00
Johannes Schickel
fe1a779441 SWORD25: Silence C++11 narrowing warnings. 2013-01-09 07:24:37 +01:00
Johannes Schickel
3d9d7ab4f8 SAGA: Silence C++11 narrowing warnings. 2013-01-09 07:24:37 +01:00
Johannes Schickel
7b18d4a468 PEGASUS: Silence C++11 narrowing warnings. 2013-01-09 07:24:37 +01:00
Johannes Schickel
fa967e92b7 AGI: Silence C++11 narrowing warning. 2013-01-09 07:24:37 +01:00
Johannes Schickel
b27736fc3f SKY: Silence C++11 narrowing warnings. 2013-01-09 07:24:37 +01:00
Johannes Schickel
ff7a34aec5 SCUMM: Silence C++11 narrowing warnings. 2013-01-09 07:24:37 +01:00
Johannes Schickel
0d934df9fc Merge pull request #297 from clone2727/gl-default-scale-fix
ENGINES: Honor the default to 1x flag for OpenGL modes
2013-01-08 21:21:34 -08:00
Johannes Schickel
bee175ae50 KYRA: Get rid of some unnecessary overwrites. 2013-01-09 06:10:22 +01:00
Johannes Schickel
8520475153 KYRA: Mark overloaded methods of Sound subclasses as virtual. 2013-01-09 06:09:22 +01:00
Johannes Schickel
8d5b4b75d4 KYRA: Make all hex constants use uppercase letters.
Done with:
git ls-files "*.cpp" *".h" | xargs sed -i -e 's/0x\([0-9a-f]*\)/0x\U\1/g'
2013-01-09 06:01:28 +01:00
Johannes Schickel
ff296175bc KYRA: Fix voicePlay overwrite in PC98 and Amiga sound outputs.
This was forgotten to adapt in e016e7dfc2.
2013-01-09 05:54:16 +01:00
Johannes Schickel
ed53292194 CONFIGURE: Allow amd64 as alias for x86_64.
Patch from #3599990 "CONFIGURE: Equate amd64 with x86_64".
2013-01-09 05:10:42 +01:00
Filippos Karapetis
796867cd32 TOLTECS: Fix script bug #3599964 - "TOLTECS: Crash when entering cave" 2013-01-08 23:13:38 +02:00
Matthew Hoops
f235ef143c ENGINES: Honor the default to 1x flag for OpenGL modes 2013-01-08 10:32:08 -05:00
Bastien Bouclet
a7b72d0a9a BUILD: PS3 packages don't need "finalizing" anymore.
This is necessary for newer firmware support.
2013-01-08 09:57:53 +01:00
Johannes Schickel
1fc162086d README: Add EoB 1+2 and LoL to supported games. 2013-01-06 21:33:12 +01:00
Filippos Karapetis
7058daaed1 MT32: Remove the screen drawing code of the MUNT debug messages (bug #3599702)
The MUNT debug messages are called from an audio callback, which is not allowed to
update the screen, as per the OSystem documentation in common/system.h:401
2013-01-06 22:24:27 +02:00
Filippos Karapetis
89bbc9c292 DRASCULA: Fix shadowing warnings (thanks LordHoto), and rename some variables 2013-01-06 21:54:40 +02:00
Filippos Karapetis
05bf234b26 MT-32: Only show MUNT debug messages for debug level 4 and above (bug #3599702)
This avoids showing warnings in the intro of FOTAQ when using the MT-32 emulator
2013-01-06 21:54:40 +02:00
Johannes Schickel
71304b6e77 GOB: Fix const away cast warning.
Thanks to DrMcCoy for looking over this.
2013-01-06 20:53:08 +01:00
Johannes Schickel
98cfb57dd3 PARALLACTION: Fix a const cast warning. 2013-01-06 20:34:26 +01:00
Johannes Schickel
988596b347 Merge pull request #299 from tomaz82/IFFDecoder
New IFFDecoder
2013-01-06 11:20:52 -08:00
Tomas Jakobsson
befa207bfa GRAPHICS: Delete iff.cpp and iff.h since all ILBM and PBM decoding is handled by IFFDecoder now 2013-01-06 20:04:50 +01:00
Tomas Jakobsson
fe10773ac3 SAGA: Update to new IFFDecoder for PBM images 2013-01-06 20:04:50 +01:00
Tomas Jakobsson
25752922ef QUEEN: Update to new IFFDecoder for ILBM images 2013-01-06 20:04:45 +01:00
Tomas Jakobsson
548b505b68 PARALLACTION: Update to new IFFDecoder for ILBM images 2013-01-06 20:04:45 +01:00
Tomas Jakobsson
b85d51c4a3 GOB: Update to new IFFDecoder for ILBM images 2013-01-06 20:04:42 +01:00
Tomas Jakobsson
fe2b4b39f7 GRAPHICS: New IFFDecoder that decodes ILBM and PBM images 2013-01-06 20:04:42 +01:00
Tomas Jakobsson
f01d4c5aa8 COMMON: Add PackBitsReadStream to iff_container 2013-01-06 20:04:41 +01:00
Filippos Karapetis
3e025a8c55 TOLTECS: Add detection for the English demo and correct the German one 2013-01-06 20:43:23 +02:00
Filippos Karapetis
00c0986562 DRASCULA: More animation cleanup. Separate subfunction of animation_12_5() 2013-01-04 23:06:19 +02:00
Filippos Karapetis
c1b0c80cce DRASCULA: Merge some animation functions and document all animations 2013-01-04 19:31:25 +02:00
Torbjörn Andersson
069f1079d8 DRASCULA: Respond quicker to aborting the von Braun song
This also fixes a palette glitch when trying to interrupt during
a fade. (The old image would flash before the room changed. It's
possible other such glitches still exist here, but if so they're
much less obvious than that one was.)
2013-01-04 14:21:34 +01:00
Filippos Karapetis
92dc12a3b2 DRASCULA: Properly set the game play time when loading a saved game 2013-01-04 13:24:43 +02:00
Filippos Karapetis
fe9228d4bb Oops, fix save converter message 2013-01-04 13:17:28 +02:00
Filippos Karapetis
560062f2cb TRANSLATION: Add the new translatable files in the drascula engine 2013-01-04 13:12:52 +02:00
Filippos Karapetis
6dc9ca65fd NEWS: Mention Drascula save/load changes 2013-01-04 13:12:52 +02:00
Filippos Karapetis
4adfdb17e3 DRASCULA: Add advanced savegame functionality
This cleans up the save/load code and resolves multiple issues with the
original save/load screen.
Save game timestamps and thumbnails are now implemented, together with
the ability to load a game from the launcher.
F7 is now mapped to the ScummVM load dialog, and F10 to the save dialog
(if the user has selected to use the ScummVM save screen).
2013-01-04 13:12:52 +02:00
Torbjörn Andersson
532dd09b21 TOLTECS: When a new dialog opens, highlight active item (if any)
We do this by acting as if the mouse just moved to its current
position. I first noticed this on the original save/load dialogs.
2013-01-04 10:58:27 +01:00
Torbjörn Andersson
c9a175a877 TOLTECS: Scroll original save/load dialog to bottom on opening
This doesn't behave quite like the original - it seems the original
does not take the fake last entry into account when saving? - but I
think it's actually a bit more consistent this way.
2013-01-04 10:50:18 +01:00
Torbjörn Andersson
8afe7a2361 TOLTECS: Hide/show arrows in original save/load dialogs
The arrows are only visible when there are savegames to scroll to
in that direction.
2013-01-04 10:32:10 +01:00
Torbjörn Andersson
f93facaf45 TOLTECS: Make aborting movies more reliable
Before, the main updateInput() might swallow attempts at aborting
movies. Now all events are handled by the movie player's own
handleInput(). As a side effect, it's no longer necessary to check
if a movie is playing before removing subtitles when pressing space.
2013-01-04 02:27:56 +01:00
Torbjörn Andersson
e0b75c59ea TOLTECS: Remove unnecessary calls to quitGame()
Calling quitGame() simply creates a new quit event. There's no
need to do that when catching a quit event.
2013-01-04 02:12:21 +01:00
Torbjörn Andersson
f7e4f4b354 TOLTECS: Adjust verb drawing to look more like original
Both the "wobble" and the positions were slightly off. I didn't
want to change _verbLineY because for one thing it doesn't seem to
affect the drawing of the verbs, and for another it seems to be
stored in savegames because... squirrel!
2013-01-04 00:40:17 +01:00