44740 Commits

Author SHA1 Message Date
dhewg
703af39be5 ANDROID: Add code to dump the EAS stream to a file 2011-03-26 11:11:32 +01:00
dhewg
41762892e0 ANDROID: Fix MIDI packet size
Instruments are now not reset to the grand piano due to trailing
zeroes.
Thanks to waltervn for noticing this.
2011-03-26 11:11:17 +01:00
md5
cc074b013f SCI: Refactored and cleaned up the VM call stack handling code
- Removed the CallsStruct intermediate stack. Calls are inserted directly
in the execution stack
- Added a constructor for the ExecStack struct and removed
add_exec_stack_varselector() and add_exec_stack_entry()
2011-03-26 02:37:10 +02:00
dhewg
68908773ac ANDROID: Use 'our' ASCII codes for special keys
Fixes stuff like enter key on SCI games with text input
2011-03-25 19:52:33 +01:00
dhewg
8eefc1f986 SAGA: Add missing include 2011-03-25 18:10:40 +01:00
Max Horn
6cc0aca5b2 AUDIO: Document issues with semantics of Audio::MidiPlayer::isPlaying() 2011-03-25 17:01:36 +01:00
Max Horn
9e65daef3b SAGA: Change Sage to use Audio::MidiPlayer 2011-03-25 17:00:54 +01:00
Max Horn
baeb28d0e1 QUEEN: Remove leftover class forward declaration 2011-03-25 16:20:43 +01:00
Max Horn
0c09dafdbb Merge branch 'copysavefile' of https://github.com/Littleboy/scummvm into Littleboy-copysavefile 2011-03-25 15:02:33 +01:00
Max Horn
bb6a5c3685 SWORD25: more translated comments from gfx/image (patch #3238507)
Plus some extra white space changes by myself.
2011-03-25 15:00:41 +01:00
dhewg
0e6cdfd675 ANDROID: Experimental MIDI Driver
Based on the SONiVOX® Embedded Audio Synthesis (EAS™) library, which is
part of the base Android OS.

CPU stats (Cortex A8 1GHz, monkey1 intro, peak values):
MAME OPL: 30%
DosBox OPL: 26%
EAS: 19%
2011-03-25 14:43:52 +01:00
Max Horn
7949d7c6de AUDIO: Move more common code to Audio::MidiPlayer
This also should fix some regressions from the previous
commits, related to MidiParser's either being leaked,
or being deleted and then used again (i.e., crashing).

I tested as many games as I had available, but further
testing of all affected engines is called for anyway.
2011-03-25 14:15:53 +01:00
Max Horn
db3802b021 AUDIO: Whitespace fix 2011-03-25 14:15:52 +01:00
Max Horn
f333d93fe8 TINSEL: Remove unused TinselEngine::_musicVolume member 2011-03-25 14:15:52 +01:00
Max Horn
61ff5de0cf AUDIO: Rename 'channel' to 'ch' 2011-03-25 14:15:51 +01:00
Max Horn
9ffc4e0151 PARALLACTION: Move MidiDriver creation into MidiPlayer(_MSC) constructors 2011-03-25 14:15:47 +01:00
Max Horn
6bf4745a1b HUGO: Move MidiDriver creation into MidiPlayer constructor 2011-03-25 14:15:43 +01:00
Max Horn
bd637b4c5c TOUCHE: Move _gmToRol to midi.cpp 2011-03-25 14:14:13 +01:00
Max Horn
00ad039b4c TOUCHE: Change MidiPlayer to derive from Audio::MidiPlayer 2011-03-25 14:14:13 +01:00
md5
10d1a58cb2 SCI: Reordered some functions 2011-03-25 14:09:09 +02:00
md5
d86504ef88 SCI: Cleaned up the BreakpointType enum and documented the bpe command 2011-03-25 13:37:00 +02:00
md5
4ceb4838ed SCI: Cleaned up send_selector()
- Placed all of the associated debug code in a separate function
- Unified debug output
2011-03-25 13:25:38 +02:00
md5
1f5c3a6967 SCI: Extended a workaround for KQ7 to apply in all rooms 2011-03-25 07:42:27 +02:00
md5
c2274e9065 SCI: Make sure that planeOffsetX is always correctly initialized
Fixes several issues with the menu in KQ7. Thanks to vakons for his patch.
Fixes bug #3231867 - "KQ7 scrolling bug"
2011-03-25 07:41:55 +02:00
dhewg
c144bbf957 SCI: Add two TODOs 2011-03-25 00:41:01 +01:00
dhewg
b4a6c89662 ANDROID: Always set the surface properties
Didn't happen on the shortcut, which led to wrong properties and
surface functions scribbling over memory
2011-03-25 00:41:01 +01:00
Littleboy
5a1874e3d9 COMMON: Add SaveFileManager::copySavefile() and update SaveFileManager::renameSavefile() to use it 2011-03-24 18:51:58 -04:00
David-John Willis
b9e4d77ade GPH: Removed some unimplemented and unneeded definitions.
- Thanks to digitall for proving that 2 sets of eyes spot a really simple
   problem much quicker than one set ;).

mount.sh: Fixed some small errors#	../../../../scummvm.gph
2011-03-24 22:43:12 +00:00
David-John Willis
b95013dfe2 OPENPANDORA: Refactor OpenPandora backend and move events and graphics into modular backend style. 2011-03-24 21:24:05 +00:00
David-John Willis
0fb15847c6 SDL/POSIX: Update main guard to add OpenPandora.
- Also mention GPH_DEVICE not each backend on it's own.
2011-03-24 21:24:05 +00:00
David-John Willis
16e28747c7 BACKENDS: Add GPH event and graphics files to the build. 2011-03-24 21:24:05 +00:00
David-John Willis
cf8dcf4549 GPH: Cleanup GPH backend and adapt to newer modular backend model. 2011-03-24 21:24:05 +00:00
David-John Willis
973e3e827e GP2X: Remove incorrect GP2XWiz define from the GP2X event code.
* My plan is to move all of the GPH devices into the GPH backend
  but for now this is just a merge mess from the GSoC-OpenGL branch.
2011-03-24 21:24:04 +00:00
dhewg
19c407ca69 ANDROID: Fix texture double release 2011-03-24 22:04:03 +01:00
D G Turner
bcb9179a8b SCI: Close Memory Leak from kAnimate Calls.
This was due to a missing destructor in the HunkTable.
Thanks to wjp for this patch.
2011-03-24 20:59:20 +00:00
dhewg
e6080087c8 ANDROID: Fix cursor's keycolor
Don't wipe the RGB bits, fixes wrong colors on BASS cursors
2011-03-24 18:56:59 +01:00
dhewg
397fd31a17 ANDROID: Cleanup 2011-03-24 18:56:54 +01:00
Max Horn
62f5c475f3 AUDIO: Expand MidiPlayer docs / goals a bit, mention deadlock bug 2011-03-24 16:49:46 +01:00
Max Horn
9a646cde46 HUGO: Turn FileManager::getBootCypher into a const static variable 2011-03-24 16:46:49 +01:00
Max Horn
06b5432e94 SAGA: Rename some MusicDriver members to match Audio::MidiPlayer 2011-03-24 16:46:48 +01:00
Max Horn
6b797ccb2e QUEEN: Rename some MidiMusic members to match Audio::MidiPlayer 2011-03-24 16:46:48 +01:00
Max Horn
47e347b922 TINSEL: Change MidiMusicPlayer to derive from Audio::MidiPlayer 2011-03-24 16:46:48 +01:00
Max Horn
7cc04f25ff PARALLACTION: Change MidiPlayer impls to derive from Audio::MidiPlayer 2011-03-24 16:46:47 +01:00
Max Horn
84d68f31e8 MADE: Change MusicPlayer to derive from Audio::MidiPlayer 2011-03-24 16:46:47 +01:00
Max Horn
e76a8a8eb6 M4: Change MidiPlayer to derive from Audio::MidiPlayer
Also fix the _driver double delete regression I recently introduced
2011-03-24 16:46:47 +01:00
Max Horn
94e7a231fe HUGO: Change MidiPlayer to derive from Audio::MidiPlayer 2011-03-24 16:46:47 +01:00
Max Horn
4780eb7393 DRACI: Change MusicPlayer to derive from Audio::MidiPlayer 2011-03-24 16:46:46 +01:00
Max Horn
f4b30ecf6e AGI: Change SoundGenMIDI to derive from Audio::MidiPlayer
As a side effect, this fixes the incorrect handling of 'All Note Off'
in SoundGenMIDI::send.
2011-03-24 16:46:46 +01:00
Max Horn
e9570c3a4b AUDIO: Added Audio::MidiPlayer class
This code is currently not complete, but contains enough code to
allow several engines to switch their pseudo MidiDrivers to be
based on this class, greatly reducing code duplication.
2011-03-24 16:46:46 +01:00
Max Horn
2d4dff8cb4 DRACI: Fix incorrect 'all notes off' handling 2011-03-24 16:46:46 +01:00