Commit Graph

2430 Commits

Author SHA1 Message Date
Johannes Schickel
90ba6a8c7a Flag Kyra3 as talkie version in kyra.dat.
svn-id: r46022
2009-11-20 21:24:15 +00:00
Florian Kagerer
1a984d8e7d LOL: add support for pc speaker sfx
svn-id: r45992
2009-11-19 22:17:27 +00:00
Johannes Schickel
2a4e630967 Properly handle Kyra 2 Talkie demo in kyra.dat.
svn-id: r45990
2009-11-19 17:44:19 +00:00
Florian Kagerer
99111a75c1 KYRA: fixed save menu glitch in Japanese versions
svn-id: r45956
2009-11-17 16:26:40 +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
9a57665abf LOL/PC-98: fixed regression (missing static data for pc98 version)
svn-id: r45927
2009-11-15 21:25:26 +00:00
Johannes Schickel
d3fb917ee8 Formatting.
svn-id: r45909
2009-11-15 02:37:15 +00:00
Florian Kagerer
4f85684931 KYRA: cleanup
svn-id: r45908
2009-11-15 00:53:57 +00:00
Johannes Schickel
c80456dd17 Fix warning.
svn-id: r45907
2009-11-14 23:01:51 +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
Johannes Schickel
b9b5511b3c Cleanup.
svn-id: r45904
2009-11-14 19:34:44 +00:00
Florian Kagerer
e36594dbe9 LOL: - cleanup
svn-id: r45852
2009-11-12 07:41:33 +00:00
Florian Kagerer
c0fc64ecbf LOL: - fixed transparency tables in PC-98 16 color version
- renamed some variables

svn-id: r45847
2009-11-11 23:05:19 +00:00
Johannes Schickel
c2a5b3feea Fix some delays in Kyrandia 1 when clicking very often, while a sequence plays.
svn-id: r45731
2009-11-07 15:06:49 +00:00
Johannes Schickel
0d79ace422 Access _keyMap a little different, so that no additional entries are created, when an unmapped key is pressed.
svn-id: r45730
2009-11-07 15:06:25 +00:00
Johannes Schickel
373b5d1013 Formatting.
svn-id: r45729
2009-11-07 15:06:03 +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
a510481202 Clean up comment a bit.
svn-id: r45583
2009-10-31 19:59:48 +00:00
Johannes Schickel
fa506b5f0a Fix missing inventory in Kyrandia 1 PC98 16 color version, when loading a save via launcher or command line.
svn-id: r45581
2009-10-31 19:53:52 +00:00
Johannes Schickel
45208bc53d Fix certain scenes incorrectly appearing as fireberry bushes in floppy/FM-Towns/PC98 versions of Kyrandia 1.
svn-id: r45580
2009-10-31 19:52:46 +00:00
Johannes Schickel
93d26113fd Fix some memory leaks in Kyrandia 1 (this hopefully fixes crashes on NDS after a long playtime).
svn-id: r45572
2009-10-31 18:32:17 +00:00
Johannes Schickel
0a1a4c7eb4 Fix regression in r45414.
svn-id: r45495
2009-10-29 00:14:09 +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
Florian Kagerer
b07e8d3c20 LOL: fixed bug in spell casting code
svn-id: r45361
2009-10-24 18:52:57 +00:00
Florian Kagerer
6248d3a21d LOL: fixed minor regression
svn-id: r45349
2009-10-23 19:20:59 +00:00
Florian Kagerer
1fb02d2c4b LOL/PC-98: fixed glitch in text displayer
svn-id: r45276
2009-10-20 18:34:12 +00:00
Florian Kagerer
557f32cdb1 LOL/PC-98: match vaelan's cube behaviour with original code
svn-id: r45252
2009-10-19 21:27:39 +00:00
Max Horn
2bbf708dea Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
2009-10-18 19:41:59 +00:00
Florian Kagerer
237b66beca LOL: - added some updateInputs to spell animation code
- improved sfx volume code

svn-id: r45227
2009-10-18 17:28:00 +00:00
Florian Kagerer
8b993ce863 LOL: this should fix a valgrind warning
svn-id: r45221
2009-10-18 12:47:54 +00:00
Florian Kagerer
4b1f310f2d LOL: this (hopefully) fixes a minor glitch that might occur when using the freeze spell
svn-id: r45210
2009-10-17 23:52:57 +00:00
Johannes Schickel
bcac203098 Fix memory leak.
svn-id: r45208
2009-10-17 22:47:42 +00:00
Johannes Schickel
f62f3eea89 Fix valgrind warning.
svn-id: r45207
2009-10-17 22:47:21 +00:00
Johannes Schickel
51975b50cb Add LoL PC98 credits entries to kyra.dat.
svn-id: r45082
2009-10-14 14:17:15 +00:00
Florian Kagerer
73fa80d940 LOL/PC-98: fixed outro
svn-id: r45046
2009-10-13 19:48:41 +00:00
Florian Kagerer
c693401dce LOL/PC-98: fix decoration shape drawing
svn-id: r44947
2009-10-11 20:41:02 +00:00
Florian Kagerer
2109a0ff9d LOL/PC-98: cleanup
svn-id: r44946
2009-10-11 20:29:38 +00:00
Florian Kagerer
7449091202 KYRA: fix sjis dialgue text display
svn-id: r44943
2009-10-11 20:09:35 +00:00
Florian Kagerer
22ffa71c0a LOL/PC-98: fix outro music
svn-id: r44941
2009-10-11 19:33:38 +00:00
Florian Kagerer
16e852159a LOL/PC-98: fix king richard healing sequence
svn-id: r44936
2009-10-11 18:40:21 +00:00
Johannes Schickel
097d6d298d Print warning, when the number of colors in a palette file exceed the number of colors in the target palette on load.
svn-id: r44922
2009-10-11 13:54:35 +00:00
Johannes Schickel
f4288516e8 Revert commits r44912 and r44905, seems like the original FM-Towns/PC98 games did only allow ASCII input, thus they didn't use the SJIS font in the save/load menus.
svn-id: r44916
2009-10-11 12:51:13 +00:00
Johannes Schickel
47988039ea Fix text input font for LoL PC98.
svn-id: r44912
2009-10-11 12:05:55 +00:00
Johannes Schickel
e90f337bd2 Fix regression introduced with r44907.
svn-id: r44911
2009-10-11 12:01:20 +00:00
Johannes Schickel
ea28351862 Cleanup.
svn-id: r44907
2009-10-11 11:34:30 +00:00
Johannes Schickel
6e93add43f Cleanup.
svn-id: r44906
2009-10-11 11:30:24 +00:00
Johannes Schickel
8f6e9f0bf2 Fix FM-Towns/PC98 menu code.
svn-id: r44905
2009-10-11 11:29:34 +00:00
Johannes Schickel
6492c00a3a Revert changes to graphics/sjis.h in r44709.
svn-id: r44904
2009-10-11 11:28:43 +00:00
Florian Kagerer
7c065c84cb LOL/PC-98: implemented drawing code for teleporters
svn-id: r44883
2009-10-10 18:45:33 +00:00
Florian Kagerer
a15cf067a7 LOL/PC-98: fixed minor glitch in wsa code
svn-id: r44879
2009-10-10 17:15:10 +00:00
Florian Kagerer
3e259dea30 LOL/PC-98: fixed two minor bugs
svn-id: r44870
2009-10-10 12:29:36 +00:00
Max Horn
d0876b06ed Remove some unused variables
svn-id: r44853
2009-10-09 22:21:45 +00:00
Florian Kagerer
6f1c43a731 LOL/PC-98: fixed last commit
svn-id: r44849
2009-10-09 21:42:37 +00:00
Max Horn
a8cd7694cc Fix warnings about non-static const member in class without a constructor
svn-id: r44848
2009-10-09 21:36:09 +00:00
Florian Kagerer
0d7d2b8371 LOL/PC-98: fixed monster drawing bug (some wrong pixels)
svn-id: r44847
2009-10-09 21:35:48 +00:00
Florian Kagerer
7825128639 LOL/PC-98: fixed minor bugs in text displayer
svn-id: r44834
2009-10-09 17:31:01 +00:00
Florian Kagerer
64c4a8f901 LOL/PC-98: fixed lightning spell
svn-id: r44798
2009-10-08 20:37:10 +00:00
Florian Kagerer
f8cdacdeea LOLLOL/PC-98: fixed add-spell-to-scroll animation
svn-id: r44797
2009-10-08 20:22:12 +00:00
Florian Kagerer
a121c822eb LOLLOL/PC-98: fixed ghorka swamp freeze mode
svn-id: r44794
2009-10-08 19:42:39 +00:00
Florian Kagerer
35f8e6ec05 LOL/PC-98: fixed freeze spell
svn-id: r44753
2009-10-07 20:25:49 +00:00
Florian Kagerer
4991a87b53 Kyra: fix kyra 3 font
svn-id: r44710
2009-10-06 17:28:32 +00:00
Florian Kagerer
45fda46cf3 KYRA/LOL: - get rid of ascii/sjis detection which could cause problems when typing savegame names
- fixed some minor bugs

svn-id: r44709
2009-10-06 17:22:40 +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
Johannes Schickel
eaca55ee50 Some fixes to comply with our coding guidelines.
svn-id: r44624
2009-10-04 17:54:08 +00:00
Johannes Schickel
41e4a1ddb6 LoL PC98: Fix thumbnail creation for quick saves and autosave.
svn-id: r44623
2009-10-04 17:38:15 +00:00
Johannes Schickel
fc4d7b7d1d LoL PC98: Fix thumbnail generation via ingame menu.
svn-id: r44622
2009-10-04 17:37:46 +00:00
Florian Kagerer
ae737ca2c2 LOL/PC-98: fixed save menu
svn-id: r44608
2009-10-04 15:12:05 +00:00
Florian Kagerer
f8e8e764ce LOL/PC-98: some more work on sjis font support for the text displayer
svn-id: r44602
2009-10-04 11:42:26 +00:00
Florian Kagerer
b8e02a03c1 LOL: fixed minor bugs in text displayer
svn-id: r44582
2009-10-04 01:05:27 +00:00
Florian Kagerer
0e5836bb34 LOL/PC-98: add keyboard support for menus
svn-id: r44577
2009-10-03 22:39:46 +00:00
Florian Kagerer
f6de0b4ec9 LOL/PC-98: add keyboard support
svn-id: r44564
2009-10-03 20:42:26 +00:00
Florian Kagerer
e515b57b67 LOL/PC-98: fixed automap
svn-id: r44554
2009-10-03 13:42:24 +00:00
Florian Kagerer
548d139b48 LOL: cleanup
svn-id: r44549
2009-10-02 23:13:47 +00:00
Florian Kagerer
14d6b33e4f LOL/PC-98: fixed death menu, live/magic bar colors and money box
svn-id: r44548
2009-10-02 22:13:39 +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
Florian Kagerer
598056ead0 LOL/PC-98: - fixed TIM dialogue button text colors
- fixed menu text alignment

svn-id: r44501
2009-09-30 21:46:00 +00:00
Florian Kagerer
94572773d0 LOL/PC-98: - fix spell effect colors
- fix some font color glitches

svn-id: r44498
2009-09-30 20:42:58 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Johannes Schickel
2240886315 Got rid of old workaround, which was only needed because our SJIS font did not feature any ASCII chars.
svn-id: r44489
2009-09-30 14:54:18 +00:00
Johannes Schickel
438244a016 Adapt KYRA engine to use the ASCII and half-width katakana support of the SJIS font. (required for LoL PC98)
svn-id: r44488
2009-09-30 14:53:57 +00:00
Johannes Schickel
b8c7237d12 Cleanup: got rid of Screen::ShadeType.
svn-id: r44487
2009-09-30 14:53:34 +00:00
Johannes Schickel
03a26923c9 Implemented support for drawing 8x16 chars from our custom SJIS font.
svn-id: r44486
2009-09-30 14:53:07 +00:00
Johannes Schickel
95cd669efb Fix for bug #2868581 "KYRA1: Invisible Brandon".
svn-id: r44450
2009-09-28 21:58:48 +00:00
Florian Kagerer
00504a893b LOL/PC-98: fix menu colors
svn-id: r44381
2009-09-26 21:17:47 +00:00
Florian Kagerer
5d17bae120 LOL/PC-98: more fixes for text displayer and character inventory
svn-id: r44380
2009-09-26 18:25:36 +00:00
Florian Kagerer
84accad507 LOL/PC-98: start fixing sequences (like broken arms inn and king richard getting poisoned)
svn-id: r44375
2009-09-26 13:17:11 +00:00
Florian Kagerer
73a4b7857f LOL/PC-98: fixed gui colors (money stash, live and magic bars, scroll)
svn-id: r44370
2009-09-25 22:07:34 +00:00
Florian Kagerer
77a27acf83 LOL/PC-98: fixed dialoge box sizes
svn-id: r44369
2009-09-25 21:33:00 +00:00
Florian Kagerer
229aee065c LOL/PC-98: start fixing text displayer
svn-id: r44363
2009-09-25 18:56:53 +00:00
Filippos Karapetis
b4f1960318 Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
2009-09-24 17:52:53 +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
9eabcb7baa Cleanup.
svn-id: r44228
2009-09-20 23:56:42 +00:00
Johannes Schickel
df4978b776 Fix valgrind warning.
svn-id: r44227
2009-09-20 23:56:21 +00:00
Johannes Schickel
c9d8146c64 Fix compilation under Linux.
svn-id: r44226
2009-09-20 23:38:35 +00:00
Florian Kagerer
4d9258d3e5 LOL/PC-98: start fixing color issues (still not working correctly though)
svn-id: r44223
2009-09-20 23:25:39 +00:00
Johannes Schickel
a9f1063ae1 Some more paranoia asserts.
svn-id: r44217
2009-09-20 16:56:44 +00:00
Johannes Schickel
af553f33fa Implement yet another slight palette handling difference in Kyrandia 1 Amiga, which caused a palette glitch in Kyrandia 1 Amiga German.
svn-id: r44216
2009-09-20 16:54:44 +00:00
Johannes Schickel
5bed17efa9 - Add support for Kyrandia 1 German Amiga in create_kyradat.
- Increase kyra.dat version.
- Rebuilt kyra.dat.
- Some slight adaptions for Kyrandia 1 German in the ScummVM source.

svn-id: r44215
2009-09-20 16:54:23 +00:00
Johannes Schickel
7c2e3aaa44 Fix removal of SJIS characters in LoL PC98 menu.
svn-id: r44213
2009-09-20 15:01:50 +00:00
Johannes Schickel
156f9d4899 Fix language settings in LoL PC98, this fixes the ingame menu usage.
svn-id: r44212
2009-09-20 14:44:15 +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
Johannes Schickel
566ea2f57e Implement slight differences for PC98 version in TextDisplayer_LoL::printDialogueText and TextDisplayer_LoL::preprocessString.
svn-id: r44209
2009-09-20 14:16:31 +00:00
Johannes Schickel
46b3779ae5 Fix bug in LoLEngine::decodeSjis.
svn-id: r44208
2009-09-20 13:21:18 +00:00
Johannes Schickel
59f72d111f Add checks for half-width katakana, which are currently unsupported.
svn-id: r44204
2009-09-20 12:44:35 +00:00
Florian Kagerer
5acbc3c482 LOL/PC-98: fixed block drawing (colors are still wrong)
svn-id: r44198
2009-09-19 23:51:19 +00:00
Florian Kagerer
ea2b6d12dc LOL/PC-98: fix some asserts
svn-id: r44197
2009-09-19 17:39:31 +00:00
Florian Kagerer
6e4f1482c1 LOL: fix warning/error
svn-id: r44196
2009-09-19 13:29:21 +00:00
Florian Kagerer
8f4bba878f LOL: start on pc98 support (still messed up and not working though)
svn-id: r44195
2009-09-19 13:17:55 +00:00
Johannes Schickel
39b071bed5 Call updateScreen after setScreenPalette in olol_restoreMagicShroud, so that the palette is updated correctly.
svn-id: r44182
2009-09-18 12:38:11 +00:00
Johannes Schickel
e4fd4e827c Fix some memory leaks, caused by a recent regression in StaticResource::unloadId.
svn-id: r44180
2009-09-18 11:38:01 +00:00
Florian Kagerer
559f1f087b LOL: cleanup (replaced some uint8 arrays with new palette objects)
svn-id: r44179
2009-09-17 22:22:25 +00:00
Florian Kagerer
35de9e6e3e LOL/Floppy: fix king richard healing sequence
svn-id: r44178
2009-09-17 20:56:25 +00:00
Johannes Schickel
bb7463638e - Add preliminary support for Lands of Lore PC98 in create_kyradat
- Increase kyra.dat version
- Rebuilt kyra.dat

svn-id: r44177
2009-09-17 19:51:16 +00:00
Johannes Schickel
cfd6d4722c Changed olol_restoreMagicShroud to be a bit more talkative on errors.
svn-id: r44174
2009-09-17 17:14:38 +00:00
Johannes Schickel
cbf0ca2f6d Typo.
svn-id: r44165
2009-09-17 16:08:27 +00:00
Johannes Schickel
d9ea1fd3d5 Enable delay for Ninteno DS in all occasions in o2_isAnySoundPlaying.
svn-id: r44164
2009-09-17 16:03:48 +00:00
Johannes Schickel
d98b1472ca Add workaround in "o2_isAnySoundPlaying", which will hopefully make Kyra2 work on the Nintendo DS.
svn-id: r44163
2009-09-17 16:01:21 +00:00
Johannes Schickel
f0ccad5bbd - Increase kyra.dat version
- Fix language settings of some game entries

svn-id: r44157
2009-09-17 13:46:01 +00:00
Johannes Schickel
f8f776364e Increase kyra.dat version.
svn-id: r44119
2009-09-16 21:07:14 +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
811596fde2 LOL/Floppy: fixed outro
svn-id: r44116
2009-09-16 20:05:12 +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
Johannes Schickel
16305d3b29 Preliminary support for German Kyrandia 1 Amiga.
svn-id: r44071
2009-09-13 21:05:52 +00:00
Johannes Schickel
6488cdc4fc Fix gcc warning.
svn-id: r44070
2009-09-13 20:21:08 +00:00
Johannes Schickel
072aca05dc Modify Kyrandia 1 Amiga detection entry to allow the detector to differentiate between different languages.
svn-id: r44069
2009-09-13 20:10:56 +00:00
Johannes Schickel
7cc0ff23a0 Proper fix for bug #2835715 "KYRA: GFX glitch at the bridge". The old fix broke saves, which were made in front of the castle door.
svn-id: r44065
2009-09-13 19:54:41 +00:00
Johannes Schickel
0af418e7ea Fix regression caused by OSystem::updateScreen call limitation, which caused certain animations not to display at all.
svn-id: r44063
2009-09-13 18:37:19 +00:00
Johannes Schickel
a2900bf246 Fix bug when skipping Kyrandia 1 Intro, when no restart save game file is present.
svn-id: r44062
2009-09-13 18:35:42 +00:00
Florian Kagerer
525c084456 LOL/Floppy: fixed size of menu boxes
svn-id: r44061
2009-09-13 14:44:37 +00:00
Florian Kagerer
6d24808bc2 LOL: add missing opcode
svn-id: r44053
2009-09-13 11:04:52 +00:00
Florian Kagerer
5e57474eb9 LOL: fix bug that would sometimes accidently swap the freeze palette and the normal palette in the ghorka swamp
svn-id: r44040
2009-09-12 13:16:47 +00:00
Florian Kagerer
5c2f872ba4 LOL: added another missing opcode
svn-id: r44037
2009-09-11 21:31:14 +00:00
Florian Kagerer
4e34275af1 LOL: add missing opcode
svn-id: r44036
2009-09-11 21:15:48 +00:00
Florian Kagerer
68ae279aff LOL/Floppy: fixed gfx tables generation
svn-id: r44034
2009-09-11 17:38:36 +00:00
Florian Kagerer
3259a6f0b5 LOL/Floppy: - fix spell book animation
svn-id: r44021
2009-09-09 22:12:21 +00:00
Florian Kagerer
7e3616f3a5 LOL/Floppy: implemented missing opcode
svn-id: r43997
2009-09-06 23:02:52 +00:00
Florian Kagerer
c5b2840f98 LOL: add message to load/delete menus when no save files are present
svn-id: r43992
2009-09-06 18:39:03 +00:00
Florian Kagerer
25429b6605 LOL: fixed bug in delete menu code
svn-id: r43991
2009-09-06 17:04:58 +00:00
Florian Kagerer
0c6aa2ef0d LOL: fixed warning
svn-id: r43971
2009-09-06 01:30:45 +00:00
Florian Kagerer
79228dbd45 LOL/Floppy: fix menus
svn-id: r43970
2009-09-06 01:24:54 +00:00
Florian Kagerer
5d8453b09d LOL/Floppy: fix compass
svn-id: r43968
2009-09-05 22:28:18 +00:00
Florian Kagerer
a4cf9a39e5 LOL/Floppy: fix bug in dialogue displayer
svn-id: r43967
2009-09-05 22:00:17 +00:00
Florian Kagerer
295f432b87 LOL: fix floppy version static data
svn-id: r43962
2009-09-05 15:57:41 +00:00
Florian Kagerer
99df32af02 LOL: fix inventory drawing in floppy version
svn-id: r43960
2009-09-05 14:15:36 +00:00
Florian Kagerer
1dfb5c2b30 LOL: some more work on the floppy version (drawing code is still broken)
svn-id: r43923
2009-09-03 21:03:10 +00:00
Florian Kagerer
3dca56bdd5 LOL: - fix speech/text settings
- start fixing floppy version

svn-id: r43914
2009-09-02 23:42:07 +00:00
Florian Kagerer
ad5d918ad5 LOL: update kyra.dat with floppy version data (floppy version still doesn't work, though)
svn-id: r43904
2009-09-02 06:24:01 +00:00
Johannes Schickel
4928ca23cc Fix possible corruption of restart game save in Kyrandia 1.
svn-id: r43803
2009-08-29 15:22:16 +00:00
Johannes Schickel
1b7fef5117 Whitespace fix.
svn-id: r43795
2009-08-29 07:53:06 +00:00
Johannes Schickel
64489c3f21 Fix regression, which caused skipping of some dialogue lines to fail in Kyrandia 1.
svn-id: r43794
2009-08-29 07:52:45 +00:00
Johannes Schickel
adf1df19c0 Move Amiga SFX tables to kyra.dat.
svn-id: r43793
2009-08-29 07:52:24 +00:00
Johannes Schickel
a039fc952f Whitespace fix.
svn-id: r43740
2009-08-25 22:40:57 +00:00
Johannes Schickel
bf2242db72 Add fade to black effect at the end of Kyra1 CD demo.
svn-id: r43739
2009-08-25 22:39:36 +00:00
Johannes Schickel
9eb7d8e140 Fix uninitialized variable.
svn-id: r43738
2009-08-25 22:38:39 +00:00
Johannes Schickel
189b1ec62f Implement support for the Kyrandia 1 CD demo.
svn-id: r43737
2009-08-25 22:37:34 +00:00
Norbert Lange
917d4b78b3 Merge with trunk
svn-id: r43701
2009-08-24 17:51:47 +00:00
Johannes Schickel
4673e94c6f - Fix sluggish mouse movement in Kyra2/Kyra3/LoL main menu.
- Fix sluggish mouse movement in the text input dialog of the GUI.

svn-id: r43541
2009-08-19 16:48:55 +00:00
Johannes Schickel
88ac419052 Use Common::List::empty instead of Common::List::size, which is faster for checking whether the list is empty and easier to read.
svn-id: r43538
2009-08-19 16:23:26 +00:00
Johannes Schickel
34e30a29b5 Make KYRA only call OSystem::updateScreen from inside Screen::updateScreen, when the screen really changed OR the palette changed.
svn-id: r43537
2009-08-19 16:19:55 +00:00
Johannes Schickel
dd67cb7c94 Add missing "break" in switch statement.
svn-id: r43536
2009-08-19 09:01:04 +00:00
Johannes Schickel
ca6fa52b1a Cleanup.
svn-id: r43535
2009-08-19 08:55:04 +00:00
Johannes Schickel
6145ed384b Cleanup.
svn-id: r43534
2009-08-19 08:54:41 +00:00
Johannes Schickel
a37c9164ee Cleanup.
svn-id: r43533
2009-08-19 08:46:59 +00:00
Johannes Schickel
0c2ab20663 Implemented proper character selection of Lands of Lore PC98.
svn-id: r43531
2009-08-19 08:30:15 +00:00
Johannes Schickel
5e92db6001 Skip the whole Lore of the Lands special when the user does any input, like the original did.
svn-id: r43527
2009-08-19 07:12:33 +00:00
Norbert Lange
cc3a20c13c merge with trunk
svn-id: r43478
2009-08-17 12:58:53 +00:00
Johannes Schickel
e548e71ba1 Fix possible out of bounds access in Screen::drawShape.
svn-id: r43475
2009-08-17 12:47:57 +00:00
Johannes Schickel
09a8fa4efb Clear input queue before displaying the credits in Kyrandia 1.
svn-id: r43474
2009-08-17 12:22:30 +00:00
Johannes Schickel
b7b6370463 Cleanup: don't copy the Kyrandia 1 Amiga credits data in a temporary buffer, and thus keeping it twice in memory.
svn-id: r43473
2009-08-17 12:22:15 +00:00
Johannes Schickel
418fb485c9 Fix format arugments in LoL code. (triggered via -Wformat-security)
svn-id: r43444
2009-08-16 17:35:59 +00:00
Norbert Lange
c96affd0c1 merge with trunk
svn-id: r43443
2009-08-16 16:39:34 +00:00
Johannes Schickel
871f832fe1 Fix valgrind warnings.
svn-id: r43428
2009-08-16 06:33:34 +00:00
Johannes Schickel
6c3a440aa5 Yet another slight graphic fix for the Kyrandia 1 Amiga credits.
svn-id: r43413
2009-08-15 15:30:35 +00:00
Johannes Schickel
17f7c13ba3 Little fix for lopping credits in Kyrandia 1 Amiga.
svn-id: r43383
2009-08-14 17:49:30 +00:00
Norbert Lange
2b147c5716 changed handling of finale - music should use right tempo now
svn-id: r43364
2009-08-14 13:15:40 +00:00
Neil Millstone
a135a7f938 Allow VOCs to stream from disk. Disabled by default, use symbol STREAM_AUDIO_FROM_DISK to enable. See patch #2834001.
svn-id: r43357
2009-08-13 21:46:41 +00:00
Johannes Schickel
4afa6d18a4 Implemented support for the "Lore of the Lands" special of Lands of Lore CD.
svn-id: r43349
2009-08-13 15:55:12 +00:00
Johannes Schickel
568ffca0a6 Do not unload credits data after copying it to a temporary buffer in Kyrandia 1 Amiga, since the credits will be looped and need reload every time.
svn-id: r43342
2009-08-13 00:26:41 +00:00
Johannes Schickel
20c60d1422 Fix serious bug in StaticResource::unloadId.
svn-id: r43340
2009-08-13 00:21:42 +00:00
Johannes Schickel
7b6cd29087 Fix key input in credits sequences.
svn-id: r43339
2009-08-13 00:20:37 +00:00
Johannes Schickel
bc5a2d02e2 Little optimization in Screen::setPaletteIndex, now it only resets the palette, when the color index really changed.
svn-id: r43338
2009-08-13 00:19:26 +00:00
Norbert Lange
13757d5354 sound_amiga: honor _musicEnabled and _sfxEnabled flags
maxtrax: initialise lastvolume

svn-id: r43337
2009-08-13 00:07:37 +00:00
Johannes Schickel
dbe5f9998d Made debug statements a bit more consitant.
svn-id: r43336
2009-08-12 23:25:58 +00:00
Johannes Schickel
0a17555e73 Enable music support in the finale of Kyrandia 1 Amiga.
svn-id: r43335
2009-08-12 23:23:44 +00:00
Johannes Schickel
57566ad337 Properly respect users sfx/music config settings for MIDI output.
svn-id: r43332
2009-08-12 23:16:35 +00:00
Norbert Lange
cbc0b9e480 enable some debug-output
svn-id: r43331
2009-08-12 23:07:41 +00:00
Norbert Lange
0f618509af another merge from trunk
svn-id: r43330
2009-08-12 22:39:48 +00:00
Johannes Schickel
71750b6d06 Implement special Kyrandia 1 Amiga credits text scroller.
svn-id: r43329
2009-08-12 22:05:09 +00:00
Johannes Schickel
73f38d97b5 Add a slight paranoia check to drawCharANSI.
svn-id: r43325
2009-08-12 18:07:27 +00:00
Johannes Schickel
949ade74f0 Fix graphics glitch in credits of Kyrandia 1 German.
svn-id: r43324
2009-08-12 18:06:32 +00:00
Johannes Schickel
06657efc15 Further cleaning up credits player code for Kyra1.
svn-id: r43323
2009-08-12 18:05:41 +00:00
Johannes Schickel
20577c1574 Oops forgot a "{".
svn-id: r43322
2009-08-12 17:13:46 +00:00
Johannes Schickel
f7464020a0 Cleanup.
svn-id: r43321
2009-08-12 17:11:04 +00:00
Johannes Schickel
8086aff051 Implement difference for the Kyrandia 1 Amiga version in TextDisplayer::printCharacterText.
svn-id: r43320
2009-08-12 17:10:47 +00:00
Norbert Lange
0836cf6d9b merged from trunk (Amiga LoK supposedly completeable!)
fixed a bug I introduced in one of the last cleanups

svn-id: r43291
2009-08-11 22:35:56 +00:00
Johannes Schickel
712522de11 Fix graphical glitches when loading saves where Brandon is in Will-O-Wisp form.
svn-id: r43285
2009-08-11 18:17:53 +00:00
Johannes Schickel
c3cdaa7410 Fix for bug #2835715 "KYRA: GFX glitch in Amiga version at the bridge", which was caused by featuring restoring of Brandon's position on save load, which the original did not support.
svn-id: r43284
2009-08-11 18:17:07 +00:00
Johannes Schickel
0dcb2e1183 Don't allow menu / inventory usage in o1_waitForConfirmationMouseClick, just like the original does. This prevents creating bad saves like in bug #2835715 "KYRA: GFX glitch in Amiga version at the bridge".
svn-id: r43283
2009-08-11 18:16:21 +00:00
Johannes Schickel
1a59173a9b Enable dirty rect handling for the Amiga version again.
svn-id: r43280
2009-08-11 16:46:38 +00:00
Johannes Schickel
c1511d3b44 Cleanup.
svn-id: r43279
2009-08-11 16:46:20 +00:00
Johannes Schickel
786024ebb6 Fix thumbnails for savegames made via the in-game GUI of Kyrandia 1 Amiga.
svn-id: r43278
2009-08-11 16:18:43 +00:00
Johannes Schickel
57576e14cd Fix graphics glitch in Darm's abode in Kyrandia 1 Amiga.
svn-id: r43277
2009-08-11 16:18:01 +00:00
Johannes Schickel
bea06dedaf Fix bug in Amiga specific bits of o1_fadeSpecialPalette, this should make the cauldron water change color correctly.
svn-id: r43275
2009-08-11 15:35:13 +00:00
Johannes Schickel
dfd461e35d - Yet another minor difference in seq_winterScroll2
- Fix wrong offsets of flasks strings for Kyrandia 1 Amiga in kyra.dat
- Increase kyra.dat version

svn-id: r43274
2009-08-11 15:34:55 +00:00
Johannes Schickel
5e10c284e5 Implement differences in seq_winterScroll1 for Kyrandia 1 Amiga.
svn-id: r43273
2009-08-11 15:34:28 +00:00
Johannes Schickel
676b367978 Fix Kallak's note displaying in Kyrandia 1 Amiga and Kyrandia 1 DOS CD.
svn-id: r43272
2009-08-11 15:34:13 +00:00
Florian Kagerer
7f667c5289 LOL: some minor fixes
svn-id: r43269
2009-08-11 14:34:33 +00:00
Johannes Schickel
898f8d571c Implement palette differences for seq_playDrinkPotionAnim.
svn-id: r43252
2009-08-11 02:12:24 +00:00
Johannes Schickel
d911532770 Disable "Screen_LoK::fadeSpecialPalette" for Kyrandia 1 Amiga, like the original does.
svn-id: r43251
2009-08-11 02:12:09 +00:00
Johannes Schickel
7e1949dbbd Fix crash when using Will-O-Wisp in the grotto.
svn-id: r43249
2009-08-11 01:47:29 +00:00
Johannes Schickel
f419386d71 Fix in-game GUI text input field colors for Kyrandia 1 Amiga.
svn-id: r43248
2009-08-11 01:31:34 +00:00
Johannes Schickel
f49bfc58e4 Some changes to get the Kyrandia 1 Amiga credits to show up at least.
svn-id: r43247
2009-08-11 01:24:56 +00:00
Johannes Schickel
6e9ff8e381 Finally fixed the string extraction for Kyrandia 1 Amiga. This should make the intro/outro strings work fine again.
svn-id: r43246
2009-08-11 01:24:40 +00:00
Johannes Schickel
1a9630834c Some fixes for the Kyrandia 1 Amiga outro.
svn-id: r43245
2009-08-11 01:24:15 +00:00
Johannes Schickel
40c58d4ed0 Fix regression introduced with r41081.
svn-id: r43241
2009-08-11 00:14:54 +00:00
Johannes Schickel
714bf33988 Disable Kyragem fading for Kyrandia 1 Amiga.
svn-id: r43240
2009-08-11 00:14:40 +00:00
Johannes Schickel
89787d49ff Fix a little graphics bug in Kyrandia 1 Amiga, when jewels are enabled.
svn-id: r43239
2009-08-11 00:14:24 +00:00
Johannes Schickel
b8111d2c6c Fix yet another inventory background color glitch in Kyrandia 1 Amiga.
svn-id: r43238
2009-08-10 23:35:16 +00:00
Johannes Schickel
9fe496c740 Implement different in Kyrandia 1 Amiga in o1_setFireberryGlowPalette.
svn-id: r43237
2009-08-10 23:34:35 +00:00
Johannes Schickel
eb214d198f Fix cauldron water color in Zanthia's home in Kyrandia 1 Amiga.
svn-id: r43234
2009-08-10 22:54:45 +00:00
Johannes Schickel
0d4e110d79 Proper implementation of o1_fadeSpecialPalette for Kyrandia 1 Amiga.
svn-id: r43233
2009-08-10 22:54:25 +00:00
Johannes Schickel
01fcad7517 Fix WSA movies for final sequence of Kyrandia 1 Amiga. (this is just a theoretical fix, the game isn't yet playable till then)
svn-id: r43232
2009-08-10 22:18:47 +00:00
Johannes Schickel
1a4e1ef112 Fix o1_makeAmuletAppear for Kyrandia 1 Amiga.
svn-id: r43231
2009-08-10 22:18:33 +00:00
Johannes Schickel
a8f5f651a5 Cleanup.
svn-id: r43230
2009-08-10 22:18:18 +00:00
Johannes Schickel
a245dc4466 Implement differences for Kyrandia 1 Amiga in o1_setCustomPaletteRange.
svn-id: r43222
2009-08-10 19:10:11 +00:00
Johannes Schickel
a3bbff77e9 Fix incorrect converted colors in Kyra1 Amiga speech text color setup.
svn-id: r43221
2009-08-10 19:09:13 +00:00
Johannes Schickel
cb8b2d7799 - Fix AMIGA to DOS palette conversion
- Amiga version uses 13 instead of 12 palette buffers

svn-id: r43220
2009-08-10 19:08:00 +00:00
Johannes Schickel
066dc92551 Fix GUI menu colors for Kyrandia 1 Amiga.
svn-id: r43215
2009-08-10 18:04:53 +00:00
Johannes Schickel
19d5aa25dc Fix GUI button outline colors in Kyra1 Amiga.
svn-id: r43213
2009-08-10 18:03:37 +00:00
Johannes Schickel
7c6ffa78e0 Fix GUI font colors and text drawing in Kyrandia 1 Amiga.
svn-id: r43212
2009-08-10 18:01:28 +00:00
Johannes Schickel
c4e33211dd Typo.
svn-id: r43211
2009-08-10 17:17:19 +00:00
Johannes Schickel
f9b657c9f4 Implement item to item name list index mapping for Kyrandia 1 Amiga.
svn-id: r43210
2009-08-10 17:14:22 +00:00
Johannes Schickel
8ac9752f8f Fix GUI strings in Kyrandia 1 Amiga.
svn-id: r43209
2009-08-10 17:14:03 +00:00
Johannes Schickel
091ecc8fd0 - Fix extraction of Kyra 1 amiga string tables in kyra.dat
- Fix "taken" string offsets in kyra.dat
- Add temporary workaround for only one "taken" string being present in Kyra 1 amiga.
- Update kyra.dat

svn-id: r43208
2009-08-10 16:42:39 +00:00
Johannes Schickel
fe7453be1c Fix copyright string displaying in Kyra1 amiga. Unlike the DOS version it does not use a second print for creating a shadow look.
svn-id: r43207
2009-08-10 14:35:28 +00:00
Florian Kagerer
44cfd9d615 LOL: fix main menu in floppy version
svn-id: r43202
2009-08-10 10:25:53 +00:00
Johannes Schickel
b63d787caa Fix bug when setting up mouse cursor with inventory palette.
svn-id: r43200
2009-08-10 02:32:19 +00:00
Johannes Schickel
2ccffb9075 Remove dead code.
svn-id: r43199
2009-08-10 01:34:46 +00:00
Johannes Schickel
3ad62ee71b Cleanup.
svn-id: r43198
2009-08-10 01:34:29 +00:00
Johannes Schickel
bee9391d95 Use interface palette for mouse cursor in Kyra1 amiga, when it's enabled.
svn-id: r43197
2009-08-10 01:34:14 +00:00
Johannes Schickel
d68706d8ed Enable interface text fading in Kyra1 amiga again.
svn-id: r43196
2009-08-10 01:33:56 +00:00
Johannes Schickel
e265084bc3 Fix interface text color.
svn-id: r43195
2009-08-10 01:33:36 +00:00
Johannes Schickel
c85c5030df Fix text color in character speeches in Kyra1 amiga.
svn-id: r43194
2009-08-10 01:33:18 +00:00
Johannes Schickel
6c1bd68aed Fix inventory background color.
svn-id: r43193
2009-08-10 01:32:59 +00:00
Johannes Schickel
48e86a9e22 Initial support for correct colors in the interface of Kyra1 AMIGA.
svn-id: r43192
2009-08-10 01:32:39 +00:00
Johannes Schickel
f16ca2ee19 Disable menu text fading in kyra1 amiga for now.
svn-id: r43191
2009-08-10 01:32:22 +00:00
Johannes Schickel
738c51f88f Clear the destination page for bitmap loading, this fixes graphics artifacts in Kyra1 amiga.
svn-id: r43189
2009-08-09 23:32:52 +00:00
Johannes Schickel
5a7f85fbf6 Unbreak basic Kyra1 amiga in game support, by disabling some palette code for the amiga version.
svn-id: r43188
2009-08-09 23:23:48 +00:00
Johannes Schickel
300297d557 Add support for the font format used in Kyrandia 1 Amiga. (font colors are wrong though)
svn-id: r43187
2009-08-09 22:46:43 +00:00
Johannes Schickel
518cb968b2 Create a "Font" interface and create a "DOSFont" implementation for handling DOS version fonts.
svn-id: r43186
2009-08-09 22:46:25 +00:00
Norbert Lange
ab529d8e0c prepare the kyraplayer for reading sfxtables from raw data (instead of static tables)
svn-id: r43184
2009-08-09 20:20:42 +00:00
Johannes Schickel
ad40f3b46e Cleanup AMIGA graphics conversion.
svn-id: r43183
2009-08-09 19:11:10 +00:00
Norbert Lange
b4c689a3c1 fixed up some missing newlines
removed MSVC6 disable pragmas, the warnings are already disabled in the project files

svn-id: r43182
2009-08-09 18:59:22 +00:00
Norbert Lange
d77031e64c added code to support the "finale" section
cleaned up playSoundEffect and playTrack

svn-id: r43149
2009-08-08 21:59:18 +00:00
Norbert Lange
319dfcbcc0 moved table-definition from header to cpp file
svn-id: r43136
2009-08-08 20:00:28 +00:00
Norbert Lange
0350a1598d merge with trunk
svn-id: r43134
2009-08-08 19:09:30 +00:00
Johannes Schickel
df06592be1 Implemented support for Amiga wander score map.
svn-id: r43133
2009-08-08 18:23:14 +00:00
Kostas Nakos
08b650c1a6 show VK in gui_v2 games of kyra
svn-id: r43097
2009-08-07 11:05:58 +00:00
Kostas Nakos
14df573175 hint backend about virtual keyboard on save, in LoK
svn-id: r43095
2009-08-07 10:44:34 +00:00
Norbert Lange
fc8e269c36 cleaned up sound_amiga.cpp a bit, added checks for missing files
svn-id: r43050
2009-08-04 18:24:39 +00:00
Norbert Lange
4c4eb1394c added warning should the sound files not be available (intro will hang if there is no musictimer)
svn-id: r43049
2009-08-04 17:43:56 +00:00
Johannes Schickel
db232750b2 Fix bug which caused the mouse cursor not to update in some cases.
svn-id: r42926
2009-07-30 14:24:23 +00:00
Johannes Schickel
0570280885 Fix a little bug in KyraEngine_MR::showBadConscience, which prevented Gunther's mouse shapes from showing up.
svn-id: r42895
2009-07-29 16:24:07 +00:00
Johannes Schickel
2eb1a62a96 Fix saving of item in hand in HoF and MR.
svn-id: r42892
2009-07-29 15:31:23 +00:00
Johannes Schickel
c6dd192ca6 Fix animation script sound effect opcode implementation in Kyra3.
svn-id: r42890
2009-07-29 14:54:27 +00:00
Willem Jan Palenstijn
ed763cccfe Fix format string issues (and compiler warnings).
Patch by salty-horse.

svn-id: r42842
2009-07-27 16:04:35 +00:00
Johannes Schickel
84c0bf22d2 Simplify KYRA's SJIS font loading code.
svn-id: r42820
2009-07-26 14:18:49 +00:00
Johannes Schickel
cb960ad976 Change the way the font data for SJIS fonts is load.
svn-id: r42815
2009-07-26 14:17:40 +00:00
Johannes Schickel
0a03ae8265 Change KYRA to use our SJIS font, when it's available.
svn-id: r42814
2009-07-26 14:17:21 +00:00
Johannes Schickel
1ebcec73bf Implement missing bits in KyraEngine_HoF::setCauldronState.
svn-id: r42773
2009-07-25 16:37:25 +00:00
Johannes Schickel
495d93de1e Fix palette regression in Kyra2.
svn-id: r42771
2009-07-25 16:34:01 +00:00
Johannes Schickel
581ed45590 Adept savegame name creation code to use Common::String::printf.
svn-id: r42765
2009-07-25 15:31:11 +00:00
Johannes Schickel
7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Joost Peters
6d1a386471 remove implicit SoundDigital::Sound ctor call, which is redundant because the required initialisation is done below -- this fixes a linker error with mipspro
svn-id: r42748
2009-07-25 12:41:46 +00:00
Johannes Schickel
a7b419149c Use 50Hz ticks in Kyra1 Amiga instead of 60Hz ticks.
svn-id: r42644
2009-07-21 17:00:07 +00:00
Norbert Lange
4ae0b0528b now using tick for fadeout through the nowmal delay function
svn-id: r42622
2009-07-19 19:56:52 +00:00
Norbert Lange
65cf95b98b reverted fadeout to using plain delay as delayWithTicks crashes >(
svn-id: r42621
2009-07-19 16:59:39 +00:00
Norbert Lange
f051e7e9ab use own soundhandle as the ones in Kyra::Sound seem to be used for voices (and might get killed)
svn-id: r42620
2009-07-19 16:11:05 +00:00
Norbert Lange
5952977ed0 use ticks for timing fadeout
svn-id: r42618
2009-07-19 15:36:11 +00:00
Norbert Lange
dbe300fc53 fixed retiring of external Notes
fixed/improved counting DMAs in Paula
added flag for looping songs
rearranged maxtrax.h a bit

svn-id: r42613
2009-07-19 14:02:19 +00:00
Norbert Lange
31b6767666 fixed: intro-music started twice because it was hardcoded in the engine
removed verbose debug-output from maxtrax
 

svn-id: r42604
2009-07-19 01:14:51 +00:00
Norbert Lange
396d6c86aa add support for fadeout
svn-id: r42601
2009-07-19 00:58:01 +00:00
Norbert Lange
22ee23cac7 some more tables included, for tempo and volume values
svn-id: r42600
2009-07-19 00:44:54 +00:00
Norbert Lange
923f9b975b found and use another table, soundeffects in intro are now working
svn-id: r42594
2009-07-18 16:27:33 +00:00
Norbert Lange
9e16e3b3e6 first attempt at enabling soundeffects using an table from the executeable. Doesnt quite work as it should
svn-id: r42575
2009-07-18 00:04:28 +00:00
Norbert Lange
bb64bf008d merge with trunk
svn-id: r42574
2009-07-17 21:23:54 +00:00
Norbert Lange
81ac29ebca added missing file
svn-id: r42568
2009-07-17 16:10:56 +00:00
Norbert Lange
cfe2928d98 added primitive support for Kyrandia`s Intro Music.
svn-id: r42567
2009-07-17 16:07:57 +00:00
Johannes Schickel
53756ef1d0 Cleanup.
svn-id: r42565
2009-07-17 14:05:22 +00:00
Johannes Schickel
c353e5389b - Moved SoundAdlibPC definition to new header file sound_adlib.h
- Made the future versions of sound.h GPL only
- sound_adlib.h is dual licensed under GPL and LGPL (so AdPlug can still benefit from future changes)

svn-id: r42564
2009-07-17 13:50:59 +00:00
Johannes Schickel
799af694f0 Replace LGPL header by GPL header.
svn-id: r42563
2009-07-17 13:35:56 +00:00
Johannes Schickel
572b0e6c03 Fix bug in "KyraEngine_v2::runSceneScript6", fixes text line Zanthia says, when picking up the spellbook page in the town.
svn-id: r42543
2009-07-16 21:47:57 +00:00
Johannes Schickel
6b3c3a8a12 Bugfix: Disallow GMM Save/Load while in kyragem scene.
svn-id: r42507
2009-07-15 15:51:47 +00:00
Johannes Schickel
59b35ff5fb Fix graphics glitch in LoL PC98 intro.
svn-id: r42493
2009-07-14 22:47:33 +00:00
Max Horn
6b98c4c4e7 Got rid of some more ioFailed uses (also fixed a potential leak in graphics/font.cpp, and handle eos correctly in the FLAC code)
svn-id: r42488
2009-07-14 18:24:20 +00:00
Johannes Schickel
43c7f7530a Got rid of Screen_LoL::_paletteConvTable.
svn-id: r42443
2009-07-13 17:48:13 +00:00
Johannes Schickel
c3ce2087bb Add missing quotation mark to error message.
svn-id: r42406
2009-07-12 08:51:57 +00:00
Johannes Schickel
a93008713a Removed the now uneeded "Screen::_disableScreen" flag.
svn-id: r42366
2009-07-11 01:54:42 +00:00
Johannes Schickel
3080cc2905 Fix graphics not updating, when loading a save in Kyra1. This fixes problems when loading saves in rooms like Brynn's temple, which play animations directly on scene enter.
svn-id: r42365
2009-07-11 01:54:27 +00:00
Johannes Schickel
a17333ed1b Cleanup rollDice (the results of the old and the new function are almost identical).
svn-id: r42293
2009-07-09 15:32:25 +00:00
Johannes Schickel
a7c96e1526 Cleanup.
svn-id: r42292
2009-07-09 15:32:06 +00:00
Florian Kagerer
c7eedb573a LOL: cleanup
svn-id: r42271
2009-07-08 21:12:03 +00:00
Florian Kagerer
a212a9da7e LOL: rename new function in last commit according to LordHoto's suggestion
svn-id: r42270
2009-07-08 20:32:34 +00:00
Florian Kagerer
2950bc28c4 LOL: fix long standing bugs in the battle system (hit chance, damage, etc) by adapting original style random number generator
svn-id: r42269
2009-07-08 20:19:23 +00:00
Johannes Schickel
4dc454581c Change all uses of FM-Towns/fm-towns to FM-TOWNS.
svn-id: r42235
2009-07-07 19:18:53 +00:00
Johannes Schickel
e35dd4df1c Change "FM-Towns" to "FM-TOWNS" for consistency.
svn-id: r42232
2009-07-07 19:00:39 +00:00
Johannes Schickel
8c65d4d4a9 - Rename FontSJIS::enableShadow to enableOutline.
- Initialize outline to false by default in FontTowns.

svn-id: r42231
2009-07-07 18:17:30 +00:00
Johannes Schickel
62eebc3e17 - Added support for outlined FM-Towns ROM drawing
- Adapted KYRA to use that

svn-id: r42230
2009-07-07 18:10:35 +00:00
Johannes Schickel
ec2c7cfefa Adapt KYRA to use the new Graphics::FontSJIS code.
svn-id: r42222
2009-07-07 14:22:39 +00:00
Johannes Schickel
c22010b3d2 Fix RTL from Kyra3 main menu. (It now doesn't quit ScummVM anymore)
svn-id: r42180
2009-07-06 16:17:03 +00:00
Florian Kagerer
b43664e368 LOL: cleanup
svn-id: r42141
2009-07-05 16:29:17 +00:00
Florian Kagerer
501df3adf8 LOL: - reduce code duplication
svn-id: r42140
2009-07-05 14:58:22 +00:00
Florian Kagerer
9255bfc907 KYRA: fix minor bug in Screen::drawShape()
svn-id: r42110
2009-07-04 21:18:20 +00:00
Johannes Schickel
eeb5ba9d50 Kyra1 PC-98 never offered English as language settings, thus remove it. (The CD version *does* supply English files, but those will work as FM-Towns version, so this causes no drawback for the user and is faithful to the original)
svn-id: r42106
2009-07-04 18:54:43 +00:00
Max Horn
cbea1a1193 Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
svn-id: r42054
2009-07-03 10:40:49 +00:00
Max Horn
a6b57dc3a9 - Added GCC_PRINTF attribute to several funcs where it makes sense
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings

svn-id: r42009
2009-07-01 20:51:04 +00:00
Johannes Schickel
267efdc874 Fix invisible mouse cursor, when picking up items.
svn-id: r41967
2009-06-29 23:14:35 +00:00
Johannes Schickel
18940ffd46 Fix bug in drawShape.
svn-id: r41964
2009-06-29 20:17:10 +00:00
Johannes Schickel
a12b4e7002 Fix LoL cursor in DOS version.
svn-id: r41963
2009-06-29 20:16:59 +00:00
Johannes Schickel
e15502d381 Fix bug in drawShape, which caused invisibility in Kyra1 to be displayed incorrectly.
svn-id: r41962
2009-06-29 19:02:15 +00:00
Johannes Schickel
3919bd2aed Fix palette regression caused by r41949.
svn-id: r41961
2009-06-29 18:49:28 +00:00
Johannes Schickel
cc0b30370e Fix kyra2/kyra3 mouse cursor related regressions, introduced with r41959.
svn-id: r41960
2009-06-29 18:49:17 +00:00
Johannes Schickel
67f69bcaf2 - Get rid of code duplication for mouse cursor setup
- Fix mouse cursor colors in LoL PC98
(This commit might introduce regressions, since it changes the key color the mouse cursor uses)

svn-id: r41959
2009-06-29 18:00:18 +00:00
Johannes Schickel
c810f9645a Removed obsolete TODOs in HoF code.
svn-id: r41958
2009-06-29 17:26:56 +00:00
Johannes Schickel
11dafd2ded Resolved some TODOs in Kyra3 code.
svn-id: r41957
2009-06-29 17:26:43 +00:00
Johannes Schickel
fbefe917f2 Removed more obsolete TODO messages.
svn-id: r41956
2009-06-29 17:06:17 +00:00
Johannes Schickel
c2d13aab2a Update the screen animations while dropping items in Hand of Fate.
svn-id: r41955
2009-06-29 17:06:00 +00:00
Johannes Schickel
31691eb6bf Removed some obsolete TODOs.
svn-id: r41954
2009-06-29 17:05:49 +00:00
Johannes Schickel
179a822b93 Adapted various code parts to use Palette::fill.
svn-id: r41953
2009-06-29 16:49:53 +00:00
Johannes Schickel
07cdbd273d Add a "fill" method to Palette.
svn-id: r41952
2009-06-29 16:49:38 +00:00
Johannes Schickel
bfe8ec6d66 Replaced some raw palette loads.
svn-id: r41951
2009-06-29 16:49:26 +00:00
Johannes Schickel
80a4a2dd8e Cleanup GUI_HoF::setupPalette.
svn-id: r41950
2009-06-29 16:49:14 +00:00
Johannes Schickel
6f46b69236 Cleanup KyraEngine_MR::updateCharPal.
svn-id: r41949
2009-06-29 16:08:39 +00:00
Johannes Schickel
3b7f11d4cc Change LoLEngine::generateFlashPalette to take Palette objects as parameters.
svn-id: r41948
2009-06-29 16:08:28 +00:00
Johannes Schickel
c09985db2c Change Screen_LoL::loadSpecialColors to take an Palette object as parameter.
svn-id: r41947
2009-06-29 16:08:16 +00:00
Johannes Schickel
3bde2647b6 Change raw palette read to Screen::loadPalette call.
svn-id: r41946
2009-06-29 16:08:00 +00:00
Johannes Schickel
0bf94cb194 Chang Palette parameter of LolEngine::setPaletteBrightness to be const.
svn-id: r41945
2009-06-29 16:07:46 +00:00
Johannes Schickel
bf81e432e1 Change LoLEngine::generateBrightnessPalette to take Palette objects as parameters.
svn-id: r41944
2009-06-29 16:06:31 +00:00
Johannes Schickel
f7bbd359bb Changed LoLEngine::setPaletteBrightness to take an Palette object.
svn-id: r41943
2009-06-29 16:06:18 +00:00
Johannes Schickel
c72dac8dd0 Change LoLEngine::processMagicIce to use Palette objects internally.
svn-id: r41942
2009-06-29 16:06:02 +00:00
Johannes Schickel
b12496d1dd Modified Palette::load*Palette definition.
svn-id: r41941
2009-06-29 16:05:50 +00:00
Florian Kagerer
9b27e2b97c LOL: add workaround to fix map text display when the language is set to French
svn-id: r41922
2009-06-27 16:48:47 +00:00
Florian Kagerer
7d876f8a19 LOL: fixed regression
svn-id: r41917
2009-06-27 13:15:47 +00:00
Florian Kagerer
a7cb4362b4 LOL: cleanup
svn-id: r41916
2009-06-27 12:36:12 +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
Johannes Schickel
9f5f262561 Implement difference in TIM's displayText code for PC98, this should fix the font color in the intro.
svn-id: r41897
2009-06-26 00:12:19 +00:00