Commit Graph

124 Commits

Author SHA1 Message Date
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
4b996e7de7 Reorder params to Audio::makeRawMemoryStream
svn-id: r47492
2010-01-23 23:55:35 +00:00
Max Horn
b036392a7b Get rid of deprecated makeRawDiskStream variants; rename deprecated makeRawMemoryStream variant to makeRawMemoryStream_OLD; adapt some code to this change
svn-id: r47472
2010-01-23 13:34:29 +00:00
Max Horn
dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
69be747621 Move raw audio streams to new header sound/raw.h
svn-id: r47368
2010-01-19 00:54:06 +00:00
Max Horn
349fcd1d71 Rename 'Linear' audio streams to 'raw'
svn-id: r47367
2010-01-19 00:52:41 +00:00
Max Horn
f720d99b0a Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
2010-01-08 22:09:43 +00:00
Florian Kagerer
a21a808250 LOL: fixed text fading
svn-id: r46431
2009-12-20 14:11:56 +00:00
Johannes Schickel
46cf13307d Cleanup.
svn-id: r46194
2009-11-29 13:52:02 +00:00
Florian Kagerer
4f84154875 KYRA/PC98: fixed regression
svn-id: r46190
2009-11-29 12:18:42 +00:00
Florian Kagerer
8b0f3ee4b5 KYRA: fixed pc98 intro sfx (regression)
svn-id: r46185
2009-11-29 00:39:22 +00:00
Florian Kagerer
3013a63890 LOL: fixed minor glitch in the ending sequence
svn-id: r45933
2009-11-15 23:26:47 +00:00
Florian Kagerer
9bd5e07d90 KYRA: added kyra 1 pc98 static data to kyra.dat (intro forest sequence is still broken)
svn-id: r45906
2009-11-14 22:51:35 +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
Florian Kagerer
0bf6303213 Kyra/FM-Towns: make sure that at least the synthesizer music plays when no cd audio tracks are found
svn-id: r45589
2009-11-01 01:31:23 +00:00
Johannes Schickel
a30b8f0bdc - Fix some missing initialization warnings from cppcheck
- Fix two invalid memory accesses reported by cppcheck

svn-id: r45414
2009-10-26 20:07:37 +00:00
Johannes Schickel
bcac203098 Fix memory leak.
svn-id: r45208
2009-10-17 22:47:42 +00:00
Max Horn
f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
Florian Kagerer
548d139b48 LOL: cleanup
svn-id: r44549
2009-10-02 23:13:47 +00:00
Florian Kagerer
e5aae67e39 LOL/PC-98: - some more fixes for level graphics (shapes are still not quite right)
- fixed heal spell

svn-id: r44547
2009-10-02 21:27:10 +00:00
Johannes Schickel
0ea3cde160 Turn an error into a warning.
svn-id: r44313
2009-09-24 17:28:14 +00:00
Filippos Karapetis
16d7d9ba23 Fixed some more warnings about unreachable code
svn-id: r44299
2009-09-24 10:02:13 +00:00
Johannes Schickel
6236a88ac2 This hopefully fixes threading issues in PC98 sound driver.
svn-id: r44210
2009-09-20 14:29:08 +00:00
Florian Kagerer
361fd53ef3 Kyra/LoL: fix pc98 audio driver destructor
svn-id: r44117
2009-09-16 20:42:10 +00:00
Florian Kagerer
8a29adab6f LOL: fix some regressions
svn-id: r44092
2009-09-14 22:24:30 +00:00
Johannes Schickel
b6d33f1667 - Cleanup
- Fix mismatching new[]/delete

svn-id: r44075
2009-09-13 21:48:02 +00:00
Florian Kagerer
b73f9ab41e KYRA: - add sfx support for PC98-Version
svn-id: r44074
2009-09-13 21:41:29 +00:00
Florian Kagerer
43d61d598a KYRA/LOL: fixed minor bug by adding reset() call to pc98 audio driver destructor
svn-id: r41902
2009-06-26 17:58:27 +00:00
Florian Kagerer
c358145c72 KYRA/LOL: - support speech/text settings in LOL intro
- fix possible pc98 music issue

svn-id: r41887
2009-06-25 21:17:50 +00:00
Johannes Schickel
c7ee0a7ec8 More formatting.
svn-id: r40994
2009-05-29 13:09:26 +00:00
Johannes Schickel
64e6c596c7 Formatting.
svn-id: r40991
2009-05-29 12:52:03 +00:00
Johannes Schickel
2bcf5c0552 - Moved Sound implementation declarations to the newly added file sound_intern.h
- Added support for PC Speaker sound in all Kyra1, Kyra2 and Lands of Lore
- Slight cleanup

svn-id: r40939
2009-05-27 14:40:37 +00:00
Johannes Schickel
c0302661ed Cleanup.
svn-id: r40850
2009-05-24 01:37:51 +00:00
Johannes Schickel
344caa88fc Make various Sound functionality SoundHandle instead of filename based.
- This fixes multiple sounds being played at once in Lands of Lore

svn-id: r40848
2009-05-24 01:29:09 +00:00
Johannes Schickel
b28279accc Cleanup.
svn-id: r40841
2009-05-23 23:58:40 +00:00
Florian Kagerer
5a4b3c5441 KYRA/LOL: restructured voice playing code so that audio compression can be supported
svn-id: r40839
2009-05-23 23:33:31 +00:00
Johannes Schickel
e51481d69b Remove trailing tabs/whitespaces.
svn-id: r40760
2009-05-21 13:13:09 +00:00
Johannes Schickel
8a3f5bd520 Formatting.
svn-id: r40671
2009-05-17 23:57:42 +00:00
Florian Kagerer
b3a50b99fc LOL: - some opcodes for the swamp
- fix last commit (which broke TIM scripts)

svn-id: r40654
2009-05-17 15:02:34 +00:00
Florian Kagerer
bee8be58e3 LOL: implemented pit drop animation
svn-id: r40592
2009-05-15 06:29:08 +00:00
Florian Kagerer
dd84aaf648 LOL: - added some spell casting (spark, heal, swarm)
- fixed several bugs (not the one in the fighting system though)
- added several opcodes. there shouldn't be any real show stoppers in the draracle cave now.
- simplified wsa code (which required 4 lines of code for displaying a frame)
- added support for wsa animations that don't have a last frame (apparently kyra 2 and 3 don't have this type of wsa file)

svn-id: r40420
2009-05-10 13:40:28 +00:00
Johannes Schickel
eade2fdb44 Formatting.
svn-id: r40202
2009-04-29 15:19:05 +00:00
Florian Kagerer
ccb64ad81e LOL: - Started implementing the fighting system. The damage inflicted is wrong, however (at least the damage inflicted by the monsters). I'm sowewhat clueless about that bug atm.
- added support for monsters with distance attacks (like those orcs in front of roland's house)
- lots of small bug fixes
- Some startup support for the pc-98 16 color version. The intro will run, but the font drawing/coloring is still wrong.

svn-id: r40144
2009-04-25 13:15:05 +00:00
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Johannes Schickel
574a7924df Implemented per voice volume control. (Used for example in LoL intro)
svn-id: r36184
2009-02-01 20:35:51 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Johannes Schickel
62334395a7 Formatting.
svn-id: r35908
2009-01-18 17:38:29 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00