Commit Graph

1059 Commits

Author SHA1 Message Date
Willem Jan Palenstijn
8919a8e841 SAGA: Avoid code duplication 2015-05-14 16:55:10 +02:00
Filippos Karapetis
2e8e85310d SAGA: Only handle the puzzle scene for ITE 2015-05-12 00:32:57 +03:00
Filippos Karapetis
6bdb362370 SAGA: Remove trailing whitespace 2014-10-28 16:16:12 +02:00
Filippos Karapetis
2a6a79b167 SAGA: Remove the buggy actor swapping fixup code for IHNM
This was a hack that was implemented while IHNM was being developed.
That code should no longer be needed. If this issue does occur again,
the actual cause should be investigated, instead of hiding it with
workarounds. The code was buggy anyway, as _currentProtag was not
initialized properly
2014-10-27 12:28:18 +02:00
Matthew Hoops
8e0e03c8ba SAGA: Silence a gcc warning 2014-09-28 15:29:49 -04:00
Filippos Karapetis
ea2ee4ada7 SAGA: Fix OOB access in the Shorten decoder
The changes are based on the Java implementation of the Shorten decoder.
This avoids all the out of bounds access (negative array indices), but
it still doesn't fully fix the actual decoder
2014-08-06 15:12:07 +03:00
Filippos Karapetis
e88d6265d8 SAGA: Add support for MIDI music in SAGA2 games 2014-07-20 21:19:20 +03:00
Filippos Karapetis
0d926f9aaf SAGA: Cleanup 2014-07-20 21:18:40 +03:00
Filippos Karapetis
d8508a5128 SAGA: Add debug commands for playing music, sounds and voices 2014-07-20 18:49:57 +03:00
Filippos Karapetis
d316b00b9e SAGA: Some renaming 2014-07-20 17:46:06 +03:00
Filippos Karapetis
7bab457a23 SAGA: Remove the now unneeded individual cave scene handlers 2014-07-20 17:17:00 +03:00
Filippos Karapetis
bb353d14fd SAGA: Merge all of the ITE intro cave scene handlers 2014-07-20 17:10:56 +03:00
Filippos Karapetis
7c19effd36 SAGA: Move ITE credits together with the other ITE static data 2014-07-20 17:10:56 +03:00
Filippos Karapetis
e5b10aba57 SAGA: Move the ITE intro text together with the other static ITE data 2014-07-20 17:10:56 +03:00
Filippos Karapetis
e663395435 SAGA: Add wrappers for queuing music events 2014-07-20 17:10:55 +03:00
Filippos Karapetis
b14a2599bc SAGA: Get rid of the MUSIC_DEFAULT flag 2014-07-20 17:10:55 +03:00
Filippos Karapetis
96dfeab1e5 SAGA: Fix spacing 2014-07-20 17:10:55 +03:00
Filippos Karapetis
8f5ccbff18 SAGA: Move and rename some defines which are only used in the ITE intro 2014-07-20 17:10:54 +03:00
Eugene Sandulenko
3b39132fb7 SAGA: Added detection for Chinese floppy ITE. Needs CJK rendering 2014-06-28 22:38:58 +03:00
Johannes Schickel
30d64edac4 ALL: Make Debugger command function names conform to our guidelines. 2014-05-27 02:04:08 +02:00
Johannes Schickel
ae4ffe01f0 ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
Johannes Schickel
daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
c1be2aedbb SAGA: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Johannes Schickel
0e017f007a Merge pull request #375 from digitall/engineAutoPlug
RFC: Pluggable Engines #2 (No Python, just evolution of current configure shell and make code)
2013-11-26 02:27:11 -08:00
Strangerke
cfbe557bdc SAGA: Janitorial - Fix spacing errors 2013-11-24 19:14:45 +01:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
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