aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/menu.cpp
AgeCommit message (Collapse)Author
2012-06-10GUI: Add helper to SaveLoadChooser, which uses the currently active target.Johannes Schickel
This reduces the code duplication in all client code, which formerly duplicated the querying of the plugin, game id etc. and now simply calls the newly added method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10GUI: Get rid of SaveLoadChooser::setSaveMode.Johannes Schickel
We already pass the title and process button name to the constructor of SaveLoadChooser and then do not offer any way of changing it, thus changing the edit mode of the chooser is kind of pointless and was never actually used. Instead we pass the mode on SaveLoadChooser construction now.
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-06-02CRUISE: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
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-02-07GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTargetMax Horn
This avoids hiding an overloaded virtual method, which in turn can cause weird bugs (see also the next commit). svn-id: r55815
2010-09-12i18n: Translate the Save and Load buttons in cruiseThierry Crozat
This fix Fix bug #3064918 GUI: Save and Load button not translated in cruise svn-id: r52691
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2009-10-09Set up a basic tracing system for all memory allocations to help track down ↵Paul Gilbert
memory leaks svn-id: r44808
2009-08-24Added code to launch the GMM save/load dialogues from the in-game Player ↵Paul Gilbert
menu, replacing the older code that just saved/loaded the game in a single slot without prompting svn-id: r43685
2009-07-26Added a delay to the in-game menu loop to prevent 100% CPU usagePaul Gilbert
svn-id: r42795
2009-07-17Added an explicit break out of the event processing loop for mouse buttons ↵Paul Gilbert
and/or key-presses - this should allow stylus-based systems to properly process 'mouse down' events before the 'mouse up' is processed svn-id: r42558
2009-06-20Bugfix to fade out any currently playing music when the game is restartedPaul Gilbert
svn-id: r41701
2009-06-14Beginnings of music support for Cruise, based on the cine engine sound code ↵Paul Gilbert
(note that the music played isn't yet correct, though) svn-id: r41506
2009-06-06Bugfix to show the title screen at the correct speed when restarting the gamePaul Gilbert
svn-id: r41208
2009-05-17Properly named the dialog menu item 'selected' fieldPaul Gilbert
svn-id: r40632
2009-04-18Implemented the 'Start Again' menu option to properly restart the gamePaul Gilbert
svn-id: r39981
2009-04-18Changed the 'Exit' game menu option to exit gracefully, rather than using exit()Paul Gilbert
svn-id: r39980
2009-04-18Added support for the global menu save/loading, and changed the savegame ↵Paul Gilbert
format to store the savegame name and thumbnail svn-id: r39979
2009-04-01Laid the basics for music handlingPaul Gilbert
svn-id: r39786
2009-03-03Formatting fixesPaul Gilbert
svn-id: r39086
2009-02-19In progress work on cleaning up the font system - giving proper variable ↵Paul Gilbert
names, types, and converted memory accesses to endian safe structures svn-id: r38540
2009-02-14Changed the list of language dependant strings from being hard-coded to ↵Paul Gilbert
dynamically being loaded from the 'delphine.lng' file svn-id: r36317
2009-01-25Introduced a static string list for language dependant strings, and changed ↵Paul Gilbert
the options and inventory menus to use it svn-id: r36051
2009-01-16Code formatting fixes, automatically performed by astyleMax Horn
svn-id: r35870
2007-12-20Multiple fix/cleanupVincent Hamm
One bug remains before the game is completable without hack svn-id: r29920
2007-12-18Fix loading savegame from original interpreterVincent Hamm
svn-id: r29901
2007-11-11Menu display fixVincent Hamm
Linked objects implementation (barman) The gameplay is now kind of working and it is possible to play at least the first part of the game svn-id: r29478
2007-10-29Add more object menu controlsVincent Hamm
svn-id: r29312
2007-10-27Hooked inputsVincent Hamm
Cleanup & fix in input management code svn-id: r29267
2007-09-18Code formatting fixesMax Horn
svn-id: r28945
2007-09-10Lots of source code formatting correctionsMax Horn
svn-id: r28887
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-05-30Several const correctness fixesMax Horn
svn-id: r27011
2007-04-27Fix code formatting (partially) and guard defines in includes.Eugene Sandulenko
svn-id: r26631
2007-04-27Fixing more warningsMax Horn
svn-id: r26618
2007-04-27Fixing lots of warningsMax Horn
svn-id: r26617
2007-04-27Fixed loads of warnings with MSVC and gccFilippos Karapetis
svn-id: r26615
2007-04-27Add cruise source code for scummvmVincent Hamm
svn-id: r26605