aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/main_loop.cpp
AgeCommit message (Collapse)Author
2008-07-29Make sure processSeqList and purgeSeqList are only called in the main loop ↵Kari Salminen
when running Operation Stealth. Mostly a precaution as the seqList should be totally empty when running Future Wars as it doesn't use it. svn-id: r33410
2008-07-29Added purgeSeqList function (Used in mainloop now). Let's see if this helps ↵Kari Salminen
any... Renamed functions: * addScriptToList0 -> addScriptToGlobalScripts * executeList0 -> executeGlobalScripts * executeList1 -> executeObjectScripts * purgeList1 -> purgeObjectScripts (Also added a clarifying TODO to this function) * purgeList0 -> purgeGlobalScripts (Also added a clarifying TODO to this function) svn-id: r33409
2008-06-25Implemented support for zoneQuery (Operation Stealth specific).Kari Salminen
Fixed opcodes (related to zoneQuery): - 0x08: o1_checkCollision - 0x9A: o2_wasZoneChecked NOTE: Savegame support for the zoneQuery data is broken svn-id: r32790
2008-05-28Merged revisions ↵Christopher Page
32124,32126-32128,32131,32133,32135-32144,32146-32153,32155-32163,32165-32168,32170-32173,32175-32179,32181-32191,32193-32202,32204-32205,32209-32214,32216,32218,32220-32235,32237-32266,32269-32271,32273-32290,32292-32295,32297-32317,32319-32323,32325-32328,32330-32331,32334-32338,32343-32347 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r32350
2008-05-28CINE: Initialize exitEngine to 0 in mainLoop() to allow replay after ↵Christopher Page
returning to the launcher svn-id: r32333
2008-05-24Patch #1969189: "CinE renderer rewrite"Eugene Sandulenko
svn-id: r32257
2008-04-21Patch #1941066: "CinE sprite overlay rewrite" courtsey of next_ghostEugene Sandulenko
svn-id: r31651
2008-04-07Patch #1913862: "CinE Script system"Eugene Sandulenko
svn-id: r31444
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2007-12-14renamed several structures, variables and functionsGregory Montoir
svn-id: r29860
2007-12-09- minor screen fix for OSGregory Montoir
- added new debug channel for sound - updated 2 opcodes comments svn-id: r29790
2007-12-08made timing closer to the original interpreter and simplified manageEvents ↵Gregory Montoir
function (no need to recurse) svn-id: r29757
2007-12-07backported some changes for OSGregory Montoir
- added parsing of VOL.CNF to get the (filename,bundle) mapping (should be more efficient than testing every bundle file) - delphineUnpack allows "inplace unpacking", use this instead of allocating temporary buffers - relation script run count should be set in _localVars[0] - added comments for some "special" script variables svn-id: r29749
2007-11-04fix buffer overflow (globalVars is int16 -> index/=2)Gregory Montoir
svn-id: r29402
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-22Cleaning up after myself (I blame it on, err, uhh... the Vogons?)Max Horn
svn-id: r27625
2007-06-22Changed more code to use Common::KEYCODE_ enumMax Horn
svn-id: r27624
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-29added code for freePartRange, freePartEntry and freeOverlay (also renamed ↵Gregory Montoir
some functions and variables). svn-id: r27006
2007-05-19removed 4 unused offscreen buffers ; also changed several 64k buffers to be ↵Gregory Montoir
dynamically allocated. svn-id: r26879
2007-05-19added basic support for Amiga music playbackGregory Montoir
svn-id: r26870
2007-05-13added basic support for sounds playback in Amiga versions (only tested with ↵Gregory Montoir
the demos) svn-id: r26837
2007-03-18CINE: Make use of EventManager::getMousePosMax Horn
svn-id: r26222
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-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2006-11-25Support loading saves from command line.Eugene Sandulenko
svn-id: r24787
2006-11-24Let F10 work in all expected cases.Eugene Sandulenko
svn-id: r24785
2006-11-19Don't allow the F9 and F10 keys to open menus if a menu is already open. (MightTorbjörn Andersson
need more testing.) svn-id: r24747
2006-11-19Added keyboard shortcuts for left and right mouse button.Torbjörn Andersson
svn-id: r24746
2006-11-18Make input string truly editableEugene Sandulenko
svn-id: r24732
2006-11-18Implement naming save games in cinE. See also FR #1579780: "FW: naming saveEugene Sandulenko
games" svn-id: r24731
2006-11-14Added per game target saves.Eugene Sandulenko
svn-id: r24718
2006-11-08Fix bug #1579776: "FW: Save does not work properly"Eugene Sandulenko
svn-id: r24659
2006-10-15Add proper game detection to CinE engine.Eugene Sandulenko
svn-id: r24320
2006-05-29Only call OSystem::updateScreen() every other frame, so no more than 50 ↵Joost Peters
times per second. This doesn't appear to make a visible difference on PC, but allows the game to run on PSP and probably several other consoles/ports that wait for 50/60hz vsync. Since I'm not familiar with this engine I've added a 'FIXME' comment, because maybe this can be fixed/improved in a different manner. svn-id: r22758
2006-04-11Add F1-F10 keymappings like in original engine.Eugene Sandulenko
svn-id: r21815
2006-04-08Some more Operation Stealth changes. Mostly stubs.Torbjörn Andersson
svn-id: r21699
2006-03-23uint8 -> byteEugene Sandulenko
svn-id: r21414
2006-03-23Made mouse more responsiveEugene Sandulenko
svn-id: r21413
2006-03-16- added defines to handle the different mouse cursorsGregory Montoir
- revised the way NUM_MAX_PARTDATA and NUM_MAX_ANIMDATA are used - renamed some variables - constify'ed function arguments - minor cleanup svn-id: r21338
2006-03-15added mouse cursorsGregory Montoir
svn-id: r21321
2006-03-09minor cleanup.Gregory Montoir
svn-id: r21189
2006-03-09oo'ified sound code and added basic support for OS adlib music.Gregory Montoir
svn-id: r21186
2006-03-02fixed compilation.Gregory Montoir
svn-id: r21014
2006-03-02Breaking cine, in the hopes that somebody will fix this obviously totally ↵Max Horn
bogus code (even if that fix just means uncommenting it :) svn-id: r20999
2006-02-27cleanupGregory Montoir
svn-id: r20957
2006-02-25Some more cine header cleanupMax Horn
svn-id: r20859
2006-02-25Reducing the header dependencies in cine a bit moreMax Horn
svn-id: r20857
2006-02-25Moved cine engine into namespace CineMax Horn
svn-id: r20851
2006-02-24cleanupGregory Montoir
svn-id: r20846