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
c87f3199f8
Reserve opcode array entries beforehand, should save some reallocation and copying.
...
svn-id: r40798
2009-05-23 00:05:16 +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
20d1e78fa6
o2_loadSoundFile is a dummy for non DOS versions.
...
svn-id: r36168
2009-01-31 15:16:51 +00:00
Johannes Schickel
71dcc140f9
Fixed o2_loadSoundFile implementation.
...
svn-id: r36163
2009-01-31 12:06:33 +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
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
bd5cac4e2e
Fixed macro.
...
svn-id: r33332
2008-07-27 12:05:40 +00:00
Johannes Schickel
51000de162
Cleanup.
...
svn-id: r32754
2008-06-22 12:43:32 +00:00
Florian Kagerer
6360c392f2
missed this in last commit (bug fix for #1997149 )
...
svn-id: r32753
2008-06-22 12:41:46 +00:00
Johannes Schickel
691306f0b7
Fixed KyraEngine_v1::snd_stopVoice and KyraEngine_v1::snd_voiceIsPlaying implementations.
...
svn-id: r32330
2008-05-27 21:04:27 +00:00
Florian Kagerer
5968d62d34
cleanup
...
svn-id: r32253
2008-05-24 18:31:16 +00:00
Florian Kagerer
4641f3fe7b
more fixes for spellbook/letter text in Hof (French and German floppy)
...
svn-id: r32252
2008-05-24 17:56:56 +00:00
Florian Kagerer
d766719a65
fix for missing spellbook and letter text in the floppy versions
...
svn-id: r32242
2008-05-24 13:51:25 +00:00
Johannes Schickel
fad7e1f3c1
Reverted commit #32166 .
...
svn-id: r32170
2008-05-18 13:22:06 +00:00
Johannes Schickel
c72ac9916c
Formatting.
...
svn-id: r32168
2008-05-18 13:03:03 +00:00
Johannes Schickel
1ea774e95f
Fixed fillRect opcode for HoF.
...
svn-id: r32166
2008-05-18 08:04:12 +00:00
Johannes Schickel
0bd8493e7c
Formatting.
...
svn-id: r32113
2008-05-14 13:57:22 +00:00
Torbjörn Andersson
97855800b6
Oops, I definitely meant for that to be '==', not '='. I guess this is what it
...
should look like, but I can't actually test (or even compile) it right now.
svn-id: r32103
2008-05-14 09:43:41 +00:00
Filippos Karapetis
ec0e836925
Added a FIXME regarding commit #32096
...
svn-id: r32102
2008-05-14 07:27:31 +00:00
Torbjörn Andersson
6a9429613b
Added the animation speed workaround for the sheriff animation as well. (See
...
bug #1926838 , "HoF: Animation plays too fast".)
svn-id: r32096
2008-05-14 03:35:06 +00:00
Johannes Schickel
56d2603d4f
- Some more opcodes moved to KyraEngine_v1
...
- Yet more naming consistency fixes
svn-id: r32056
2008-05-12 13:11:42 +00:00
Johannes Schickel
1a52c5283a
- Yet more opcodes moved to KyraEngine_v1
...
- Renamed some opcodes inside KyraEngine_LoK
svn-id: r32055
2008-05-12 12:57:42 +00:00
Johannes Schickel
574af78acb
- Moved some opcodes to KyraEngine_v1
...
- Little variable renaming
svn-id: r32053
2008-05-12 12:42:10 +00:00
Johannes Schickel
a00df8dff1
Renamed opcode 163: o2_getBoolFromStack to o2_midiSoundFadeout and updated implementation.
...
svn-id: r31981
2008-05-10 18:39:03 +00:00
Johannes Schickel
9b2c63550f
Implemented opcode 106: o2_playFireflyScore.
...
svn-id: r31980
2008-05-10 18:30:20 +00:00
Johannes Schickel
09b0f12852
Yet more opcodes moved to KyraEngine_v2.
...
svn-id: r31861
2008-05-04 13:25:03 +00:00
Johannes Schickel
7342629944
Cleanup.
...
svn-id: r31860
2008-05-04 13:11:17 +00:00
Johannes Schickel
c43cbeae96
Moved more opcodes to KyraEngine_v2.
...
svn-id: r31859
2008-05-04 13:07:13 +00:00
Johannes Schickel
7e3ce73a58
Moved more opcodes to KyraEngine_v2.
...
svn-id: r31845
2008-05-03 20:02:51 +00:00
Johannes Schickel
f6239f1db6
Moved some more opcodes to KyraEngine_v2.
...
svn-id: r31843
2008-05-03 19:47:07 +00:00
Johannes Schickel
d5545bd8c5
- Moved newShape/temporaryScript code to KyraEngine_v2.
...
- Renamed newShape/temporaryScript code to animationScript.
svn-id: r31841
2008-05-03 19:23:45 +00:00
Kari Salminen
043f92cb23
Fix compilation on MSVC (Updated project files and turned a 'int forced to bool' warning off).
...
svn-id: r31840
2008-05-03 13:01:58 +00:00
Johannes Schickel
416890722c
Yet more opcodes moved to KyraEngine_v2.
...
svn-id: r31826
2008-05-02 16:03:53 +00:00
Johannes Schickel
b17c6e100e
Started to move opcodes used in both kyra2 and kyra3 to KyraEngine_v2.
...
svn-id: r31825
2008-05-02 15:59:57 +00:00
Johannes Schickel
c6830b4138
- Renamed TextDisplayer_v2 to TextDisplayer_HoF
...
- Moved some character shape code to KyraEngine_v2
svn-id: r31821
2008-05-02 15:21:51 +00:00
Johannes Schickel
4b5f3266cf
Started to refactor kyra2/kyra3 code to a common base. (regressions possible, compiling currently broken)
...
svn-id: r31817
2008-05-02 14:46:30 +00:00