Commit Graph

107 Commits

Author SHA1 Message Date
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
Florian Kagerer
57e7d5ef62 fixed bug
svn-id: r35102
2008-11-16 23:19:54 +00:00
Florian Kagerer
bf721ae682 cleanup
svn-id: r35101
2008-11-16 20:59:04 +00:00
Johannes Schickel
c4a7088c5b Fixed valgrind warning.
svn-id: r35099
2008-11-16 20:46:18 +00:00
Florian Kagerer
a44994dc89 KYRA 1/2: more fixes for valgrind warnings
svn-id: r35093
2008-11-16 14:07:50 +00:00
Florian Kagerer
bd817c0341 (hopefully) fix valgrind warnings
svn-id: r35088
2008-11-15 19:08:35 +00:00
Florian Kagerer
06216866ac svn-id: r35080 2008-11-15 13:00:46 +00:00
Florian Kagerer
e25265425d - fix installer file support for Kyra 2 and 3
- fix bug in pc98 audio driver

svn-id: r34791
2008-10-13 06:29:14 +00:00
Johannes Schickel
bd10e674a3 Got rid of all Common::File usages in Kyra.
svn-id: r34435
2008-09-07 22:30:34 +00:00
Florian Kagerer
b7d260330b some minor bug fixes
svn-id: r34288
2008-09-02 21:31:53 +00:00
Florian Kagerer
2f884b4f25 - kyra: fm-towns/pc-98 audio: restructured driver, added rhythm channel data
svn-id: r34259
2008-09-01 20:23:25 +00:00
Florian Kagerer
f0ea072df6 KYRA: Towns/PC-98-Audio: fixed bug where notes for which the hold flag was set were turned off nonetheless
svn-id: r34087
2008-08-21 18:24:52 +00:00
Florian Kagerer
513f5ae150 KYRA: Towns/PC-98-Audio: increased precision for envelope generator timing and tempo when using "odd" output rates like 48 kHz or 8 kHz
svn-id: r34079
2008-08-21 12:04:55 +00:00
Florian Kagerer
99790e7915 KYRA: Towns/PC-98-Audio: tempo fix for output rates other than 44100 Hz
svn-id: r34078
2008-08-21 02:17:52 +00:00
Florian Kagerer
1a7d3ef5ee KYRA: Towns/PC-98-Audio: fix bug where pitch wheel is processed twice instead of once
svn-id: r34076
2008-08-20 22:38:36 +00:00
Florian Kagerer
bfd1723998 - add support for Italian floppy version
- more work on fm-towns music tempo

svn-id: r34067
2008-08-20 19:57:57 +00:00
Florian Kagerer
023189d6f1 tempo fix
svn-id: r34064
2008-08-20 16:14:10 +00:00
Max Horn
05bac1e74e Fixed GCC warning
svn-id: r34032
2008-08-19 10:52:39 +00:00