aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/cruise_main.cpp
AgeCommit message (Collapse)Author
2010-11-07LURE: Convert printf to debug/warningMax Horn
Exception: The "decompiler" code still uses fopen/fprintf etc. but it is disabled by default, hence I am ignoring it for now. svn-id: r54108
2010-08-09CRUISE: Eliminate global constructorsEugene Sandulenko
svn-id: r51936
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-10Further memory leak fixesPaul Gilbert
svn-id: r44861
2009-10-09Fixed all memory leaks as far as the initial title screenPaul Gilbert
svn-id: r44814
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-24Bugfix for freeze when the in-game Pause 'P' key is usedPaul Gilbert
svn-id: r43690
2009-08-17Switched event loop while/do to do/while, to ensure event handling occurs ↵Paul Gilbert
even when the game is under heavy load svn-id: r43471
2009-07-31Fix bug with the event loop that was discarding pending events rather than ↵Paul Gilbert
leaving them to be processed in the following frame svn-id: r42965
2009-07-30Patch #2828669: CRUISE: Fix cruise compilation with mingw32ce toolchainMax Horn
svn-id: r42950
2009-07-26Bugfix for mouse button clicks getting counted multiple timesPaul Gilbert
svn-id: r42798
2009-07-18Minor tweak to prevent mouse clicks that close a user wait message also ↵Paul Gilbert
being further interpreted as a user walk destination svn-id: r42578
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-07-14Bugfix to cursor updates - it previously required that both X and Y ↵Paul Gilbert
positions had changed before a cursor change could occur svn-id: r42472
2009-07-12Added support for sub-relation message types - this fixes trying to attach ↵Paul Gilbert
the chain to the hook on the deck svn-id: r42405
2009-07-07Bugfix so that user delays work correctlyPaul Gilbert
svn-id: r42197
2009-07-07Bugfix so the game speed will correctly change after showing the credits ↵Paul Gilbert
when the game is restarted svn-id: r42196
2009-07-06Removed all the current special cases coding for user (mouse press) waiting, ↵Paul Gilbert
and reimplemented it exactly the way the original did svn-id: r42173
2009-07-03Bugfix for displaying text messages when an auto tracking (cut-scene) ↵Paul Gilbert
changes to a user wait svn-id: r42048
2009-06-21Changed .SPL (sound effect) loading to load the Adlib version of sound ↵Paul Gilbert
effects - sound effects now work svn-id: r41725
2009-06-21Bugfixes to pre-loading and handling of resources such as sound filesPaul Gilbert
svn-id: r41724
2009-06-10Added support for loading savegames from the launcherPaul Gilbert
svn-id: r41424
2009-06-06Disabled the execution of scripts when doing a user wait - this prevents ↵Paul Gilbert
animated backgrounds from jerking to new positions once the mouse has been pressed svn-id: r41210
2009-06-06Bugfix to show the title screen at the correct speed when restarting the gamePaul Gilbert
svn-id: r41208
2009-06-06Bugfix for display when multiple user waits follow each otherPaul Gilbert
svn-id: r41207
2009-06-05Tweaks to the code that pauses for a mouse press when displaying many text ↵Paul Gilbert
messages svn-id: r41196
2009-06-01Change flip[Short|Long] functions to bigEndian[Short|Long]ToNative to ↵Joost Peters
clarify that flipping only occurs on LE systems + some related cleanup. svn-id: r41107
2009-06-01Replaced loadShort/saveShort functions with applicable endian macrosPaul Gilbert
svn-id: r41097
2009-05-31Slowed down the game to match the original, and introduced the ability to ↵Paul Gilbert
alter game speed using the keypad +/- keys svn-id: r41064
2009-05-31Merged the wait for mouse press event loop into the main loop, fixing ↵Paul Gilbert
animation glitch and enabling pausing, player menu, and exiting the game when waiting for a mouse press svn-id: r41063
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-30Bugfix to keep ScummVM responsive even when the displayOn variable is set to ↵Paul Gilbert
false svn-id: r41017
2009-05-29Bugfix for screen redrawing when waiting for mouse click - this fixes a ↵Paul Gilbert
blank screen at 3:00pm svn-id: r40981
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-17Endian fix in script data accessPaul Gilbert
svn-id: r40641
2009-05-17Properly named the dialog menu item 'selected' fieldPaul Gilbert
svn-id: r40632
2009-05-15Converted various printf statements to use debug, warning, and error.Paul Gilbert
svn-id: r40588
2009-05-12Changed the hardcoded 'Parler de..' string in the conversation dialog to use ↵Paul Gilbert
the correct language string svn-id: r40477
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-05Implemented many of the remaining library functionsPaul Gilbert
svn-id: r39857
2009-04-04Replaced all occurrences of the constant '257' with the existing constant ↵Paul Gilbert
'NUM_FILE_ENTRIES' svn-id: r39824
2009-04-01Laid the basics for music handlingPaul Gilbert
svn-id: r39786
2009-03-16Code formatting, added further constant references, and corrected method ↵Paul Gilbert
signatures svn-id: r39445
2009-03-07Fixed some method parameters, changed the main loop to a method of the ↵Paul Gilbert
engine class, and moved the frame delay code to the main loop to make the game more responsive to events svn-id: r39180
2009-03-03Corrected click handling when a text message is displaying to properly ↵Paul Gilbert
dismiss the text, rather than trying to immediately perform another action svn-id: r39088
2009-03-03Changed the int16[5] array used in pathfinding to a structure with ↵Paul Gilbert
explicitly named fields svn-id: r39087