aboutsummaryrefslogtreecommitdiff
path: root/engines/sky/control.cpp
AgeCommit message (Collapse)Author
2014-02-18SKY: Make GPL headers consistent in themselves.Johannes Schickel
2012-03-30SKY: Minor formatting fix.D G Turner
2012-03-28SKY: Allow game to be loaded from main menu dialog while in-game control ↵Eric Culp
panel is open. Fixes bug #3448294
2012-02-21Merge pull request #182 from fingolfin/forbid-ctypeWillem Jan Palenstijn
ALL: Avoid using is* macros from ctype.h
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2012-02-13BASS: Reduce code duplication in autosave codeWillem Jan Palenstijn
2012-02-13BASS: Fix savegame corruptionWillem Jan Palenstijn
When using the GMM or autosaves, _savedMouse and _savedCharSet were never set. See bug #3487117.
2012-02-13BASS: Report savegame errors when saving by pressing enterWillem Jan Palenstijn
This makes error handling consistent between mouse and keyboard.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-14ALL: colour -> colorMax Horn
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-07-03Added more GCC_PRINTF attributes, and fixed resulting warnings in format stringsMax Horn
svn-id: r42054
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-19COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵Max Horn
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725
2009-03-06cleanupJoost Peters
svn-id: r39147
2009-02-13Formatting changes / consistencyJoost Peters
svn-id: r36304
2009-01-30Avoid using g_engine if possibleMax Horn
svn-id: r36149
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-08-13Fixed some memory leaksChristopher Page
svn-id: r33846
2008-08-04Merged revisions ↵Christopher Page
33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33624
2008-08-03Fixed bug that prevented upper-case letters from being used in savegame names.Torbjörn Andersson
Apparently, strchr(..., 0) will find the string terminator - at least for me - and when that's added to the name, it will terminate the string. svn-id: r33565
2008-07-13SKY works with the new GMM implementation, also updated gui/newgui.cpp and ↵Christopher Page
prevented pushEvent from pushing more than one EVENT_QUIT into the artificialEventQueue svn-id: r33041
2008-06-25Scumm and sky now use the new _quit flagChristopher Page
svn-id: r32775
2008-02-27Add support for --list-saves to the sky engineMax Horn
svn-id: r30987
2008-02-27Modified the BASS save/load code to use a StringList for storing the save ↵Max Horn
state titles (simplified the code, removed some cruft) svn-id: r30986
2008-02-27Simplified Control::handleKeyPress and fixed a long-standing bug in the ↵Max Horn
verification of the save name svn-id: r30981
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2007-12-28Patch #1857121: Refactoring of the getSavePath methodEugene Sandulenko
svn-id: r30032
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-22Converted BASS to use Common::KeyStateMax Horn
svn-id: r27635
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-03-22Fixed long-standing font bug. We were using the control panel font for LINCTorbjörn Andersson
space and terminals, and the LINC font for the control panel. Since these fonts contain different sets of characters, this would often cause the wrong character to be displayed, particularly in non-English languages. This also explains why we had to use the "wrong" font for the control panel recently. The functions to patch the LINC character set (actually the control character set) should no longer be needed, and have been removed. Should fix bug #1669564. svn-id: r26275
2007-03-18Fixed control panel sliders.Torbjörn Andersson
svn-id: r26209
2007-03-18Applied eriktorbjorn's patch for bug #1657466:Robert Göffringmann
"BASS: wrong music slider behavior" and did some cleanup. svn-id: r26208
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
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-17SKY: Changed Control class to use event manager for mouse coord tracking, ↵Max Horn
and also made it respect the SF_MOUSE_LOCKED flag svn-id: r26177
2007-03-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-03-14Fixed bug #1507835 (BASS: Control panel text differences from the original)Max Horn
svn-id: r26136
2007-03-14Fix for bug #1656880 (BASS: mouse initialized wrong in control panel)Max Horn
svn-id: r26130
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-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
2006-07-14More whitespace changes.Torbjörn Andersson
svn-id: r23496
2006-06-21Initialise the control panel's _mouseX / _mouseY. Fixes a Valgrind warning.Torbjörn Andersson
svn-id: r23212