aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
AgeCommit message (Collapse)Author
2007-03-14Fix for bug #1656880 (BASS: mouse initialized wrong in control panel)Max Horn
svn-id: r26130
2007-03-10fix warningMax Horn
svn-id: r26073
2007-03-10Let the mixer worry about converting mono to stereo.Torbjörn Andersson
svn-id: r26065
2007-02-26Close sky.dnr directly after reading it into memory. No need to keep it openTorbjörn Andersson
until the Disk object is deleted. svn-id: r25889
2007-02-20Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by meMax Horn
svn-id: r25752
2007-02-20More header fixes for that warm and fuzzy feeling of consistency.Torbjörn Andersson
svn-id: r25749
2007-02-17Added finalize() method to Common::OutSaveFile (which by default just ↵Max Horn
flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing) svn-id: r25660
2007-02-16Some very obvious cleanups.Torbjörn Andersson
svn-id: r25635
2007-02-16Unified how we deal with (and how we generate) MIDI sysex messages -- in ↵Max Horn
particular, we now always do so w/o framing the message (documented this with a Doxygen comment in the MidiDriver class) svn-id: r25630
2007-02-10Patch #1656801 (BASS: various control panel fixes), which fixes bug #1548779 ↵Max Horn
(BASS: Control panel inconsistency for FX/Music button texts) svn-id: r25473
2007-02-07Patch #1543932: BASS: Missing music volume text in v303 french menuMax Horn
svn-id: r25413
2007-02-03Fixing various doxygen warningsMax Horn
svn-id: r25362
2007-02-03* Reimplemented Mixer::pauseAll to simply invoke pause on all channelsMax Horn
(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-01-20First phase of detection-related plugins interface improvements. Now pluginsEugene Sandulenko
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
2006-10-15Added some more const keywordsMax Horn
svn-id: r24330
2006-10-08commit "fixed regression in BASS adlib music." from 0-9-0 branch to trunkJoost Peters
svn-id: r24204
2006-10-02Improved the BASS detector a bitMax Horn
svn-id: r24084
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-09-16* Added virtual Engine::getDebugger() methodMax Horn
* 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-16Overhaul of the debugger codeMax Horn
* 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-08-16Apply patch #1534805 ("BASS: Linc font too wide in version 303")Joost Peters
svn-id: r23714
2006-07-31* Added copyright string to all engine pluginsMax Horn
* 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-23Use #include "..." instead of #include <...> for pack-start.h and pack-end.hTorbjörn Andersson
for consistency with other #includes. svn-id: r23585
2006-07-22Fix struct packing issues (macros are not resolve in #pragma params, at ↵Max Horn
least for GCC) svn-id: r23569
2006-07-22Using FilesystemNode::name instead of FilesystemNode::displayName in all ↵Johannes Schickel
game detectors. svn-id: r23558
2006-07-21Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS ↵Max Horn
now (hiya eriktorbjorn, this one is for you *ggg*) svn-id: r23547
2006-07-14More whitespace changes.Torbjörn Andersson
svn-id: r23496
2006-07-09Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of ↵Max Horn
checking for GCC / not GCC svn-id: r23458
2006-07-09Added OSystem::setFocusRectangle (first part of Nintendo DS patch)Max Horn
svn-id: r23449
2006-06-24* Renamed config.mak to config.mkMax Horn
* 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-24Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cppMax Horn
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-21Match the original behaviour more closely when examining inventory items. TheTorbjörn Andersson
text is displayed at least 800 ms. See bug #1181865. svn-id: r23233
2006-06-21Add eriktorbjorn's patch for bug #1507757 - BASS: Odd press sound at beginningTravis Howell
svn-id: r23219
2006-06-21Initialise the control panel's _mouseX / _mouseY. Fixes a Valgrind warning.Torbjörn Andersson
svn-id: r23212
2006-06-17The stopMusic() function (which is publicly accessable from the outside) nowTorbjörn Andersson
locks the mutex to avoid pulling the proverbial rug out from beneath the timer callback's proverbial feet. To stop the music when the mutex is already locked, we use stopMusicInternal(), which is a protected function. This will hopefully fix the crash on exit which has happened to me every few months. svn-id: r23159
2006-05-25Set and show/hide mouse cursors through a "cursor manager" (analogous to theTorbjörn Andersson
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-01It's wrong to assume a given file is located in gameDataPath, so do not use ↵Max Horn
that to print out warnings that pretend otherwise svn-id: r22272
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-29Fixed bug #1478911 ("BASS regression: garbled text") by making skipBytes uint16Torbjörn Andersson
instead of uint8. (It used to be uint32, but anything that can hold 0x03F8 should be large enough.) svn-id: r22230
2006-04-29* Changed the createEngine() factory function of our plugins to return an ↵Max Horn
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-26add missing comma for portuguese quit text, remove stray comma after last ↵Joost Peters
string. svn-id: r22187
2006-04-26Do not call static class methods as if they were instance methodsMax Horn
svn-id: r22172
2006-04-16Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have ↵Max Horn
new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch) svn-id: r21951
2006-04-16Do not override the 'directory' param when dumping BASS resourcesMax Horn
svn-id: r21936
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
new getActiveDomain method that returns a pointer to the actual active *domain* - Added Engine::_targetName whose value is computed from the name of the active domain - Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain - This in turn allowed for removing usage of GameDetector in many places svn-id: r21916
2006-04-12Fixing mismatch between format strings and data on some systemsMax Horn
svn-id: r21828
2006-04-12sizeof(void *) != sizeof(int) for a large number of systems.Jonathan Gray
Fix a lot of debug/error statements that were using %d/%x for the result of pointer arithmetic. As C++ apparently has no format string for ptrdiff_t use %lu/%lx as appropriate. svn-id: r21824
2006-04-08Modified the REGISTER_PLUGIN macro so that it allows (and requires) a ↵Max Horn
trailing semicolon (this helps certain tools to parse our code better) svn-id: r21689
2006-04-04Removed extra exclamation marks in warning() calls as well.Eugene Sandulenko
svn-id: r21608
2006-04-04Since our debug() adds an exclamation mark at the message end, removeEugene Sandulenko
it in several calls to avoid duplication!!11! svn-id: r21607