Gregory Montoir
a3c2c1f413
Since the amiga version handle music very differently than the PC version, the existing Music and MusicPlayer classes have been merged to a single MidiMusic class, simplifying code a bit.
...
svn-id: r26033
2007-03-08 22:15:20 +00:00
Gregory Montoir
77aa551722
only request the user to update the queen.tbl if the game she/he's trying to play really *requires* it.
...
svn-id: r25944
2007-03-02 23:57:37 +00:00
Gregory Montoir
370c07f925
added other code differences for Amiga FOTAQ versions, full game is now completable under ScummVM
...
svn-id: r25941
2007-03-02 23:47:49 +00:00
Gregory Montoir
82adbc025d
some fixes for FOTAQ Amiga versions, cleanup
...
svn-id: r25886
2007-02-26 20:50:33 +00:00
Gregory Montoir
ca597dbf50
reduced code dup, Queen::LineReader -> SeekableReadStream::readLine
...
svn-id: r25871
2007-02-25 22:24:11 +00:00
Gregory Montoir
4af53c56e9
changed all hard-coded filenames to uppercase, for consistency
...
svn-id: r25862
2007-02-25 19:10:59 +00:00
Gregory Montoir
c5f5583ded
added AmigaSound::playRandomPatternJungle, minor cleanup
...
svn-id: r25860
2007-02-25 19:01:59 +00:00
Gregory Montoir
11e679845d
some fixes and additions for FOTAQ amiga versions
...
svn-id: r25825
2007-02-24 18:39:08 +00:00
Gregory Montoir
4fbca85aef
indentation
...
svn-id: r25787
2007-02-22 12:25:30 +00:00
Gregory Montoir
f2df410660
setup default colors for Amiga versions
...
svn-id: r25786
2007-02-22 12:20:56 +00:00
Gregory Montoir
eec3543c7d
some fixes with resource files handling for Amiga versions
...
svn-id: r25785
2007-02-22 12:12:45 +00:00
Gregory Montoir
948630c3b4
added initial support for FOTAQ amiga versions
...
svn-id: r25769
2007-02-21 20:27:48 +00:00
Max Horn
cc210d7512
cleanup
...
svn-id: r25753
2007-02-20 19:23:07 +00:00
Gregory Montoir
18cab2cc65
added basic support for playing FOTAQ amiga modules files (rjp1) instead of MIDI (code is currently #ifdef'ed out).
...
svn-id: r25707
2007-02-18 21:46:40 +00:00
Max Horn
b8aeefaffb
Added finalize() method to Common::OutSaveFile (which by default just flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing)
...
svn-id: r25660
2007-02-17 18:55:51 +00:00
Gregory Montoir
1ce912e106
made rtrim() and ltrim() global functions, to reduce code duplication (it seems parallaction/parser.cpp code re-use them too
...
svn-id: r25564
2007-02-13 21:06:57 +00:00
Gregory Montoir
7fa8e652a0
added missing MKID_BE macros
...
svn-id: r25560
2007-02-13 20:58:20 +00:00
Max Horn
cb49cbdd45
* Reimplemented Mixer::pauseAll to simply invoke pause on all channels
...
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer
svn-id: r25356
2007-02-03 19:05:53 +00:00
Eugene Sandulenko
cd8a5f3a98
First phase of detection-related plugins interface improvements. Now plugins
...
return StringMap instead of fixed list of parameters. This adds great
flexibility.
Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.
svn-id: r25134
2007-01-20 21:27:57 +00:00
Torbjörn Andersson
35b712e1ea
Fixed compile error in FLAC sound support. I haven't tested this.
...
svn-id: r24784
2006-11-24 18:50:21 +00:00
Gregory Montoir
28be8164ac
simplification, removed some duplicated code
...
svn-id: r24783
2006-11-24 18:37:43 +00:00
Gregory Montoir
d4f61e6ee9
loadFile isn't called with useMalloc=true anymore, got rid of it
...
svn-id: r24782
2006-11-24 18:24:45 +00:00
Gregory Montoir
d47d545631
Fix for bug #1599393 - FOTAQ: clicks at the beginning of speech. English talkie version (and probably others) has 2 different .SB file formats, with a different size for the header data. Added code to detect that.
...
svn-id: r24775
2006-11-23 22:10:25 +00:00
Gregory Montoir
55da3104cc
workaround bug #1599009
...
svn-id: r24743
2006-11-19 02:02:41 +00:00
Torbjörn Andersson
2d8bd1add3
Reverted previous commit to keep FotAQ from crashing. The LineReader class
...
already frees the buffer when it's done with it.
svn-id: r24717
2006-11-13 23:38:44 +00:00
Gregory Montoir
d992c66b29
once parsed, queen2.jas buffer can be free'd.
...
svn-id: r24694
2006-11-12 17:51:39 +00:00
Gregory Montoir
701b803aff
cleanup
...
svn-id: r24693
2006-11-12 17:47:16 +00:00
Gregory Montoir
5a902f8f7a
rewrote FOTAQ game version detection code in a - if I didn't break anything - better way (no more duplicated code, more accurate game description in the launcher...)
...
svn-id: r24598
2006-11-04 12:00:31 +00:00
Gregory Montoir
d5608e82ed
cleanup (got rid of the custom Language enum, re-used the one in the Common namespace)
...
svn-id: r24595
2006-11-03 22:36:05 +00:00
Max Horn
4c14cf6d1a
Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
...
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
651d22b873
* Added virtual Engine::getDebugger() method
...
* Removed code from errorString() methods that hooked the debugger(s)
into error(), in favor of using getDebugger() from within error()
* As a consequence, removed most custom errorString() methods
svn-id: r23894
2006-09-16 19:31:23 +00:00
Max Horn
919092e5fc
Overhaul of the debugger code
...
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
restrictions)
* Change the base Debugger class to *not* be a template class anymore;
instead, a thin (template based) wrapper class is used to hook up
debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore
svn-id: r23890
2006-09-16 16:58:27 +00:00
Max Horn
4a80db4c7b
* Added copyright string to all engine plugins
...
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)
svn-id: r23645
2006-07-31 13:41:21 +00:00
Torbjörn Andersson
c32076e5d0
Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
...
for consistency with other #includes.
svn-id: r23585
2006-07-23 16:13:26 +00:00
Max Horn
2859b64702
Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
...
svn-id: r23569
2006-07-22 17:28:48 +00:00
Johannes Schickel
cfd9977425
Using FilesystemNode::name instead of FilesystemNode::displayName in all game detectors.
...
svn-id: r23558
2006-07-22 14:50:50 +00:00
Max Horn
f59cf1fcdc
Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
...
svn-id: r23547
2006-07-21 21:25:17 +00:00
Max Horn
f35f4a4d1c
Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
...
svn-id: r23458
2006-07-09 13:01:15 +00:00
Max Horn
eaff9344a4
Added OSystem::setFocusRectangle (first part of Nintendo DS patch)
...
svn-id: r23449
2006-07-09 09:40:44 +00:00
Max Horn
9a955180a4
* Renamed config.mak to config.mk
...
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)
svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn
d210b19aec
Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
...
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)
svn-id: r23274
2006-06-24 08:07:48 +00:00
Torbjörn Andersson
ecfedb1e81
Cleanup. It seems unnecessary to have a "break" right after an unconditional
...
return in a switch case.
svn-id: r23198
2006-06-20 18:55:25 +00:00
Kostas Nakos
4adb798232
fix CE port
...
svn-id: r23018
2006-06-10 22:26:46 +00:00
Gregory Montoir
4bdef42007
Workaround bug #1497280 .
...
svn-id: r22785
2006-05-30 20:46:11 +00:00
Torbjörn Andersson
8062eb6ec3
Set and show/hide mouse cursors through a "cursor manager" (analogous to the
...
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.
If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?
svn-id: r22639
2006-05-25 22:51:42 +00:00
Max Horn
0d6362ea48
Patch #1091170 : ALL, SCUMM: Subtitle speed control
...
svn-id: r22456
2006-05-13 17:30:04 +00:00
Max Horn
b727a89b6c
Set speech_mute/sfx_mute/music_mute values in one single central place
...
svn-id: r22342
2006-05-04 21:14:50 +00:00
Max Horn
27307acd7c
Moved the AudioCDManager as well as class AudioStream and its (standard) subclasses to namespace Audio
...
svn-id: r22231
2006-04-29 22:33:31 +00:00
Max Horn
bf73598811
* Changed the createEngine() factory function of our plugins to return an error code (the engine is now passed indirectly via a double pointer)
...
* Removed Engine_Empty (obsolete now that engines can return actual error codes)
svn-id: r22199
2006-04-29 00:27:20 +00:00
Torbjörn Andersson
614fc253a9
Moved updateScreen() into delay() for smoother mouse cursor movement. This may
...
possibly make some other calls to updateScreen() unnecessary, but it's the
backend's responsibility to ignore unnecessary calls.
svn-id: r21994
2006-04-17 23:55:42 +00:00