Commit Graph

1010 Commits

Author SHA1 Message Date
Johannes Schickel
3d9d7ab4f8 SAGA: Silence C++11 narrowing warnings. 2013-01-09 07:24:37 +01:00
Tomas Jakobsson
fe10773ac3 SAGA: Update to new IFFDecoder for PBM images 2013-01-06 20:04:50 +01:00
clone2727
91317c3630 Merge pull request #293 from clone2727/qtmidi
Add support for QuickTime Music playback
2012-12-13 15:49:40 -08:00
Filippos Karapetis
faa7579241 SAGA: Add support for played time 2012-11-11 23:32:07 +02:00
Filippos Karapetis
1b5e96f429 SAGA: Fix bug #3564919 - "SAGA: IHNM Spanish: Spiritual Barometer doesn't change"
The Spanish version uses different colors for portrait
backgrounds. Also, portrait colors are now set correctly when
loading games directly from the launcher.
2012-11-11 23:31:25 +02:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Matthew Hoops
b996a6a270 SAGA: Add support for IHNM Mac music 2012-09-12 19:31:29 -04:00
Matthew Hoops
857b92f8ff Merge pull request #268 from clone2727/video-rewrite
VideoDecoder upgrade & partial rewrite
2012-08-26 15:41:56 -04:00
Filippos Karapetis
23db3cd9f2 SAGA: Remove incorrect free() in loadShortenFromStream()
This removes a warning and fixes bug #3558052 - "SAGA: use-after-free warning"
2012-08-20 03:28:02 +03:00
Matthew Hoops
fb35c7f46f VIDEO: Remove setSystemPalette() 2012-08-16 13:30:32 -04:00
Matthew Hoops
a652f6669e VIDEO: Rewrite SmackerDecoder to use the new API 2012-07-23 21:04:51 -04:00
Johannes Schickel
48e6b80253 SAGA: Slight cleanup in querySaveMetaInfos implementation.
Saves are writable and deletable by default, there is no need to mark them
explicitly as such.
2012-07-03 18:39:46 +02:00
Johannes Schickel
4fb9bceabc Merge pull request #246 from lordhoto/osystem-void-buffers
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20 08:02:26 -07:00
D G Turner
c825cc41a5 SAGA: Workaround fix for IHNM pathfinding glitches.
This fixes bug #3360396 - "IHNM: Can't use right monitor with ellen".
Have done a full playtest of IHNM to ensure this fixes the issue
without any other regressions.
Thanks to eriktorbjorn for creating this patch.
2012-06-17 02:10:04 +01:00
Johannes Schickel
ebb5cb7e4c SAGA: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02:00
Filippos Karapetis
8c1ca6548d SAGA: Fix bug #3528338 - "ITE: Subtitles always shown in introduction" 2012-05-20 20:16:16 +03:00
Christoph Mallon
bc238a5ff3 JANITORIAL: Use appropriate type for loop counter. 2012-03-13 15:42:53 +01:00
Christoph Mallon
e618e6794d JANITORIAL: Remove unnecessary empty default constructors/destructors. 2012-03-13 15:42:30 +01:00
Willem Jan Palenstijn
9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn
4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Max Horn
658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Matthew Hoops
d876dddd45 SAGA: Rework the way audio is buffered
The streams that are created are now used directly instead of SAGA creating its own RawStream after decoding it. In addition, this should fix ADPCM-compressed sounds on big endian systems (as the code was treating the result of readBuffer() to always be LE, whereas it's actual native endian).

I've also clarified the bugfix to bug #1256701. It only applies to 16-bit PCM data and the size for other data is no longer truncated too ;)
2011-12-24 11:09:54 -05:00
Matthew Hoops
4164b31e4a SAGA: Properly handle ITE Mac sound resources 2011-12-24 11:09:54 -05:00
Christoph Mallon
d9bcf1a3bf SAGA: Simply use a Graphics::Surface instead of a Saga::Surface. 2011-11-21 15:59:00 +01:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Eugene Sandulenko
c5fa1cabd8 SAGA: Fix warnings 2011-11-03 01:05:03 +00:00
Eugene Sandulenko
3da2e8662a SAGA: Fix copy/paste error 2011-11-03 01:03:10 +00:00
Torbjörn Andersson
a010038492 JANITORIAL: Remove unnecessary semicolons 2011-10-29 11:23:44 +02:00
Strangerke
5468f50a4b LAUNCHER: Add GUIO_NOASPECT to saga 2011-10-24 00:35:16 +02:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Filippos Karapetis
dae9fbd9e6 SAGA: Fixed script bug #3358007 - "IHNM: Freeze when exiting from the motor room's right door"
Thanks to digital for finding the actual script bug
2011-10-04 01:56:10 +03:00
Filippos Karapetis
b71123ef4f SAGA: properly remove the save reminder callback on engine exit
This fixes an error when exiting to the launcher and restarting a game
2011-08-30 12:59:35 +03:00
Filippos Karapetis
ed9cf01c78 SAGA: Slight cleanup 2011-08-30 12:59:34 +03:00
Filippos Karapetis
21b2a7064f Merge pull request #63 from tsoliman/detection-tables
Some missing ADGF_CD and ADGF_UNSTABLE flags
2011-08-13 12:24:30 -07:00
Christoph Mallon
e35b4f20c1 GRAPHICS: Simplify the interface of Graphics::loadThumbnail().
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07 15:19:09 +02:00
Christoph Mallon
b4b6ce0954 ALL: Use Graphics::skipThumbnail() where appropriate. 2011-08-07 15:19:09 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Tarek Soliman
40f765850f SAGA: Flag CD titles with ADGF_CD 2011-08-06 23:33:04 -05:00
Eugene Sandulenko
0dafa7f80f ALL: Reduce audio/ header dependency 2011-08-06 11:30:42 +01:00
Eugene Sandulenko
78f1ea7690 OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
eriktorbjorn
ea53386f3e SAGA: Use #error instead of a deliberate syntax error. 2011-07-10 13:36:03 +02:00
eriktorbjorn
1b231ed7ff SAGA: Mute the music while the game is paused
It already paused the music, but any notes that were playing were
just left hanging. At least with the ALSA MIDI driver. This was
quite annoying when using the debug console.
2011-07-10 07:39:38 +02:00
Filippos Karapetis
0d3a2267c7 SAGA: Removed several game flags, which are now found more reliably on the fly
- The logo screens of all ITE versions are shown correctly now
- Wyrmkeep versions, demo versions with scene substitutes, demos with
mono music and demo versions with LE VOX encoded voices are all found
automatically now
2011-07-09 15:59:30 +03:00
D G Turner
714976729d SAGA: Fix for Bug #3324850 ("ITE (SAGA): crash in dog sewers")
This read of 1 byte past the end of the buffer has existed since
the dragonMove() function was implemented, but since the change
in bfb0986c to use ByteArray, this now causes an assertion due to
the stricter bounds checking.

This commit corrects the original issue.
Thanks to fuzzie for this fix.
2011-06-23 18:35:27 +01:00
D G Turner
8e42ee4c98 SAGA: Fix Bug #3323722 ("IHNM: Crash to desktop in Ellen's Adventure")
Thanks to fuzzie for this fix.
IHNM and ITE should be retested.
2011-06-23 00:28:44 +01:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Tarek Soliman
3d1358776f SAGA: flag all WIP games with ADGF_UNSTABLE
SAGA 2 Games
2011-06-16 13:37:58 -05:00
Max Horn
593b929047 DETECTOR: Separate code for handling obsolete gameids from advanced detector
This includes a renaming of ADObsoleteGameID to Engine::ObsoleteGameID,
and AdvancedDetector::findGameID now is Engines::findGameID.

Doxygen comments were added or improved
2011-06-14 18:52:07 +02:00