aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
AgeCommit message (Collapse)Author
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
2006-04-01Patch #1432378: BASS: Memory leak, patch includedMax Horn
svn-id: r21523
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-26Added support for mouse wheel scrolling in save/restore dialog.Torbjörn Andersson
svn-id: r21459
2006-03-09- Renamed GameSettings to PlainGameDescriptorMax Horn
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with Common::String members instead of const char * ones) - Changed DetectedGame to subclass GameDescriptor - Removed toGameSettings() in favor of new (template) constructors in DetectedGame and GameDescriptor - Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines svn-id: r21150
2006-03-08Fixed tons of format string warnings for debug/error calls (including ↵Max Horn
several errors where the format string didn't match the number of arguments to the call) svn-id: r21141
2006-03-02Fix for bug #1438822 (Targets are case sensitive)Max Horn
svn-id: r21017
2006-02-18- renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistencyMax Horn
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency - added new Engine_XXX_findGameID / PLUGIN_findGameID function - updated plugins code to take advantage of the new plugin API, to support obsolete gameids w/o showing them to the user svn-id: r20752
2006-02-18- Removed the 'features' field from GameSettingsMax Horn
- Removed GF_DEFAULT_TO_1X_SCALER svn-id: r20747
2006-02-17Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to ↵Max Horn
Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly svn-id: r20738
2006-02-12The GameDetector is no longer a required parameter for Engine constructorsMax Horn
svn-id: r20590
2006-02-12Reduced data duplication in module.mk files; added module.mk files for null ↵Max Horn
and x11 backends; added engines/module.mk svn-id: r20584
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582