Commit Graph

78 Commits

Author SHA1 Message Date
Gregory Montoir
38eab5c5df Re-introduced Input::getMousePos and removed g_system-
svn-id: r26372
2007-04-02 19:12:17 +00:00
Gregory Montoir
20ec8d2d34 This should make the game match the original DOS version speed.
svn-id: r26371
2007-04-02 18:59:00 +00:00
Gregory Montoir
a1d9bcd923 enabled music volume changes in Amiga version
svn-id: r26265
2007-03-20 23:24:54 +00:00
Max Horn
b44d93d068 QUEEN: Make use of EventManager::getMousePos
svn-id: r26224
2007-03-18 18:55:11 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn
15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Gregory Montoir
00bb66d60d minor simplification
svn-id: r26150
2007-03-16 22:34:59 +00:00
Gregory Montoir
00e85d9f57 fixed volume slidebar display in journal, removed unused var
svn-id: r26149
2007-03-16 22:28:25 +00:00
Eugene Sandulenko
9b0bf64448 Silence MSVC8 warnings.
svn-id: r26062
2007-03-10 15:02:39 +00:00
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