Commit Graph

146 Commits

Author SHA1 Message Date
Coen Rampen
de003b403d SAGA: Remove _musicVolume
Music volume is now handled by the Music class. Some calls to play included a
call to setVolume, but play already does this, so these calls were unnecessary.
2021-07-09 15:20:51 +02:00
Filippos Karapetis
e9c60720c0 SAGA: Remove SAGA2 references, code and stubs
All SAGA2 game development will continue in the new SAGA2 engine
2021-07-01 16:23:48 +03:00
athrxx
30704a98dd SAGA: (ITE/PC98) -adjustments to hardcoded intro data
(text colors and layout for the Japanese version)
2020-11-22 19:02:43 +01:00
aryanrawlani28
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28
29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28
8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
95bc4c0994 SAGA: Move common engine/game-detection related enums into a new header. 2020-10-03 14:56:36 +02:00
Eugene Sandulenko
d33683558e SAGA: Added support for ITE GOG Mac CD v1.1 2020-09-17 22:08:25 +02:00
Eugene Sandulenko
1aea38cc63 COMMON: Makw SeekableSubReadStreamEndian subclass of SeekableReadStreamEndian 2020-07-21 18:20:00 +02:00
athrxx
925e9e6fbc SAGA: (ITE/PC98) - digital sfx fine tuning
The experimental/guessed approach works fair enough, but there is a bit more to it.

I also removed the GF_ITE_PC98, since the platform is not exactly a game feature and can just as well be queried via _vm->getPlatform().

This commit doesn't fix the missing speech during the chess game sequence. Might be a resource issue. I haven't looked into it...
2020-05-19 12:35:54 +02:00
Misty De Meo
4ebfe85f3d SAGA: add PC-98 CD version of Inherit the Earth 2020-05-19 12:35:54 +02:00
Paul Gilbert
9f175c4053 ENGINES: Cleanup of savegame filenames generation
This removes filename methods when it matched the Engine method.
Secondly, ensuring there was an overriden getSaveStateName method
for engines that didn't do the standard target.00x save filenames
2020-02-16 15:44:28 -08:00
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Paul Gilbert
00848cff4c SAGA: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
ccfb09151b SAGA: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko
d145eccdb4 SAGA: Added override keywords 2020-02-05 16:10:07 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Adrian Frühwirth
a4ab2d8cfe SAGA: Deduplicate kScriptTimeTicksPerSecond constant 2018-08-03 14:58:09 +02:00
Eugene Sandulenko
33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +02:00
Eugene Sandulenko
960d14d79d SAGA: Explicitely mark versions which require color shifting in interface. Fixes bug #7092 2016-03-28 00:54:05 +02:00
Filippos Karapetis
a95d22a2cd SAGA: Initial work on the DOS ITE demo 2015-07-04 01:51:45 +03:00
Johannes Schickel
c1be2aedbb SAGA: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Strangerke
cfbe557bdc SAGA: Janitorial - Fix spacing errors 2013-11-24 19:14:45 +01: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
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
Eugene Sandulenko
0dafa7f80f ALL: Reduce audio/ header dependency 2011-08-06 11:30:42 +01: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
Max Horn
477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
a008d14055 ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; avoid using 'using'
svn-id: r54323
2010-11-18 16:38:03 +00:00
Andrew Kurushin
0f1ae79ac4 SAGA: fix const cast warns
svn-id: r53780
2010-10-24 22:25:16 +00:00
Andrew Kurushin
67cc1b8a84 SAGA: replace Resource:loadResource malloc with ByteArray class
svn-id: r53779
2010-10-24 22:17:44 +00:00
Andrew Kurushin
405c523bbb SAGA: replace decodeBGImage malloc with ByteArray
svn-id: r53748
2010-10-23 21:56:16 +00:00
Max Horn
3534cff8ef ALL: Fix indention (whitespaces -> tabs)
svn-id: r53738
2010-10-23 15:46:50 +00:00
Max Horn
efcfb40da9 SAGA: Add some const qualifiers to SagaEngine methods
svn-id: r53737
2010-10-23 15:45:22 +00:00
Max Horn
da31121507 SAGA: Improve comment for ByteArray::getBuffer()
svn-id: r53736
2010-10-23 15:44:55 +00:00
Andrew Kurushin
f24394b85f SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation
add ByteArray type
fix debug Tile Hittest frame drawing
debug 0x%x => 0x%X

svn-id: r53719
2010-10-22 23:13:17 +00:00
Max Horn
d8c1251f88 SAGA: Fix warning: comparison of unsigned expression < 0 is always false
svn-id: r53660
2010-10-20 23:58:34 +00:00
Andrew Kurushin
6be5d2554d SAGA: replace StringTable "::realloc" with Common::Array; reduce amount of memory for every string table
svn-id: r53651
2010-10-20 20:53:32 +00:00
Max Horn
4ccce19876 ENGINES: Enhance namespace comments a bit
svn-id: r53484
2010-10-15 12:48:19 +00:00
Filippos Karapetis
0492bd6aa6 SAGA: Music code cleanup. The music driver is now placed inside the MusicPlayer class, instead of the SagaEngine class. Split the functionality that the music parser should handle from the functionality that the music driver should handle. Also, fixed a bug in MusicDriver::send() (the notes off signal was sent to unallocated channels, not allocated ones)
svn-id: r49607
2010-06-12 18:20:22 +00:00
Filippos Karapetis
80acb21a56 Added automatic detection of the IHNM demo
svn-id: r49047
2010-05-16 10:36:21 +00:00
Filippos Karapetis
b57bab8e3b Added automatic detection for the non-interactive ITE demos
svn-id: r49046
2010-05-16 10:23:44 +00:00
Max Horn
2149a2383d Reduce indirect header dependencies further
svn-id: r48936
2010-05-04 12:00:16 +00:00
Max Horn
cac0ac66e2 COMMON: Get rid of Common::StringList
svn-id: r48287
2010-03-18 15:54:40 +00:00
Max Horn
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +00:00