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
Filippos Karapetis
3f2471418d
Fixed the music in some Mac versions of ITE and disabled some unused code for the original DOS demo of ITE
...
svn-id: r48139
2010-02-26 22:24:48 +00:00
Andrew Kurushin
aa147a2f5a
refactor resource module:
...
- struct ResourceContext => class ResourceContext
- replace "*alloc","free" with array templates
- simplify createContexts routines
svn-id: r46254
2009-12-04 17:52:42 +00:00
Eugene Sandulenko
1259f8061a
Fill out doxygen comment about supported games
...
svn-id: r46234
2009-12-01 22:10:51 +00:00
Max Horn
df651bf20f
Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
...
svn-id: r46128
2009-11-24 22:10:14 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Andrew Kurushin
52ccf2af94
SAGA: move Actor::_pathList into a Common::Array<Point>
...
svn-id: r40232
2009-05-01 15:32:15 +00:00
Filippos Karapetis
7287457672
Got rid of SortedList
...
svn-id: r39928
2009-04-11 09:54:55 +00:00
Filippos Karapetis
0c51a5f393
Added game object data files for dino and FTA2
...
svn-id: r39237
2009-03-08 16:05:49 +00:00
Filippos Karapetis
9d7111006d
- Reworked the different file types a bit
...
- Some initial work on Dinotopia's intro sequence
svn-id: r39234
2009-03-08 15:39:19 +00:00
Travis Howell
cc89a46a0e
Fix compile of SAGA2 game engine.
...
svn-id: r39208
2009-03-07 22:11:38 +00:00
Max Horn
dd98126423
Engines: Fused several init&go methods into a single run method
...
svn-id: r39003
2009-03-01 04:42:46 +00:00
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +00:00
Filippos Karapetis
7273d02528
Implemented getDebugger()
...
svn-id: r35967
2009-01-20 23:40:35 +00:00
Filippos Karapetis
80832ffb8f
Got rid of explicit game sound info
...
svn-id: r35727
2009-01-04 15:44:33 +00:00
Filippos Karapetis
203358bcb7
Improved handling of sound resources
...
svn-id: r35724
2009-01-04 14:38:03 +00:00
Filippos Karapetis
90d762c261
Wrapped more engine-specific code around appropriate ifdefs
...
svn-id: r35679
2009-01-02 19:10:51 +00:00
Filippos Karapetis
41dce61a30
Simplified sound resource loading
...
svn-id: r35649
2009-01-01 16:02:43 +00:00
Filippos Karapetis
14434659bc
- Removed game sound information for sound types that it can be determined automatically. The game sound information left is now used as override info for certain sound types (e.g. PCM)
...
- Added stubs for Shorten audio type, used in SAGA2 games
svn-id: r35616
2008-12-29 18:35:18 +00:00
Filippos Karapetis
9a5f45a40c
- IHNM Mac loads correctly again
...
- Removed isBigEndian from GameSoundInfo
- Removed GF_BIG_ENDIAN_DATA
- Stopped loading the options panel for non-interactive ITE demos (it doesn't exist)
- Fixed crash when exiting from non-interactive ITE demos
svn-id: r35615
2008-12-29 17:30:29 +00:00
Filippos Karapetis
dec4f1d084
The verb<->textId assignment is needed only for ITE
...
svn-id: r35562
2008-12-26 13:50:12 +00:00
Filippos Karapetis
2257db88d3
- Added some stubs for the SAGA2 games dino and fta2
...
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM)
- Removed getDisplayWidth() and getDisplayHeight()
svn-id: r35473
2008-12-21 22:52:44 +00:00
Filippos Karapetis
d0f4f97ea9
Cleaned up the mess with game IDs and game types: removed game types, reduced the game IDs and added game features where necessary
...
svn-id: r35467
2008-12-21 15:59:05 +00:00