Eugene Sandulenko
4306c9344c
Improved IMA ADPCM decoder. It appeared that MS violated yet another standard
...
and nibbles order in samples appeared to be swapped. Had to untemplate
whole thing over again because I have no idea how to speicalize one of two
parameters in templates.
Now voices are clean but have some ticks, looks like overload. ITE wasn't
broken ;)
svn-id: r19166
2005-10-19 04:59:18 +00:00
Eugene Sandulenko
b36677af71
Update FSF address. Eek. Actually that took place on May 1, 2005
...
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
7f686ebe53
Fix SFX loading in IHNM. Now they're played.
...
svn-id: r18898
2005-09-29 15:27:10 +00:00
Eugene Sandulenko
3d4fe0470e
Fix bug #1256701 "ITE: Crashes during conversations"
...
svn-id: r18658
2005-08-11 15:04:12 +00:00
Eugene Sandulenko
215a94ae30
WIP on metaResources. Most resources are load. Now we start correct
...
scene. But there are following problems:
o Inclomplete support for actors speech, so opSpeak is skipped
o For some weird reason actors do not appear at all. Actually code seems to
be trying to read only protagonist frames
o It crashes on reading sprites due to wrong input
svn-id: r18624
2005-08-07 00:00:43 +00:00
Andrew Kurushin
41ff67ac1d
macBinary resource support
...
svn-id: r18609
2005-08-04 10:23:49 +00:00
Torbjörn Andersson
c13aed09fc
Fixed warnings.
...
svn-id: r18607
2005-07-31 16:51:14 +00:00
Andrew Kurushin
86ab70b149
added Patch.re_ support
...
svn-id: r18603
2005-07-30 17:28:58 +00:00
Eugene Sandulenko
ec4f7d3d7c
Whitespaces
...
svn-id: r18595
2005-07-29 17:58:00 +00:00
Andrew Kurushin
c4f0d024ef
fixed sound in many variation
...
some version should be tested
svn-id: r18585
2005-07-26 19:40:58 +00:00
Torbjörn Andersson
d58e018004
Play the correct digital music. (And removed some unnecessary blank lines.)
...
svn-id: r18567
2005-07-19 21:34:46 +00:00
Andrew Kurushin
50c2d8954d
finally Resource manager rewritten:
...
-adds patch file support
-global _vm removed
cleanups
svn-id: r18560
2005-07-19 19:05:52 +00:00
Eugene Sandulenko
57858a8757
Hid most of debug output to deeper levels. We're pretty close to official
...
launch so it should be invisible to users.
svn-id: r18497
2005-07-05 16:58:36 +00:00
Max Horn
1a615346ab
Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
...
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
b75c969e66
Moved class File and the MD5 stuff to namespace Common
...
svn-id: r18037
2005-05-10 22:56:25 +00:00
Torbjörn Andersson
224b2afbf1
Removed system includes.
...
svn-id: r17413
2005-04-06 12:19:15 +00:00
Andrew Kurushin
244b227b19
- remove game.h & image.h
...
- all display information of current game goes to SagaEngine
- remove GameFontIds
- hide SagaEngine _gameId,_gameType & etc with methods getGameId(), getGameType()
svn-id: r16545
2005-01-11 21:10:36 +00:00
Torbjörn Andersson
c5e83de099
Use Fingolfin's new WAV code.
...
svn-id: r16540
2005-01-11 08:32:10 +00:00
Andrew Kurushin
31ceb0bb71
- GameModule is gone
...
- structures renamed
- SagaEngine class gives all current game descriptions
regression : "verb" is broken cause work in progress
svn-id: r16511
2005-01-09 23:41:22 +00:00
Max Horn
7df70de2b1
Mark some places which probably should use loadWAVFromStream(); maybe some of the engine maintainers can look into using it
...
svn-id: r16503
2005-01-09 15:57:38 +00:00
Max Horn
2664ca7eb1
oops, correct copyright string
...
svn-id: r16399
2005-01-01 16:20:17 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Andrew Kurushin
241155c882
- aninamation cycle now approach to original
...
svn-id: r16290
2004-12-24 12:47:16 +00:00
Eugene Sandulenko
2fb8a8e453
o Moved GAME_* to SagaEngine object
...
o Renamed GAME_ITE_* to GID_ITE_*
o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM
svn-id: r16258
2004-12-22 13:09:47 +00:00
Eugene Sandulenko
502b279d24
Patch #1081904 ITE: MAC demo support
...
o Endianness-aware resource loading
o Removed ys_dl_list in favor of our object implementation
o Cleanup in actor code
o Partial support for ITE Mac rereleased demo
svn-id: r16051
2004-12-15 00:24:12 +00:00
Max Horn
e1f6101140
use loadVOCFromStream
...
svn-id: r16036
2004-12-11 23:36:17 +00:00
Torbjörn Andersson
66b8bcd7eb
Added looping background noise to the IHNM intro. I don't know if it's the
...
correct sound or the correct volume, but the small extension to allow the
engine to start looping sounds is worthwhile enough in itself, I think.
svn-id: r15895
2004-11-26 13:28:00 +00:00
Torbjörn Andersson
7c43635212
Fixed a really stupid memory leak I introduced yesterday.
...
svn-id: r15881
2004-11-25 07:15:08 +00:00
Torbjörn Andersson
87ffc13324
Added the voice-overs and partial subtitles for the IHNM intro monologue.
...
svn-id: r15877
2004-11-24 15:02:00 +00:00
Torbjörn Andersson
f80bdba62f
Partial support for WAV sound playback, which apparently will be needed for
...
IHNM support. I used the partial IHNM intro as my test case, and it seems
to work that far at least.
svn-id: r15827
2004-11-18 17:34:54 +00:00
Eugene Sandulenko
4295a17c23
o Make GAME_GetFileContext() more object-like
...
o Font::loadFont() now normally survives zero-length fonts as used in demos
o Removed unused SndRes::ITEVOC_Resample()
o Fixed playing of voice #4 on old DOS targets
o Implemented playing voices in VOX (Oki ADPCM) format
o Support of Win32 and Linux demos. There was old-style Win32 demo, which
is not supported yet, same is with DOS demo.
svn-id: r15814
2004-11-15 03:03:48 +00:00
Paweł Kołodziejski
c7e5ab1f2d
removed R_ prefix with few r_ too
...
svn-id: r15690
2004-10-27 21:32:28 +00:00
Torbjörn Andersson
82b6902b56
Initial, and slightly buggy, support for sound effects.
...
svn-id: r15614
2004-10-19 17:12:53 +00:00
Paweł Kołodziejski
c9a552bebc
fixed warnings
...
svn-id: r15574
2004-10-16 20:38:37 +00:00
Torbjörn Andersson
4aa55a188a
Fixed the nasty "pop" when playing the standalone VOC file in the intro.
...
Fixed the overlap when playing the standalone IAF file in the intro.
svn-id: r15508
2004-10-10 12:27:43 +00:00
Torbjörn Andersson
54cec2e011
Set up file paths to handle the differences between the file layout of the
...
Windows and Linux versions. (TODO: Handle game detection.)
Added preliminary support for the P2_A.aif file that the Linux version
uses, where the Windows version uses p2_a.voc. Someone will have to verify
the actual format of it, and we have a silly bug in playVoice() which will
have to be fixed before things work properly.
svn-id: r15365
2004-10-01 06:45:13 +00:00
Jonathan Gray
d1d308ff74
R_GAMETYPE -> GID, remove unused supported flag and trim some unused bits of GAME
...
svn-id: r14793
2004-08-27 01:32:10 +00:00
Eugene Sandulenko
166b05aed4
Fix #include paths.
...
svn-id: r14443
2004-08-02 16:20:35 +00:00
Eugene Sandulenko
873c886910
Made all MemoryReadStream local variables. This plugged a giantic constant
...
leakage in the engine.
svn-id: r14427
2004-08-01 23:24:22 +00:00
Jonathan Gray
182dd48bd4
merge reinherit.h into saga.h and gfx_mod.h, note the error loading animations wasn't caused by this commit :)
...
svn-id: r14405
2004-08-01 01:56:22 +00:00
Eugene Sandulenko
c5836541fe
Objectize render.cpp
...
svn-id: r14395
2004-07-31 23:00:48 +00:00
Max Horn
a1b82d8e13
Cleanup for MemoryReadStream; made it match the File-class interface
...
svn-id: r14086
2004-06-27 21:30:33 +00:00
Torbjörn Andersson
9ec42ab9a7
Added support for using the separate VOC file (P2_A.VOC) from the Wyrmkeep
...
release of ITE. The code is a bit rough, and there's a nasty 'pop' at the
beginning of the sound (and a smaller one at the end), but it's a start.
It's a shame that the sound is of such low quality: lower sample rate, and
8 bits instead of 16. Perhaps it was extracted from the floppy version?
svn-id: r13840
2004-05-17 16:11:04 +00:00
Paweł Kołodziejski
6c38484c1a
workaround warning - fixme
...
svn-id: r13779
2004-05-05 06:56:01 +00:00
Eugene Sandulenko
8de181f4f0
Move from ys_binread.cpp and ys_binwrite.cpp to MemoryReadStream.
...
In fact there were no binary writes at all.
svn-id: r13773
2004-05-04 03:33:03 +00:00
Eugene Sandulenko
c0772498b6
All graphics and input now is in OSystem.
...
Only timers left.
svn-id: r13723
2004-05-01 19:41:47 +00:00
Paweł Kołodziejski
0af53f3c97
indent
...
svn-id: r13715
2004-05-01 16:15:55 +00:00
Eugene Sandulenko
1353e2d2dc
Move from custom unsigned types to those provided by main config.h
...
svn-id: r13687
2004-04-30 23:02:23 +00:00
Torbjörn Andersson
d5873104ad
Added fixme comment about a bug that happens (at least) in the Wyrmkeep
...
re-release of ITE, and how to work around it.
svn-id: r13685
2004-04-30 17:49:33 +00:00
Eugene Sandulenko
d7835da8c7
Voices are played
...
svn-id: r13668
2004-04-29 01:24:18 +00:00