aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/surface.cpp
AgeCommit message (Collapse)Author
2012-06-30LURE: Fix engine crash in copy protection screen with AZERTY keyboardThierry Crozat
Fixes bug #3539031 - "LURE: Crash at Copy Protection Screen". This reverts the previous fix which only worked for QWERTY keyboards and made the issue worse for AZERTY keyboards. It now uses the ASCII code instead of the keycode for the sanity check.
2012-06-29LURE: Fix engine crash in copy protection screen.D G Turner
Fixes bug #3539031 - "LURE: Crash at Copy Protection Screen". Previously, the code didn't prevent keyboard events with modifiers being used. Since the ascii values for these were outside the 0-9 numeric range, this resulted in an invalid frame number being used and thus the engine aborted at an asertion.
2012-03-13JANITORIAL: Simply use *x instead of *x.get() on smart pointers.Christoph Mallon
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-14ALL: colour -> colorMax Horn
2010-03-30Fix for Lure memory error indicated by Valgrind on Restart/Restore Screen ↵David Turner
(Temptress over Castle). This screen is displayed if you lose the fight with the Skorl in the Dragon Caves etc. This fix should be reviewed and then backported to v1.1.0 branch. svn-id: r48421
2010-01-19LURE: Remove evil 'using namespace' from header filesMax Horn
svn-id: r47396
2009-10-09Some const correctness changes; cleanupMax Horn
svn-id: r44850
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-09-24Reverted my commit #44290 - apparently, it was a bad idea, as g_engine is a hackFilippos Karapetis
svn-id: r44311
2009-09-24Changed some references from LureEngine to the global g_engine (e.g. calls ↵Filippos Karapetis
to shouldQuit()), to minimize places where LureEngine is referenced svn-id: r44290
2009-08-24Switched LURE to use a single central RandomSource instance, instead of ↵Johannes Schickel
(sometimes) creating a new RandomSource every function call. svn-id: r43715
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-07-10Lure works with the new GMM implementationChristopher Page
svn-id: r32996
2008-06-25Kyra and Lure are now using the new _quit flagChristopher Page
svn-id: r32772
2008-04-06Replaced ManagedList with Common::SharedPtr in the rest of the lure engineFilippos Karapetis
svn-id: r31420
2008-04-02Changed spaces to tabs.Torbjörn Andersson
svn-id: r31362
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-19fixed potential unitialized variablePaweł Kołodziejski
svn-id: r30574
2008-01-18Enhanced Surface::writeSubstring to crop any string that exceeds the width ↵Paul Gilbert
of the surface - this fixes a visual glitch in the German version where some lines were so long they were exceeding the size of the screen svn-id: r30547
2008-01-17Bugfix for the position and size of the copy protection dialog instructions ↵Paul Gilbert
in the German version svn-id: r30524
2008-01-06Fix to show talk dialogs in EGA mode using the EGA palettePaul Gilbert
svn-id: r30286
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2008-01-05Made standard EGA background colour a constantPaul Gilbert
svn-id: r30233
2008-01-05Added extra handling for EGA dialogs, and added formalised ↵Paul Gilbert
parameters/methods for text positioning svn-id: r30226
2008-01-02Room backgrounds now display in EGA modePaul Gilbert
svn-id: r30138
2007-12-29Added support for using scroll wheel for making selections in the ↵Paul Gilbert
Save/Restore dialog and action lists svn-id: r30070
2007-12-29Added mouse scrolling support to action menus and the save/restore dialogPaul Gilbert
svn-id: r30065
2007-12-28Bugfix for string decoding to use the article of the destination character ↵Paul Gilbert
rather than the talking character svn-id: r30036
2007-12-19Bugfix for correctly handling \n characters in WordWrap methodPaul Gilbert
svn-id: r29903
2007-12-18Bugfix for font sizes indexing - dereferencing a character > 128 was giving ↵Paul Gilbert
a negative index svn-id: r29900
2007-12-17Added extra debug statements to the talk dialog display processPaul Gilbert
svn-id: r29894
2007-12-16use the virtual keyboard facilities if available, when neededKostas Nakos
svn-id: r29882
2007-12-12Dynamic fix for several incorrect accented characters in the Italian versionPaul Gilbert
svn-id: r29836
2007-12-12Bugfix to return correct article indexesPaul Gilbert
svn-id: r29835
2007-12-12Redeveloped the processing of language item article prefixes to match how ↵Paul Gilbert
the original handles the various languages svn-id: r29833
2007-12-10Changed over warning messages for save/load errors from the debug console to ↵Paul Gilbert
their own dialog svn-id: r29814
2007-12-09Added extra debug statementsPaul Gilbert
svn-id: r29774
2007-12-09Added new debug category for string handlingPaul Gilbert
svn-id: r29772
2007-12-08Added some missing deletes of temporary objectsPaul Gilbert
svn-id: r29762
2007-12-02Modified the loadScreen method to accommodate some screens decoding to a ↵Paul Gilbert
single byte more than the actual screen size svn-id: r29691
2007-12-02Enhanced savegames to store any active dialog when the game was savedPaul Gilbert
svn-id: r29689
2007-12-01Fixed Valgrind warning by freeing _lines with Memory::dealloc() insead ofTorbjörn Andersson
delete. svn-id: r29680
2007-11-22Bugfix for the Escape key to close the Save/Restore dialogPaul Gilbert
svn-id: r29609
2007-11-20Added a check to keep the cursor active when entering a savegame name on ↵Paul Gilbert
backends that provide a virtual keyboard svn-id: r29578
2007-11-20Changed the copy protection dialog event loop so the fourth digit pressed ↵Paul Gilbert
will be briefly displayed svn-id: r29577
2007-11-20Changed calls to pollEvent to be in while loops to ensure all pending events ↵Paul Gilbert
get processed svn-id: r29576
2007-11-18Fixed sluggish mouse cursor on restart/restore screen.Torbjörn Andersson
svn-id: r29555
2007-10-28Sound is now paused when displaying menu dialogsPaul Gilbert
svn-id: r29272