Eugene Sandulenko
9faa5d66b7
SAGA: Remove unused assignment. CID 1002506
2013-10-08 00:11:18 +03:00
Eugene Sandulenko
067ce95965
SAGA: Remove unused assignment. CID 1002505
2013-10-08 00:11:18 +03:00
Willem Jan Palenstijn
9bbbcf268d
SAGA: Clean up variable scope
2013-10-02 10:52:40 +02:00
Rodrigo Rebello
2fdb99d819
SAGA: Silent Cppcheck warning in Sprite::loadList().
2013-10-02 04:33:54 -03:00
Johannes Schickel
e30cb84210
SAGA: Take advantage of Sufrace::getPixels.
2013-08-03 04:02:52 +02:00
Johannes Schickel
8617edea04
SAGA: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Eugene Sandulenko
7ae3386090
SAGA: Fix CID 1002507. Unused pointer value.
2013-07-15 11:29:46 +03:00
Sven Hesse
989ea7cb56
JANITORIAL: Remove trailing whitespace
2013-07-14 19:01:47 +02:00
Filippos Karapetis
72a523059f
SAGA: Fix odd memcmp() conditions, as reported by clang
...
Thanks to LordHoto for pointing those out - they followed the incorrect
paradigm of previous code
2013-07-02 03:53:09 +03:00
Torbjörn Andersson
3dfe25504a
SAGA: Add "fallthrough" comments to switch. CID 1003742, 1003743
...
I'm almost certain these are intentional fallthroughs. It makes
sense to handle the little-endian cases like the big-endian ones,
with the added FLAG_LITTLE_ENDIAN.
2013-06-08 23:51:29 +02:00
Torbjörn Andersson
c4b3f113d3
SAGA: Add missing "break"s
...
It seems pretty clear to me that these fallthroughs were not
intentional, seeing how one of them could cause ITE to fall through
to IHNM-specific code.
CID 1003744, 1003745
2013-06-01 22:16:32 +02:00
Matthew Hoops
0031c41db8
COMMON: Change kPlatformPC to kPlatformDOS
...
"PC" was very ambiguous and now it matches what we show in the GUI.
This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Filippos Karapetis
0d53b7f628
SAGA: Fix some non-initialized variables in the Music class - CID 1003131
2013-05-01 02:01:23 +03:00
Eugene Sandulenko
0f9f268314
SAGA: Null terminate string. CID 1003869
2013-04-28 23:59:20 +03:00
Eugene Sandulenko
759dc8e978
SAGA: Fix potentially unitialized pointer. CID 1003186, CID 1003187, CID 1003188, CID 1003189
2013-04-28 23:59:20 +03:00
Eugene Sandulenko
aa8638db6a
SAGA: Null terminate string. CID 1003870
2013-04-28 23:59:20 +03:00
Eugene Sandulenko
e2cd02bb5e
SAGA: Null terminate string. CID 1003868
2013-04-28 23:59:20 +03:00
Torbjörn Andersson
b77a516414
SAGA: Fix memory leak in Mac version of IHNM
...
CID 1004123. Unfortunately, I do not have this version of the game
so I cannot verify that this fix is correct, but it should be.
2013-04-27 06:38:48 +02:00
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