Commit Graph
86814 Commits
Author SHA1 Message Date
Tobias Gunkel 6b5abf6919 SCUMM: selecting inventory objects and inventory scrolling works again 2012-02-11 08:28:16 +01:00
Tobias Gunkel 1c32000a00 SCUMM: start handling object type and id correctly in mm c64
- removed complicated and unnecessary _v0ObjectIndex, _v0ObjectInInventory, _v0ObjectFlag vars
- started to merge object id and type into one object value (type<<8|id)
- verb preposition ids do not dependent on language -> remove from VerbSettings

Note:
- objects with type=0 are foreground objects. They have a state, an owner and a bg overlay image.
- objects with type=1 are bg objects. They do not have a state or owner and are already contained in the bg image. The do not have an entry in objectState/OwnerTable
2012-02-11 08:28:14 +01:00
Tobias Gunkel c69a52853c SCUMM: remove unneeded verbPrep() calls 2012-02-11 08:28:13 +01:00
Tobias Gunkel a709a42319 SCUMM: fix ScummEngine_v0::o_stopCurrentScript() 2012-02-11 08:02:34 +01:00
Tobias Gunkel a79f224c23 SCUMM: changed handling of _activeInventory/_activeActor to _activeObject(2)/_activeObject(2)Type
Note: the transition is not completed yet. The code compiles but is probably not runnable as not every occurrence of _activeInventory has been properly replaced.
The usage of _v0ObjectIndex and _v0ObjectInInventory should be revised too and both variables should be replaced by another mechanism (maybe by using a single variable "obj = (type << 8) | id").

- moved v0 only vars _activeInventory, _activeObject, _activeVerb from  ScummEngine_v2 to ScummEngine_v0
- removed _activeActor, _activeInvExecute, _activeObject2Inv and _activeInventory. They are handled by _activeObject/_activeObjectType and _activeObject2/_activeObject2Type now.
- removed _activeObject(2)Index as they only bloat the code without any benefit (?)
- merge prep-name tables from ScummEngine_v2::drawPreposition() and ScummEngine_v0::drawSentenceWord() by introducing ScummEngine_v2::drawPreposition()
- rename ObjectData.flags -> obj_type (quick-fix only, needs review! Maybe obj_nr and obj_type can be merged into one var: obj_nr = (obj_type << 8) | obj_nr)
- o_unknown2 is negation of o_ifActiveObject (o_ifNotEqualActiveObject2)
- renamed o_ifActiveObject -> o_ifEqualActiveObject2 as it acts only on _activeObject2
- renamed ScummEngine_v0::drawSentenceWord() -> ScummEngine_v0::getObjectName()
2012-02-11 08:02:32 +01:00
Tobias Gunkel c9ae5f3838 SCUMM: Fix pickupObject() 2012-02-11 08:02:30 +01:00
Tobias Gunkel 3e2012483d SCUMM: make verbs working better 2012-02-11 08:02:29 +01:00
Tobias Gunkel 1e7ea7f95e SCUMM: Fix bug with tracker ID 3072094
MANIAC C64: Bug while getting the stamps from the parcel - ID: 3072094
MMC64: use stamps with envelope - ID: 3095595
2012-02-11 08:02:27 +01:00
Tobias Gunkel 05f853edd7 SCUMM: Fix meteor actor index
- Now the correct actor name is shown with "give ... to meteor". Formerly the name was "".
- Add actor names that do not have a string assigned
2012-02-11 08:02:25 +01:00
Tobias Gunkel 2acd5a8239 SCUMM: Fix sound playback if fast-mode is on
Sounds are played that fast in fast-mode that the queue gets stuck.
This is just a workaround and only fixes the symptoms. Check the queue handling for a correct fix.
2012-02-11 08:02:23 +01:00
Tarek Soliman edc5249772 JANITORIAL: Fix template definition whitespace 2012-02-10 21:17:27 -06:00
Eugene Sandulenko 0deea6fbf8 Merge pull request #177 from BenCastricum/5db023646a8c685469bfe9dc551a282f8240ae04
SCUMM: Use regular detection algorithms for FMTOWNS demos.
2012-02-10 03:46:50 -08:00
Eugene Sandulenko 40b6b3a3af MT32: Turn off accurate WG as suggested by KingGuppy 2012-02-10 13:16:27 +02:00
Strangerke 3f6f814c6a TSAGE: R2R - Fix error in scene 1337
Thanks to LordHoto for reporting it
2012-02-10 07:12:11 +01:00
Strangerke 9e6e286db7 TSAGE: R2R - Fix glitch in scene 180
Thanks to LordHoto for reporting it
2012-02-10 07:11:20 +01:00
Johannes Schickel 1adc7f0bdd BASE: Remove unneeded code in PluginManagerUncached.
Thanks to Yotam for confirming that this isn't needed anymore.
2012-02-10 01:45:16 +01:00
Johannes Schickel 9cf2fae53a NEWS: Mention TrueType font support. 2012-02-10 01:41:17 +01:00
Johannes Schickel 6b16fe9423 TSAGE: Fix compilation by passing non-POD via pointer through "...".
The other uses seem to pass Common::Point via a pointer to the object too,
so this seems fine to do here too.
2012-02-09 23:10:12 +01:00
Willem Jan Palenstijn 0864edea54 MT32: Fix warning
The workaround for the unused parameter warning caused a warning:
parameter 'patchNum' set but not used
2012-02-09 23:07:58 +01:00
Strangerke 4b2938c9d0 TSAGE: R2R - Very preliminary implementation of scene 1337 2012-02-09 22:59:33 +01:00
Bastien Bouclet 3becde4d1a GRAPHICS: Switch to integer based JPEG IDCT
Based on public domain code, and explanations from :
http://halicery.com/jpeg/idct.html
Thanks.
2012-02-09 16:10:51 +01:00
Bastien Bouclet de0425c7e2 GRAPHICS: Add support for JPEG files using a restart interval
Patch by Scott and clone2727
2012-02-09 16:10:51 +01:00
Bastien Bouclet 577635acf2 AUDIO: Add support for RAW PCM wave stream with an incomplete packet
The last incomplete packet is ignored
2012-02-09 16:10:50 +01:00
Bastien Bouclet 9d85382c15 VIDEO: Fix the BINK decoder to play file whose width is 24px
See https://ffmpeg.org/trac/ffmpeg/ticket/962
2012-02-09 16:10:47 +01:00
Eugene Sandulenko 734b1e738e NEWS: Mention MT-32 emu update 2012-02-09 15:18:15 +02:00
Eugene Sandulenko 377f140c1d NEWS: Slight formatting fix 2012-02-09 15:17:07 +02:00
Eugene Sandulenko 22ea849cad MT32: Hooked up ScummVM MIDI gain 2012-02-09 11:31:09 +02:00
Eugene Sandulenko 030e155eeb MT32: Update MT-32 emulator to latest Munt code
Several changes against original code were made. They were intentionally
kept to the minimum
2012-02-09 11:31:03 +02:00
Tarek Soliman 06b5299461 KEYMAPPER: Fix re-selecting the top keymap
Re-selecting the top entry would always populate the actions
from the GUI keymap since it is the active keymap (the remap
dialog itself is GUI)

The top keymap was correct during RemapDialog::open() because
the gui keymap had not been pushed to the stack yet.
2012-02-09 02:49:21 -06:00
Tarek Soliman 38dea529e8 KEYMAPPER: Display active keymap stack in remap dialog popup list
This should make it clear what keymaps are on the stack and in
what order.

Also renamed the label of the top "special" entry in the list to
"(Effective)" since it displays the top keymap's action and also
displays reachable mapped actions from other active keymaps.
2012-02-09 02:15:35 -06:00
D G Turner 0d6b4df014 DREAMWEB: Remove uneeded duplicate function "printUnderMon". 2012-02-08 17:18:35 +00:00
Alyssa Milburn b9a93f354b Revert "SKY: Map the floppy intro track."
This reverts commit 0599145ecf.
This mapping was incorrect, 503 is the outro.
2012-02-07 13:20:50 +01:00
Paul Gilbert 2855735e1f TSAGE: Properly de-select inventory buttons when mouse has moved off before mouse is released.
This fixes bug #3484777.
2012-02-06 22:03:10 +11:00
Paul Gilbert e81d1848d1 TSAGE: Add detection entry for Blue Force Spanish CD 2012-02-06 21:42:58 +11:00
Tarek Soliman 9de279b2ab KEYMAPPER: Fix active keymap name displayed in remap dialog
This workaround no longer applies and is in fact causing a bug
in the name of active keymap
2012-02-05 19:01:51 -06:00
Thierry Crozat 08a6acf91c Doc: Update Czech README from patch #3482817 2012-02-05 21:34:24 +00:00
Paul Gilbert 4a806d885a TSAGE: Clean up the dead code introduced for R2R 2012-02-05 20:40:03 +11:00
Paul Gilbert 45e61b985c TSAGE: Fix problem with scrolling wide scenes. 2012-02-05 20:31:56 +11:00
Tarek Soliman 07f1d33ef7 KEYMAPPER: Fix annoying debug message 2012-02-04 20:47:12 -06:00
Paul Gilbert 27360d2071 TSAGE: Initial implementation of R2R Scene 180 2012-02-05 13:20:18 +11:00
Tarek Soliman da4b03139d KEYMAPPER: Added Toggle FullScreen action 2012-02-04 19:53:57 -06:00
Willem Jan Palenstijn e8ef680400 TOUCHE: Add two missing accented letters to Spanish charset.
The A-acute, I-acute, O-acute and U-acute seem to be missing from the font,
and are now all remapped to their unaccented ASCII variants. I and A
were added by 303333352a, and this patch adds O and U.
This is assuming the CP850 encoding, which is not entirely verified.

See bugs #2040311 and #3483383.
2012-02-04 22:20:58 +01:00
Alyssa Milburn 9f8520fb81 QUEEN: Fix clicking at the pinnacle.
Check where the click was *before* scrolling the view, so that
it works with a touchscreen. Also, check shouldQuit() here.
2012-02-04 19:49:52 +01:00
Tarek Soliman 38b8e09069 MAEMO: Add detection entry for the Nokia 700 running OS2008HE
This allows the Nokia 770 running OS2008HE to be used.
Fixes bug#3483921 "Volume rocker do no emulate keypress as it used"
2012-02-04 12:03:22 -06:00
Willem Jan Palenstijn 6fed44298e TOUCHE: Add charset debug channel
This is intended to help debug the missing Spanish characters reported
in #2040311 and #3483383.
2012-02-04 14:13:26 +01:00
Johannes Schickel 8b172f0cef GUI: Put bitmap items in the on-screen draw queue when doing buffering.
This fixes bug #3482461 "GUI: X image on clear buttons might be vanishing".

I am afraid I can't really tell why this fixes the bug though.

This is a backport of a small part of MaximRussia's changes to the queueing
code. So thanks to him for this fix.
2012-02-03 19:15:09 +01:00
Alyssa Milburn 4763b2c51b ANDROID: Add faked input delay.
This adds an artificial delay for mouse up events to make engines
like Gob work, similar to the iPhone fix in b3062b5e.
2012-02-03 12:36:03 +01:00
Tarek Soliman a488556dcd KEYMAPPER: Handle EVENT_MAINMENU directly 2012-02-02 19:10:01 -06:00
Tarek Soliman 70d94bdd2c KEYMAPPER: Allow simple events to be added to an Action
This also simplifies the Action code a little bit
2012-02-02 19:05:05 -06:00
Tarek Soliman 718e106a31 COMMON: Fix comment typo 2012-02-02 18:10:08 -06:00