Commit Graph

10258 Commits

Author SHA1 Message Date
Willem Jan Palenstijn
5f3938d615 Fix MSVC compilation (cast const away explicitly).
Patch by Kerbox.

svn-id: r40469
2009-05-11 21:05:48 +00:00
Eugene Sandulenko
565c23b601 Fix bug #1946262: "LSL1: Age Verification answer input not working"
svn-id: r40468
2009-05-11 20:58:55 +00:00
Florian Kagerer
0561caa447 LOL: - implemented olol_paletteFlash()
svn-id: r40466
2009-05-11 20:44:43 +00:00
Eugene Sandulenko
d5b9437fb3 Fix bug #2055836: "FW: Music is not restarted when loading a saved game"
svn-id: r40465
2009-05-11 19:31:55 +00:00
Torbjörn Andersson
2ba1da41e8 Silenced warning.
svn-id: r40464
2009-05-11 19:04:06 +00:00
Florian Kagerer
03dffbcc18 LOL: - implemented inventory screen status icons
svn-id: r40463
2009-05-11 19:03:40 +00:00
Eugene Sandulenko
efbc0f139b Fix bug #2678272: "FT: Russian version crashes on windows and psp"
svn-id: r40461
2009-05-11 18:34:54 +00:00
Max Horn
d09037fa6c SCI: Hacked stuff up so that debugger commands also print on the GUI console
svn-id: r40460
2009-05-11 18:18:43 +00:00
Max Horn
5481806635 SCI: Hook FreeSCI console commands into the ScummVM console (incomplete as of now, because printf output is not yet redirect to the GUI console)
svn-id: r40459
2009-05-11 18:02:48 +00:00
Filippos Karapetis
e3e3fbd7d1 Moved the "selectors" and "syscalls" console commands to ScummVM's debug console (as commands "selectors" and "kernelnames", respectively)
svn-id: r40457
2009-05-11 17:10:36 +00:00
Filippos Karapetis
b9a026eb20 Merged find_dev() inside sfx_find_device()
svn-id: r40456
2009-05-11 17:08:31 +00:00
Filippos Karapetis
ca52388f11 Console is a class, not a struct
svn-id: r40455
2009-05-11 17:07:38 +00:00
Gregory Montoir
2fd66d8eae some cleanup :
- separated instruction table parsing from instruction execution
- added a few debug calls to monitor game flags changes
- some variables/functions renaming

svn-id: r40454
2009-05-11 14:04:44 +00:00
Max Horn
1949133d22 SCI: Simplified the Table class, by making it use an Common::Array internally. Increased savegame version, breaking compatibility to the previous one -- sorry for that, but some of my previous changes accidentally messed up the table syncing, resulting in messed up savegames anyway; these breakages should be fixed with this commit
svn-id: r40453
2009-05-11 13:32:00 +00:00
Max Horn
d66d1ffab3 SCI: Replace global vars cmd_paramlength & cmd_params by Common::Array<cmd_param_t> param to console hook commands
svn-id: r40452
2009-05-11 13:31:37 +00:00
Max Horn
7c75e8e2ef SCI: Reduced header deps
svn-id: r40451
2009-05-11 13:31:17 +00:00
Walter van Niftrik
45ceef870a SCI: Message: Fixed a bug when game requests message with seq != 1.
svn-id: r40450
2009-05-11 10:56:59 +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
Walter van Niftrik
4d55f8b8d7 SCI: Minor changes to Message(). Some of the text in KQ6 floppy should now be visible.
svn-id: r40441
2009-05-10 22:25:43 +00:00
Johannes Schickel
7604301c30 Support target names of any length.
svn-id: r40438
2009-05-10 21:27:57 +00:00
Willem Jan Palenstijn
2a485abd6d Make static buffer larger.
This fixes crashes with AGI target names like goldrush-amiga.

svn-id: r40437
2009-05-10 21:20:33 +00:00
Florian Kagerer
e1cc5c309a KYRA: fixed typo
svn-id: r40436
2009-05-10 20:47:58 +00:00
Willem Jan Palenstijn
81cfd774ad clean up AGI fillAudio
svn-id: r40435
2009-05-10 20:42:46 +00:00
Max Horn
98fb95589c SCI: Changed EngineState::pics to a Common::Array
svn-id: r40434
2009-05-10 20:13:43 +00:00
Max Horn
14aa9d70ac SCI: Replaced Cplain odeBlock array in class Script by a Common::Array<CodeBlock>
svn-id: r40433
2009-05-10 20:13:12 +00:00
Max Horn
38c48b4f6e SCI: Fixed palette regression from rev 40388
svn-id: r40432
2009-05-10 19:18:19 +00:00
Max Horn
019f87fd1b SCI: Changed object list in Script instances to use Common:::Array
svn-id: r40431
2009-05-10 19:17:51 +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
Filippos Karapetis
7cd07d9581 Cleanup
svn-id: r40423
2009-05-10 14:57:27 +00:00
Filippos Karapetis
d34d5f56b6 Cleanup
svn-id: r40422
2009-05-10 14:04:56 +00:00
Filippos Karapetis
53f24f3e43 Applied patch by waltervn to remove the length parameter from getText() and fixed a silly bug in getLength()
svn-id: r40421
2009-05-10 13:47:38 +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
Filippos Karapetis
3592801a57 Objectified and cleaned up the MessageState class
svn-id: r40419
2009-05-10 13:15:14 +00:00
Eugene Sandulenko
3b92b0f583 Add detection for newly discovered AGI demo
svn-id: r40417
2009-05-10 11:43:17 +00:00
Filippos Karapetis
3e9ca1a638 Reverted commit #40413
svn-id: r40415
2009-05-10 11:08:50 +00:00
Filippos Karapetis
05d6edda4f Oops
svn-id: r40413
2009-05-10 10:59:08 +00:00
Filippos Karapetis
acd5a87922 Moved the code which retrieves the current room number in a separate function and merged _sci1_alloc_system_colors inside _reset_graphics_input
svn-id: r40412
2009-05-10 10:27:45 +00:00
Filippos Karapetis
ceee278def Disabled some unused code
svn-id: r40411
2009-05-10 09:53:39 +00:00
Travis Howell
af3bf8a575 Fix regression that caused F1 to trigger the original load/save menu in COMI.
svn-id: r40410
2009-05-10 09:51:05 +00:00
Travis Howell
75b5bd418a Update comment.
svn-id: r40409
2009-05-10 07:21:35 +00:00
Travis Howell
6b6aca3fa3 Change the work around for sq3.san, so it doesn't alter global smush frame rate (Which is a regression).
svn-id: r40408
2009-05-10 06:54:45 +00:00
Travis Howell
4f0811b129 Correct and move initial SMUSH frame rate value, for the demo version of The Dig.
svn-id: r40407
2009-05-10 06:46:24 +00:00
Travis Howell
f5094553f7 Set the initial SMUSH frame rate, since variable doesn't change and isn't saved.
svn-id: r40406
2009-05-10 06:24:58 +00:00
Walter van Niftrik
34bdd010c3 SCI: AvoidPath: Got rid of a warning.
svn-id: r40399
2009-05-09 09:52:46 +00:00
Walter van Niftrik
90cef59d3b SCI: AvoidPath: No longer excludes edges on screen borders for pathfinding, as
only the earlier games seem to do this. We may need to add a SCI version check
here if this change breaks anything in earlier games.

svn-id: r40398
2009-05-09 01:23:52 +00:00
Walter van Niftrik
a70531f814 SCI: AvoidPath: another workaround for ECO.
svn-id: r40397
2009-05-09 00:32:05 +00:00
Walter van Niftrik
be7acea217 SCI: Set signature for GetMessage.
svn-id: r40396
2009-05-08 23:10:25 +00:00