Johannes Schickel
9fec7402e5
Cleanup.
...
svn-id: r40661
2009-05-17 22:26:14 +00:00
Johannes Schickel
dd6484066f
Fix sound file missing warning for DOS version of LoL.
...
svn-id: r40660
2009-05-17 22:20:00 +00:00
Johannes Schickel
6c3ef0f57e
Audio related cleanup.
...
svn-id: r40659
2009-05-17 22:12:36 +00:00
Johannes Schickel
1c86e18680
Disable CD audio for PC98 by default.
...
svn-id: r40658
2009-05-17 21:55:24 +00:00
Johannes Schickel
76285301aa
Handle keyboard button press immediately.
...
svn-id: r40657
2009-05-17 21:52:31 +00:00
Johannes Schickel
1b74d8557a
Change workaround to match comment description.
...
svn-id: r40656
2009-05-17 15:59:04 +00:00
Florian Kagerer
70a7fab1e6
LOL: - fix animations for fletcher shop in the swamp
...
svn-id: r40655
2009-05-17 15:54:29 +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
2953f5b935
KYRA1: fix script code (Japanese version of lephole.emc was broken by recent changes in the parser)
...
svn-id: r40651
2009-05-17 14:22:05 +00:00
Filippos Karapetis
7ffefa4d86
Fixed compilation when LoL is not enabled
...
svn-id: r40644
2009-05-17 12:23:50 +00:00
Florian Kagerer
4c2d4a453d
LOL: implemented loading and saving via Alt/Ctrl + number keys
...
svn-id: r40631
2009-05-16 23:16:02 +00:00
Florian Kagerer
6ebdb00965
LOL: some more opcodes for the draracle cave
...
svn-id: r40628
2009-05-16 12:53:05 +00:00
Florian Kagerer
bee8be58e3
LOL: implemented pit drop animation
...
svn-id: r40592
2009-05-15 06:29:08 +00:00
Johannes Schickel
536bdeacd4
Clarification of a comment.
...
svn-id: r40507
2009-05-12 19:58:05 +00:00
Johannes Schickel
c59f9a9670
Cleanup.
...
svn-id: r40491
2009-05-12 14:55:45 +00:00
Johannes Schickel
09224573f5
Formatting.
...
svn-id: r40490
2009-05-12 14:43:57 +00:00
Johannes Schickel
76984ded25
Add proper error checking in file parsing code.
...
svn-id: r40489
2009-05-12 14:35:50 +00:00
Johannes Schickel
8524bf3a25
Change script file loading code to use Common::IFFParser instead of a self written IFF reader.
...
svn-id: r40488
2009-05-12 14:18:08 +00:00
Johannes Schickel
8d15765059
Fix strncpy usage.
...
svn-id: r40482
2009-05-12 12:35:40 +00:00
Johannes Schickel
a79716e367
Cleanup.
...
svn-id: r40480
2009-05-12 12:30:59 +00:00
Johannes Schickel
cf3ea8eec2
Cleanup.
...
svn-id: r40479
2009-05-12 12:20:45 +00:00
Florian Kagerer
0561caa447
LOL: - implemented olol_paletteFlash()
...
svn-id: r40466
2009-05-11 20:44:43 +00:00
Florian Kagerer
03dffbcc18
LOL: - implemented inventory screen status icons
...
svn-id: r40463
2009-05-11 19:03:40 +00:00
Florian Kagerer
3d13c3ea36
LOL: - fix last commit
...
svn-id: r40443
2009-05-10 23:53:05 +00:00
Florian Kagerer
670eb3badf
LOL: - implemented rest party button
...
- made button processing code more accurate
svn-id: r40442
2009-05-10 23:08:32 +00:00
Florian Kagerer
e1cc5c309a
KYRA: fixed typo
...
svn-id: r40436
2009-05-10 20:47:58 +00:00
Johannes Schickel
3a392ed05b
Oops typo.
...
svn-id: r40428
2009-05-10 17:49:21 +00:00
Johannes Schickel
978758190e
Cleanup.
...
svn-id: r40426
2009-05-10 17:26:46 +00:00
Johannes Schickel
02aa7dfdfd
Fix accidental assignment in if condition.
...
svn-id: r40425
2009-05-10 17:22: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
9d2e1617a8
More formatting.
...
svn-id: r40203
2009-04-29 15:48:41 +00:00
Johannes Schickel
eade2fdb44
Formatting.
...
svn-id: r40202
2009-04-29 15:19:05 +00:00
Johannes Schickel
9c560ed94b
Cleanup.
...
svn-id: r40200
2009-04-29 11:50:13 +00:00
Johannes Schickel
c0cce2a52f
Cleanup.
...
svn-id: r40199
2009-04-29 11:34:23 +00:00
Johannes Schickel
4f9ea1c920
Fix out of bounds array access (as reported by DrMcCoy).
...
svn-id: r40197
2009-04-29 11:31:59 +00:00
Johannes Schickel
7661d82ace
Some code for the intro only LoL demo. It is disabled currently though.
...
svn-id: r40187
2009-04-28 18:56:54 +00:00
Johannes Schickel
bc3dcd468a
Set ADGF_DEMO flag for kyra2 seq player based LoL demo.
...
svn-id: r40186
2009-04-28 18:13:24 +00:00
Florian Kagerer
6e566a9b1e
LOL: added some drawing code and fixed some bugs
...
svn-id: r40167
2009-04-27 19:38:28 +00:00
Filippos Karapetis
9af7d48a04
Changed the attacker parameter from 0 to 0xFFFF in inflictDamage() (which was probably the original intended value) and added a FIXME
...
svn-id: r40149
2009-04-25 23:57:26 +00:00
Filippos Karapetis
97f3277f8f
The "attacker" parameter is an unsigned integer, so we can't pass a negative number to it (hopefully this doesn't break anything)
...
svn-id: r40148
2009-04-25 23:42:47 +00:00
Torbjörn Andersson
ca3195b1ad
Fixed warning.
...
svn-id: r40145
2009-04-25 13:58:54 +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
Johannes Schickel
7ed4419c01
Remove ADGF_CD flag from Towns detection entries.
...
svn-id: r40041
2009-04-21 11:41:00 +00:00
Johannes Schickel
5e1ee49148
Mark PC98 CD version as CD version (like it is already done with FM-Towns).
...
svn-id: r40040
2009-04-21 11:32:10 +00:00
Johannes Schickel
b01e82488d
Fix for Kyra 1 Mac CD music (check bug report #2772727 "KYRA1: Sound effect loops continuously (Mac CD)").
...
svn-id: r40039
2009-04-21 11:26:19 +00:00
Johannes Schickel
5d9b095a9f
Add TODO.
...
svn-id: r40000
2009-04-18 21:23:45 +00:00
Torbjörn Andersson
5cd2261382
We probably only have to update the screen once every updateInfo(). And, since
...
it's triggered by mouse movements, only when the cursor is visible.
svn-id: r39975
2009-04-18 03:15:34 +00:00
Johannes Schickel
3deae9fc8b
Add HACK to support DOS music in Kyra1 Mac CD based on patch #2767489 "KYRA1: Support for Mac CD".
...
svn-id: r39962
2009-04-16 12:31:17 +00:00
Johannes Schickel
2558350d1c
Added md5sums of Kyra1 Mac CD as supplied with fr #2766454 "KYRA1: Add support for Macintosh CD" (experimental change, not for 0.13.1 yet)
...
svn-id: r39955
2009-04-15 21:55:12 +00:00
Johannes Schickel
3cc8059ce6
Cleanup.
...
svn-id: r39933
2009-04-11 12:44:27 +00:00
Max Horn
5749b363d5
KYRA: Replaced Rect class by Common::Rect; replaced dirty rect handling code by code similiar to the one used in SAGA and the frontend GUI code
...
svn-id: r39929
2009-04-11 09:57:57 +00:00
Florian Kagerer
74fdcca04e
LOL: startup fix for floppy version
...
svn-id: r39875
2009-04-06 17:09:02 +00:00
Florian Kagerer
38737e9c07
LOL: fix monsters' strange sliding to the left (like that thug at the beginning)
...
svn-id: r39863
2009-04-05 13:15:33 +00:00
Florian Kagerer
a528efb93d
LOL: implemented two more opcodes (for roland's house and for the sequence where the king gets poisoned)
...
svn-id: r39860
2009-04-05 12:13:21 +00:00
Florian Kagerer
bf160a91b8
LOL: fix speech bug, which would cause a hang up when entering roland's house
...
svn-id: r39858
2009-04-05 11:36:38 +00:00
Florian Kagerer
d52d81fd1c
LOL: implemented opcode for throwing items into or out of the thug's cave
...
svn-id: r39854
2009-04-04 23:35:00 +00:00
Florian Kagerer
7bd305397b
LOL: fix magic atlas back/forward buttons
...
svn-id: r39853
2009-04-04 22:49:14 +00:00
Florian Kagerer
44fa38b2af
LOL: implemented compass
...
svn-id: r39852
2009-04-04 21:10:35 +00:00
Florian Kagerer
3efc9ad51e
LOL: correct character portrait positioning for "full screen sequences" (like grey eagle inn) when playing without sub titles
...
svn-id: r39849
2009-04-04 16:41:21 +00:00
Florian Kagerer
353e0bef7a
LOL: - this should fix a text displayer bug that occured when speaking to the compass gui
...
svn-id: r39848
2009-04-04 16:13:52 +00:00
Florian Kagerer
caf585bcb1
LOL: - minor item drawing bug fix
...
svn-id: r39840
2009-04-04 14:10:53 +00:00
Johannes Schickel
bff93a38ae
Formatting.
...
svn-id: r39839
2009-04-04 13:19:33 +00:00
Florian Kagerer
31118416ab
LOL: - minor sfx bug fix
...
svn-id: r39836
2009-04-04 12:56:49 +00:00
Florian Kagerer
3d608dda3e
LOL: - reverted last commit which would break map shape drawing (I have now changed the map shape coordinates to decimal numbers though since some compiler seems to complain about signed hex numbers)
...
- added support for placing items in wall niches (like that one in the thugs' cave)
svn-id: r39823
2009-04-04 00:19:34 +00:00
Filippos Karapetis
3d556dd9e0
Fixed compilation (a signed byte cannot hold such big values)
...
svn-id: r39821
2009-04-03 23:06:42 +00:00
Florian Kagerer
9638c7ec4b
LOL: - added support for magic atlas
...
- fixed minor palette bug
svn-id: r39818
2009-04-03 21:32:50 +00:00
Johannes Schickel
2b7af654bd
Fix invalid memory writes.
...
svn-id: r39727
2009-03-28 16:35:54 +00:00
Florian Kagerer
7bfa1455bc
LOL: - implemented opcode required for operating the floor plates in the thugs' cave)
...
- fixed bug (only one of the two thugs in front of the cave was deleted when sneaking into the cave)
svn-id: r39721
2009-03-28 12:58:34 +00:00
Johannes Schickel
8dda5f4070
Formatting.
...
svn-id: r39720
2009-03-28 12:08:43 +00:00
Florian Kagerer
8875fdcded
LOL: - Level temp data now get stored in memory so you can now return to a level without everything being broken. Temp data isn't saved to disk. Since total memory requirement for storing this data won't exceed ~100kb I'd rather save memory in other places (like removing some screen page buffers)
...
- Implemented some more opcodes and fixed some bugs (You can now safely pick up coin pouches. The lamp seems to work fine, too).
svn-id: r39719
2009-03-28 11:58:22 +00:00
Florian Kagerer
e9b4124f1d
LOL: - implemented lots of opcodes and fixed a few bugs
...
- it's now possible to leave the castle
svn-id: r39653
2009-03-24 07:18:16 +00:00
Florian Kagerer
0ce597db80
LOL: - added drawing code for certain gfx (blood and slime spots on the floor, teleporters, ice walls)
...
svn-id: r39599
2009-03-21 20:24:36 +00:00
Florian Kagerer
29ebafb5d5
LOL: implemented some missing drawing code for dead monsters
...
svn-id: r39589
2009-03-21 15:33:16 +00:00
Florian Kagerer
b55602180d
LOL: The guards will now attack you when you throw certain items at them. They can't do any damage though, since this isn't implemented yet.
...
svn-id: r39582
2009-03-21 14:30:25 +00:00
Florian Kagerer
769184c483
LOL: added some new drawing code required for some shapes and fixed a minor text displaying bug
...
svn-id: r39487
2009-03-17 18:27:56 +00:00
Florian Kagerer
52726344b7
LOL: - implemented item throwing
...
svn-id: r39455
2009-03-16 21:20:34 +00:00
Johannes Schickel
4d84ae9f20
Align ScummVM version string properly.
...
svn-id: r39432
2009-03-15 21:25:15 +00:00
Florian Kagerer
c826106e44
LOL: - implemented original style random number generator for moving around the monsters
...
svn-id: r39425
2009-03-15 18:21:33 +00:00
Florian Kagerer
dcf32be3f6
LOL: - added some missing animations for the shops
...
- added support for dropping/picking up items (no throwing yet)
svn-id: r39422
2009-03-15 16:48:20 +00:00
Johannes Schickel
f1079ef624
Cleanup.
...
svn-id: r39421
2009-03-15 14:55:48 +00:00
Johannes Schickel
0e8bd97367
Fix for loading Kyra1 Amiga PAK files.
...
svn-id: r39420
2009-03-15 14:48:08 +00:00
Florian Kagerer
7fe0592f0f
LOL: magic atlas can now be picked up (but it can't be used)
...
svn-id: r39393
2009-03-14 15:06:02 +00:00
Florian Kagerer
092f2a37e3
LOL: - complete support for the three "special rooms" in the castle
...
svn-id: r39391
2009-03-14 13:48:12 +00:00
Filippos Karapetis
f496f9932d
Wrap the code in text_lol.* around ENABLE_LOL checks
...
svn-id: r39346
2009-03-11 22:58:26 +00:00
Florian Kagerer
f2a066e42f
LOL: - some opcodes and interface code so that you can at least get out of the shops and Geron's room
...
svn-id: r39284
2009-03-10 00:32:20 +00:00
Max Horn
5181546c63
Rewrote Common::List iterator code to ensure const correctness is preserved.
...
We tried to implement the list iterators in a clever way, to reduce code
duplication. But this is essentially impossible to do properly, sadly --
this is one of the places where the ugly drawbacks of C++ really show.
As a consequence, our implementation had a bug which allowed one to
convert any const_iterator to an iterator, thus allowing modifying
elements of const lists.
This rewrite reintroduces code duplication but at least ensures that no
const list is written to accidentally.
Also fix some places which incorrectly used iterator instead of const_iterator
or (in the kyra code) accidentally wrote into a const list.
svn-id: r39279
2009-03-09 22:26:02 +00:00
Florian Kagerer
cbf2602783
LOL: - fixed inventory bug
...
- fixed monster speed
svn-id: r39275
2009-03-09 20:34:36 +00:00
Florian Kagerer
76ab92f8ec
LOL: added scene animations (like that fountain right at the start)
...
svn-id: r39251
2009-03-09 01:57:42 +00:00
Florian Kagerer
6d9a047276
LOL: minor fix for text displayer (text pages now advance automatically when the speech has reached the next part)
...
svn-id: r39250
2009-03-09 00:54:27 +00:00
Florian Kagerer
6cb3f665af
LOL: some more work on the text displayer so that it handles longer texts (needed for some library books)
...
svn-id: r39249
2009-03-08 23:28:19 +00:00
Johannes Schickel
de6f1ec597
Oops, fix size argument to memset call.
...
svn-id: r39230
2009-03-08 14:33:18 +00:00
Johannes Schickel
8318750f41
- Cleanup
...
- Add FIXME
svn-id: r39225
2009-03-08 13:32:27 +00:00
Johannes Schickel
3524032314
Cleanup.
...
svn-id: r39224
2009-03-08 13:28:22 +00:00
Johannes Schickel
275cf8a383
Cleanup.
...
svn-id: r39221
2009-03-08 13:11:06 +00:00
Florian Kagerer
edc18a2299
LOL: some opcodes for the library room (so that the game will at least not freeze when clicking one of the books)
...
svn-id: r39210
2009-03-08 03:26:21 +00:00
Florian Kagerer
e23fd08dfb
LOL: fixed bug reported by MD5 (crashes and freezes caused by calls to non-existent sub scripts)
...
svn-id: r39209
2009-03-08 02:17:14 +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
Florian Kagerer
826638d45b
LOL: - implemented some opcodes(
...
svn-id: r39187
2009-03-07 15:46:21 +00:00
Florian Kagerer
d262073193
LOL: - some opcodes for the first throne room sequence
...
svn-id: r39168
2009-03-06 23:59:12 +00:00
Florian Kagerer
8639e34b41
LOL: - doors can now be opened and closed
...
- some more work on monster walk code
svn-id: r39166
2009-03-06 22:53:08 +00:00
Jordi Vilalta Prat
047f116515
Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
...
svn-id: r39132
2009-03-05 12:04:58 +00:00
Johannes Schickel
efd7c2eac9
Ease conditional LoL compiling with build systems not based on the default one.
...
svn-id: r39125
2009-03-04 11:53:25 +00:00
Filippos Karapetis
f006f94914
Fixed compilation when ENABLE_LOL is not set
...
svn-id: r39123
2009-03-04 10:53:36 +00:00
Johannes Schickel
3a35b5b5f2
- Make Lands of Lore compileable optionally as suggested by _sev. (via ENABLE_LOL define)
...
- Change default build system to support LoL as a subengine of KYRA. LoL is currently disabled by default.
(- Minor enum name fixes for Lands of Lore code.)
svn-id: r39099
2009-03-04 00:45:34 +00:00
Florian Kagerer
3f2af1e8a1
LOL: implemented some walking code for the monsters
...
svn-id: r39097
2009-03-03 22:32:39 +00:00
Florian Kagerer
b42b7a8b40
LOL: implement some opcodes for dialogue sequences
...
svn-id: r39051
2009-03-01 20:37:57 +00:00
Florian Kagerer
7ea5cefef4
LOL: implemented some monster related code (monsters now get placed in the maze, but they still don't do anything)
...
svn-id: r39039
2009-03-01 14:45:30 +00:00
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Florian Kagerer
837ca0683e
LOL: - some more work on the interface (you can now click on the banners and windows) and some bug fixes
...
svn-id: r38818
2009-02-23 20:17:53 +00:00
Florian Kagerer
b5b4cb66a1
LOL: implemented timers (only text fading for now)
...
svn-id: r38766
2009-02-21 23:20:14 +00:00
Florian Kagerer
8a95f02abf
LOL: some work on inventory/item handling
...
svn-id: r38711
2009-02-21 17:24:50 +00:00
Johannes Schickel
bc39dc9d75
Fix valgrind warning about mismatched delete.
...
svn-id: r38429
2009-02-17 18:01:52 +00:00
Johannes Schickel
33934251cb
Fix for long delay while fading palette in Zanthia's home, when mixing potions.
...
svn-id: r38425
2009-02-17 17:17:47 +00:00
Florian Kagerer
57749fc9af
LOL: fixed invalid memory access
...
svn-id: r38383
2009-02-16 21:46:02 +00:00
Florian Kagerer
a43b0bc2dc
LOL: - more work on the user interface
...
- fixed non interactive demo
svn-id: r38374
2009-02-16 17:17:15 +00:00
Florian Kagerer
dee51a77b5
LOL: fix bug in kyra.dat
...
svn-id: r38246
2009-02-15 14:49:01 +00:00
Willem Jan Palenstijn
8b38d0677a
portability fix for platforms with unsigned char
...
svn-id: r38229
2009-02-15 12:11:27 +00:00
Florian Kagerer
16a57f299c
LOL: - implemented proper button processing (works exactly as in Kyra 2 and 3, so we do have some code duplication atm, I just fixed right mouse button support for LOL)
...
- keyboard control now works
svn-id: r38190
2009-02-15 03:36:30 +00:00
Florian Kagerer
6c586b3d44
LOL: fixed a bug in moveParty() and implemented some more gui code
...
svn-id: r36328
2009-02-14 14:33:26 +00:00
Florian Kagerer
02c149e174
LOL: fixed bug in text displayer and some cleanup
...
svn-id: r36327
2009-02-14 13:55:00 +00:00
Florian Kagerer
c13155b83d
LOL: add missing debug info to some script functions
...
svn-id: r36324
2009-02-14 13:29:22 +00:00
Florian Kagerer
f065524949
LOL:
...
- implemented some input code
- you can walk around now (not very far though, since doors don't work yet). Keyboard control is still missing
- processButtonList isn't really implemented yet for LOL. I'll still have to check which features are needed here.
svn-id: r36320
2009-02-14 00:51:07 +00:00
Travis Howell
4131d3d07f
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
...
svn-id: r36236
2009-02-07 05:05:14 +00:00
Johannes Schickel
7c0a16e422
Allow ScummVM to quit while a character is talking in Kyra3.
...
svn-id: r36221
2009-02-05 19:25:52 +00:00
Florian Kagerer
44e6c3c630
KYRA: cleanup
...
svn-id: r36207
2009-02-02 23:20:55 +00:00
Johannes Schickel
2221650879
Fixed graphics glitches when replaying intro.
...
svn-id: r36193
2009-02-01 21:26:56 +00:00
Johannes Schickel
9df7f7385c
- Cleanup
...
- This time fixed the real cause of the mismatching malloc / delete[] call.
svn-id: r36191
2009-02-01 21:11:03 +00:00
Johannes Schickel
2648f42fc5
Removed uneeded setupPrologueData calls.
...
svn-id: r36188
2009-02-01 20:55:16 +00:00
Johannes Schickel
4662333b81
Oops wrong parameter in last commit.
...
svn-id: r36187
2009-02-01 20:54:24 +00:00
Johannes Schickel
1aa84d4b5e
- Fixed mismatching new[] / free.
...
- Fixed bad casting
svn-id: r36186
2009-02-01 20:53:30 +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
Johannes Schickel
90184e6812
Moved some code to newly added files sequences_lol.cpp (more static sequence code is coming up in the future anyway...)
...
svn-id: r36183
2009-02-01 20:21:01 +00:00
Johannes Schickel
68b7cb265d
Oops removed accidently commited code.
...
svn-id: r36182
2009-02-01 20:13:05 +00:00
Johannes Schickel
ce4c7f4a11
Removed obsolete fixme.
...
svn-id: r36181
2009-02-01 20:11:05 +00:00
Johannes Schickel
1626c624ba
Fixed out of bounds memory access.
...
svn-id: r36180
2009-02-01 19:56:30 +00:00
Johannes Schickel
dda109ead3
Fixed compilation for now.
...
svn-id: r36179
2009-02-01 19:53:12 +00:00
Florian Kagerer
784c99b3da
svn-id: r36178
2009-02-01 19:27:01 +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
Johannes Schickel
31d40307bc
Fix for bug #2551436 "KYRA2: ScummVM quits after death".
...
svn-id: r36161
2009-01-31 12:00:20 +00:00
Max Horn
7cb437b56f
Renamed SpecialDebugLevel to DebugChannel
...
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +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
Max Horn
2d866c0483
Renamed Kyra's Resource::getFileStream to createReadStream
...
svn-id: r36022
2009-01-23 04:57:18 +00:00
Max Horn
14c5bbbccf
Renamed Archive::openFile to createReadStreamForMember
...
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
9861afd8fd
Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
...
svn-id: r36020
2009-01-23 04:36:18 +00:00
Johannes Schickel
d9cf723ee9
Minor cleanup (got rid of a dynamic array).
...
svn-id: r35999
2009-01-22 16:56:22 +00:00
Johannes Schickel
d3fb5c1ecc
Fixed GMM save/load functionallity in kyra1.
...
svn-id: r35980
2009-01-21 15:36:31 +00:00
Johannes Schickel
577c8ff27d
Cleanup.
...
svn-id: r35943
2009-01-20 09:38:55 +00:00
Johannes Schickel
bcae0570a6
Yet another two small formatting fixes.
...
svn-id: r35942
2009-01-20 09:32:43 +00:00
Johannes Schickel
6d2278fb81
- Fixed formatting
...
- Added FIXME about falling through case blocks
svn-id: r35940
2009-01-20 09:30:20 +00:00
Johannes Schickel
87d2d96d91
- Moved some script related code to script_lol.cpp
...
- Renamed opcodes from o2_* to olol_*
svn-id: r35938
2009-01-20 09:22:16 +00:00
Max Horn
f60e2836b0
Fixed warnings (nice example of why heeding warnings is useful: one of the changes seems to fix a NULL deref)
...
svn-id: r35933
2009-01-20 02:54:30 +00:00
Florian Kagerer
017b39eae0
LOL: some work on the music handling
...
svn-id: r35929
2009-01-19 23:35:27 +00:00
Florian Kagerer
2a22b9bcc6
LOL: some renaming
...
svn-id: r35919
2009-01-19 07:31:34 +00:00
Torbjörn Andersson
fa0efa0b22
Fixed warning.
...
svn-id: r35918
2009-01-19 05:03:17 +00:00
Florian Kagerer
44918f5f16
LOL: basic music support and some cleanup
...
svn-id: r35917
2009-01-18 23:50:31 +00:00
Florian Kagerer
35c8fd4dad
LOL: fix some valgrind warnings
...
svn-id: r35910
2009-01-18 18:20:33 +00:00
Johannes Schickel
62334395a7
Formatting.
...
svn-id: r35908
2009-01-18 17:38:29 +00:00
Johannes Schickel
12eb45df01
Fixed mismatching delete call.
...
svn-id: r35907
2009-01-18 17:36:25 +00:00
Johannes Schickel
49f756981b
- Fixed some delete[] misuse
...
- Fixed regression introduced with r35904
svn-id: r35906
2009-01-18 17:31:25 +00:00
Johannes Schickel
c003d62429
- Fixed bug in script code of LoL
...
- Cleanup
svn-id: r35905
2009-01-18 17:24:47 +00:00
Johannes Schickel
ec5b64147d
Fixed compilation.
...
svn-id: r35904
2009-01-18 17:17:39 +00:00
Florian Kagerer
ff268e8fd5
LOL: Some drawing code and some opcodes so that the first scene will show up. Playing is not possible. This is still somewhat messy since a lot of stuff hasn't been figured out yet.
...
svn-id: r35903
2009-01-18 17:04:24 +00:00
Johannes Schickel
bf08c82054
Fixed bug in PAK link list code, now file links are correctly initialized.
...
svn-id: r35902
2009-01-18 16:49:03 +00:00
Johannes Schickel
c4a4ffc51b
Update scene number internally so it gets displayed correctly in the debugger.
...
svn-id: r35900
2009-01-18 16:21:30 +00:00
Johannes Schickel
094fca2207
When reverting to text only mode update the config manager settings accordingly.
...
svn-id: r35847
2009-01-13 18:11:11 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
ad2fc3ee90
Removed unused variable.
...
svn-id: r35618
2008-12-29 21:46:44 +00:00
Johannes Schickel
030de671b5
Reset screen dimension settings after closing menu.
...
svn-id: r35609
2008-12-29 14:44:06 +00:00
Johannes Schickel
8ea422f415
- Cleanup
...
- Implemented Screen_LoL::fprintString
svn-id: r35608
2008-12-29 14:37:51 +00:00
Johannes Schickel
6639ba726c
Extended some comments.
...
svn-id: r35606
2008-12-29 14:06:31 +00:00
Johannes Schickel
ce73425bef
Fixed character selection screen.
...
svn-id: r35605
2008-12-29 14:03:27 +00:00
Johannes Schickel
e4d2f58417
Cleanup.
...
svn-id: r35604
2008-12-29 13:59:35 +00:00
Florian Kagerer
d81782977e
LOL: - fixed some bugs in the main menu code (premature pak file unloading etc.) and added floppy support
...
svn-id: r35595
2008-12-28 22:09:31 +00:00
Johannes Schickel
1029c94c86
Oops added files I forgot in r35553.
...
svn-id: r35555
2008-12-26 11:07:52 +00:00
Johannes Schickel
5555ba9aaf
Fixed memory leak.
...
svn-id: r35554
2008-12-26 11:05:47 +00:00
Johannes Schickel
91de740d44
Implemented (some) main menu code for LoL.
...
svn-id: r35553
2008-12-26 11:04:45 +00:00
Johannes Schickel
fb14701b68
Cleanup.
...
svn-id: r35552
2008-12-26 08:35:36 +00:00
Max Horn
df20d264fd
Pushing down some header deps (on common/system.h, mostly)
...
svn-id: r35542
2008-12-25 20:40:00 +00:00
Johannes Schickel
e27110d3cc
Fixed yet another valgrind warning.
...
svn-id: r35535
2008-12-25 03:29:55 +00:00
Johannes Schickel
be777935f0
Fixed valgrind warning.
...
svn-id: r35534
2008-12-25 03:00:24 +00:00
Johannes Schickel
3f2e7a6cbf
Cleanup.
...
svn-id: r35451
2008-12-20 15:27:51 +00:00
Florian Kagerer
83194b2188
KYRA: fix mt-32 sysex loading for LOL floppy
...
svn-id: r35434
2008-12-19 07:32:08 +00:00
Florian Kagerer
5aec3bbc64
KYRA1: fixed Serpent Cave/Malcolm scene (where Brandon would instantly get killed without having a chance to grab the dagger)
...
svn-id: r35429
2008-12-18 21:21:09 +00:00
Johannes Schickel
dfc08c823d
Clean up cursor stack on engine quit properly.
...
svn-id: r35427
2008-12-18 20:22:49 +00:00
Johannes Schickel
d15022da78
Cleanup.
...
svn-id: r35424
2008-12-18 18:46:24 +00:00
Johannes Schickel
696ed52959
Switched kyra1 to use the same input functionality as kyra2 and kyra3.
...
svn-id: r35393
2008-12-16 17:40:34 +00:00
Johannes Schickel
c75c681175
Added code to initialize MT-32 properly for Lands of Lore.
...
svn-id: r35347
2008-12-14 00:23:46 +00:00
Johannes Schickel
2f1babd370
Whoops changed integer size of variables storing volume information, now volume of 256 should work as expected.
...
svn-id: r35303
2008-12-11 13:54:18 +00:00
Johannes Schickel
30507498b0
Midi code now allows volume values to be [0, 256] instead of [0, 255] like before, thus removed the clipping the old code used.
...
svn-id: r35302
2008-12-11 13:44:58 +00:00
Johannes Schickel
62d2955d9b
Cleanup.
...
svn-id: r35273
2008-12-07 13:41:00 +00:00
Johannes Schickel
c7c074895a
Prevent MIDI files from being load, when they are already loaded.
...
svn-id: r35272
2008-12-07 13:12:09 +00:00
Max Horn
b085afc451
Removed obsolete refs to OSystem::kFeatureAutoComputeDirtyRects
...
svn-id: r35240
2008-12-04 19:09:10 +00:00
Johannes Schickel
c517045349
Fixed some looping MIDI sound effects.
...
svn-id: r35193
2008-11-30 15:15:14 +00:00
Johannes Schickel
6fd1d462cf
Added MIDI SFX Map, fixes SFX in HoF.
...
svn-id: r35181
2008-11-30 05:11:40 +00:00
Johannes Schickel
2ebe04ac3e
- Extended MidiDriver::sysEx to allow 264 byte sysEx messages
...
- Updated all drivers to allow 264+2 byte sysEx messages
- Implemented sysEx processing for MT-32 for Kyra1 and HoF. MT-32 should now be working properly.
svn-id: r35180
2008-11-30 04:42:30 +00:00
Johannes Schickel
17a699a438
Cleanup.
...
svn-id: r35179
2008-11-30 02:54:39 +00:00
Johannes Schickel
1fc33dbae5
- Fix some valgrind warnings
...
- Added MIDI SFX support for Kyra2
svn-id: r35178
2008-11-30 02:47:20 +00:00
Johannes Schickel
8142873c6a
Implement fade out support for MIDI.
...
svn-id: r35177
2008-11-30 02:38:08 +00:00