761 Commits

Author SHA1 Message Date
Filippos Karapetis
08f7059cf2 Fixed an off-by one error in the AGI set_menu opcode. Fixes bug #1935896 - "AGI: Fan(Beyond Titanic 2) - Assertion"
svn-id: r31457
2008-04-09 11:25:23 +00:00
Kari Salminen
4cc4bd0f41 Implement the full range of Apple IIGS MIDI program number to instrument mapping. Switch to using 8-bit signed sample data with Apple IIGS (In preparation for mixing multiple channels). Make Apple IIGS wavefile handling use SharedPtr and Array.
svn-id: r31451
2008-04-08 14:45:42 +00:00
Filippos Karapetis
9a0825cc06 Added a sanity check for original game script bugs in Agent06. Fixes bugs #1935842 - "AGI: Fan(Agent06) - Graphic errors" and #1935838 - "AGI: Fan(Agent06) - Crash on Quit"
svn-id: r31449
2008-04-08 08:54:05 +00:00
Max Horn
29f1e6de38 Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
svn-id: r31413
2008-04-05 22:29:08 +00:00
Kari Salminen
510a81bbd8 Add Apple IIGS MIDI program number to instrument number mappings (Both for the older instrument set used by SQ1 only and for the newer instrument set used by all the other tested Apple IIGS games).
svn-id: r31371
2008-04-03 22:15:59 +00:00
Kari Salminen
25ff174193 After further testing it seems Apple IIGS midi playing speed is actually 60 ticks per second. Hurrah!
svn-id: r31367
2008-04-03 18:31:30 +00:00
Kari Salminen
84105227f2 Fix naming of the Apple IIGS midi speed variable and its value (Was erronously named bpm although was really ticks per second rather than ticks per minute).
svn-id: r31366
2008-04-03 18:12:09 +00:00
Kari Salminen
4836c1109c Fix Apple IIGS midi playing speed (Based on tests with Apple IIGS KQ1 and SQ1 under MESS 0.124a)
svn-id: r31365
2008-04-03 14:33:53 +00:00
Kari Salminen
bd8df7afee Add detection entry for Serguei's Destiny II Demo v1.3.1 (March 22nd 2008).
svn-id: r31346
2008-04-01 00:23:39 +00:00
Max Horn
57ad73faee Removed char &operator [] from class String -- it had the potential to wreak havoc when used on shared strings (thanks to tramboi for pointing this out)
svn-id: r31334
2008-03-30 18:37:09 +00:00
Max Horn
770bc64f21 Added FIXME comment regarding sorting of pred.dic; replaced weird binary search code with simple binary search code ;-)
svn-id: r31291
2008-03-28 09:17:13 +00:00
Max Horn
05dd6cee3a Got rid of EncapsulatedADGameDesc
svn-id: r31130
2008-03-15 15:25:49 +00:00
Max Horn
6547ef6e12 Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
svn-id: r31121
2008-03-14 17:31:04 +00:00
Max Horn
8a9a14002e Advanced Detector: Changed fallback detector from a callback function pointer to an overrideable method of AdvancedMetaEngine
svn-id: r31119
2008-03-14 13:59:31 +00:00
Filippos Karapetis
93753d2f3b Fixed some issues with the previous commit, bug #1893564 should be fixed now without affecting anything else
svn-id: r30917
2008-02-22 09:13:27 +00:00
Filippos Karapetis
a7e7dfe122 Fix for bug #1893564 - "AGI: Texts messed out in Naturette 1"
svn-id: r30916
2008-02-22 08:57:18 +00:00
Max Horn
88bb567e18 Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
svn-id: r30871
2008-02-15 17:01:35 +00:00
Kari Salminen
6740541e03 Fix for bug #1883989 (AGI: Jolimie freezes). Game's detection entry had its parameters in wrong order and game feature flags were interpreted as the AGI version number and vice versa... whoops.
svn-id: r30857
2008-02-13 01:33:40 +00:00
Kari Salminen
66418e4283 Tiny fix to autodetected game's naming (Removes an extra space).
svn-id: r30854
2008-02-12 15:31:09 +00:00
Kari Salminen
98f8e93102 Added better AGIPAL autodetect to the AGI's fallback detector (Now checks files 'pal.100' - 'pal.109' rather than just the file 'pal.101').
svn-id: r30852
2008-02-12 15:20:47 +00:00
Jordi Vilalta Prat
c103290e2b Initial support for plugin types
svn-id: r30825
2008-02-08 00:02:23 +00:00
Max Horn
8a73356a2d Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
svn-id: r30780
2008-02-03 18:56:47 +00:00
Torbjörn Andersson
e51bf80218 Changed "COMPATIBLITY" to "COMPATIBILITY".
svn-id: r30754
2008-02-03 10:15:36 +00:00
Max Horn
34b35348be Moved AdvancedMetaEngine to namespace Common
svn-id: r30736
2008-02-02 11:52:04 +00:00
Max Horn
dc979b03cf New MetaEngine class (work in progress to replace the current Engine plugin API with a more object oriented approach)
svn-id: r30726
2008-02-02 00:54:52 +00:00
Kari Salminen
d92dbac672 Fix for bug #1881170 (AGI: palette-related glitches reported). Made AGIPAL use only the lowest 6 bits of each color component (This should be the way the original AGIPAL-hack behaves too).
svn-id: r30708
2008-01-30 01:58:43 +00:00
Kari Salminen
04dda32485 Combined two cases that did the exact same thing (In a switch-clause).
svn-id: r30702
2008-01-29 21:18:33 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Kari Salminen
af4d740757 Fully fix bug #1660424 (KQ4: Zombie bug). The bug also affected room 18 in addition to the room 16 that was already taken care of in revision 30482.
svn-id: r30631
2008-01-25 12:32:38 +00:00
Kari Salminen
3423fc8971 Added detection for fanmade AGI game Enclosure v1.03.
svn-id: r30630
2008-01-24 10:15:01 +00:00
Kari Salminen
b8a455db9b Define and use enumerations for AGI Mouse protocol 1.0's button states.
svn-id: r30620
2008-01-23 00:06:10 +00:00
Kari Salminen
f7a05a6d20 Fixed typo in comment.
svn-id: r30614
2008-01-22 19:45:06 +00:00
Kari Salminen
8d1dd18bda Implements 2 arguments version of the adj.ego.move.to.x.y-command. Should fix bug #1733297 (GR: Actor stuck (Amiga version)). Savegames when using adj.ego.move.to.x.y-command may be broken at the moment.
svn-id: r30602
2008-01-21 21:09:42 +00:00
Paweł Kołodziejski
604d4d96ea fixed potential unitialized variables, one array overflow
svn-id: r30571
2008-01-19 20:00:36 +00:00
Kari Salminen
0bfbd62ce7 Fixed obsolete comment.
svn-id: r30535
2008-01-17 12:21:31 +00:00
Kari Salminen
931b4abe5e Confirmed that the Amiga version of Space Quest II v2.0F using Amiga AGI 2.202 uses value 5 for v20 (i.e. the computer type variable). Thanks to Raziel for the info!
svn-id: r30533
2008-01-17 11:36:54 +00:00
Kari Salminen
5a2440ce1b Fix for isalpha() assertions (Almost identical to revision 29924's fix). Added the rationale for this fix in comments so hopefully this won't happen a third time at the same point in code ;).
svn-id: r30531
2008-01-17 11:16:00 +00:00
Kari Salminen
d6e2e1431c Confirmed that Amiga version of King's Quest III (v1.01 1986-11-08) using Amiga AGI 2.090 uses value 5 for v20 (i.e. the computer type variable). Thanks to Raziel for the info!
svn-id: r30516
2008-01-16 15:19:33 +00:00
Kari Salminen
d167ad4066 Workaround for bug #1660424 (KQ4: Zombie bug) which is a script bug present in the original game.
svn-id: r30482
2008-01-14 17:03:14 +00:00
Kari Salminen
a493647076 Indentation
svn-id: r30478
2008-01-13 23:43:17 +00:00
Filippos Karapetis
05b28340bf Cleanup and simplification
svn-id: r30405
2008-01-11 10:59:43 +00:00
Filippos Karapetis
5a652c9471 Don't show help when the alt or shift keys are pressed
svn-id: r30404
2008-01-11 10:20:31 +00:00
Filippos Karapetis
1603afe632 Cleanup and simplification
svn-id: r30403
2008-01-11 09:52:06 +00:00
Kari Salminen
286a3da49b Remove disabling of moving using mouse in mines in Amiga's Gold Rush introduced in r30375. So bug #1733297 remains although not stricly in its original form (Moving using mouse in the mines bugs still but not identically as when the bug report was given).
svn-id: r30377
2008-01-10 12:40:57 +00:00
Kari Salminen
6b372d97ee Disable moving using mouse in mines (Rooms 147-162) and 'adj.ego.move.to.x.y'-command (Which uses 2 arguments) in Amiga's Gold Rush. This temporary hack fixes bug #1733297 (GR: Actor stuck (Amiga version)).
svn-id: r30375
2008-01-10 12:02:03 +00:00
Filippos Karapetis
6f4acae161 Fixed some issues with AGI keyboard input
svn-id: r30356
2008-01-09 12:59:11 +00:00
Filippos Karapetis
85b3a4a59e Added a debug command, did some cleanup
svn-id: r30351
2008-01-09 10:31:52 +00:00
Filippos Karapetis
b0f2e823e0 Cleanup of the debugger commands, added some more commands, removed now obsolete debug code
svn-id: r30350
2008-01-09 09:46:26 +00:00
Filippos Karapetis
c14d420141 Added a debug console for Mickey's Space Adventures
svn-id: r30349
2008-01-09 09:19:17 +00:00