Johannes Schickel
35e61b7c7a
CINE: Remove unused Sound::update method.
2012-09-08 01:16:09 +02:00
Johannes Schickel
5d84f2df43
CINE: A little bit enforcement of our formatting guidelines.
...
Powered by astyle & manual fixup afterwards.
2012-09-07 04:12:18 +01:00
Vincent Hamm
92df76fbb3
CINE: Fix system menu sometimes not appearing in OS
2012-08-13 23:58:32 -07:00
Vincent Hamm
ca54d69add
Cine: Fix swimming sequence by allowing mouse click to be held down
2012-08-13 21:38:24 -07:00
Johannes Schickel
61795739f8
COMMON: Rename Common::set_to to Common::fill.
...
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
David Turner
0119a659b5
CINE: Added basic debugging console to engine
...
Since CINE uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands.
svn-id: r54115
2010-11-07 15:02:41 +00:00
Eugene Sandulenko
327d30d719
CINE: eliminate global variables
...
svn-id: r51937
2010-08-09 11:38:01 +00:00
Eugene Sandulenko
15c533d2c2
Implement FR #2841445 : FW: Restart doesn't work
...
svn-id: r49096
2010-05-19 12:34:10 +00:00
Johannes Schickel
44359cd920
Add some shouldQuit() checks in event loops. This makes it possible to easily quit ScummVM (or doing an RTL), when failing the copy protection in Future Wars for example.
...
svn-id: r44225
2009-09-20 23:35:10 +00:00
Kari Salminen
49dd58de45
Name Operation Stealth's global variables 251 and 252 and init them in main loop.
...
These are used as a sort of a backup for the
mouse position (x, y) variables 249 and 250.
Future Wars's VAR_MOUSE_Y_MODE and Operation Stealth's
VAR_MOUSE_X_POS_2ND (251) clash and that's possibly
why executePlayerInput currently works incorrectly
with Operation Stealth. More reverse engineering
is needed...
svn-id: r41915
2009-06-27 12:26:26 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
6a2f3dc0b9
Added new type Engine::Feature; pushed down some #include dependencies
...
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page
909b66ef54
Merged revisions 33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33924
2008-08-16 04:30:01 +00:00
Kari Salminen
e56359eac0
Moved showing of the collision page from Alt-key to F11-key because Alt conflicted with taking screenshots using Alt-s. Great. Hopefully F11 doesn't conflict with anything useful.
...
svn-id: r33877
2008-08-14 22:01:56 +00:00
Kari Salminen
c935a09ef5
Changed commandBuffer from a char[80] to Common::String and made FWRenderer::setCommand use a Common::String. Hopefully this might help with the command buffer overflow stuff, although this isn't a fix for the problem behind it, just a bandaid.
...
svn-id: r33793
2008-08-12 00:13:27 +00:00
Christopher Page
fcc00f20b9
Merged revisions 33719,33721-33723,33725-33727,33729-33730,33733,33736,33742,33754,33756,33758,33761,33763,33766 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33769
2008-08-10 21:58:18 +00:00
Kari Salminen
ef3b72d5e4
Converted zoneData and zoneQuery tables from plain array types to Common::Array. Should help catch out of bounds access errors that may cause memory corruption.
...
svn-id: r33727
2008-08-09 22:38:03 +00:00
Christopher Page
ce3d1e1a7d
Merged revisions 33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33720
2008-08-09 19:03:29 +00:00
Kari Salminen
36e6bb27b5
Removing moving with keys qweasdzxc for now because they messed with savegame name typing. One can move with the cursor keys anyway.
...
svn-id: r33710
2008-08-09 10:52:48 +00:00
Kari Salminen
5cb08bd1e5
Added basic moving using keyboard (Only works in Operation Stealth at the moment):
...
- Should make it possible to complete the first arcade sequence legitimately
Renamed input variables (Their names were mixed up between Future Wars and Operation Stealth):
- Future Wars's inputVar1 -> egoMovedWithKeyboard
- Future Wars's inputVar2 -> xMoveKeyb
- Future Wars's inputVar3 -> yMoveKeyb
- Operation Stealth's inputVar0 -> xMoveKeyb
- Operation Stealth's inputVar1 -> yMoveKeyb
svn-id: r33698
2008-08-08 13:30:01 +00:00
Kari Salminen
092d7224b9
Implemented game speed changing by pressing - or + to e.g. ease testing.
...
svn-id: r33689
2008-08-07 21:46:56 +00:00
Kari Salminen
b8bfd5d04f
Fix for popup boxes sometimes blocking animation when they shouldn't in Operation Stealth:
...
- Made waitForPlayerClick updating more like in the original.
- Moved removeMessages to after the frame drawing in main loop hoping to be more like the original.
- Added an additional test to Operation Stealth's implementation of overlay type 2 drawing.
- Added an additional parameter incrementing and testing to Operation Stealth's removeMessages.
Hopefully this won't cause any regressions in Future Wars!
svn-id: r33686
2008-08-07 19:04:19 +00:00
Kari Salminen
92eec1b905
HACK: In Operation Stealth after the first arcade sequence jump player's position to avoid getting stuck.
...
The player's position is changed only by *one* pixel but it helps
and makes it possible to carry on with the game (Previously the player was totally stuck).
svn-id: r33673
2008-08-06 23:12:25 +00:00
Kari Salminen
a944497d75
HACK: Force oxygen to maximum during Operation Stealth's first arcade sequence.
...
This way the arcade sequence is completable now.
This hack should be removed later and the first
arcade sequence be made properly playable!
svn-id: r33667
2008-08-06 20:41:53 +00:00
Christopher Page
4198ee9623
Merged revisions 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-04 22:34:07 +00:00
Kari Salminen
c9051fcfbd
Make sure processSeqList and purgeSeqList are only called in the main loop 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-29 13:46:42 +00:00
Kari Salminen
d83c6d7d68
Added purgeSeqList function (Used in mainloop now). Let's see if this helps 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-07-29 13:44:14 +00:00
Christopher Page
d2e8d4831e
Merged revisions 32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33051
2008-07-14 00:10:09 +00:00
Christopher Page
30b1a62e81
Removed unnecessary #inlcudes
...
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0
Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
...
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
41938b7644
CINE works with the new GMM implementation
...
svn-id: r32954
2008-07-07 23:47:39 +00:00
Kari Salminen
1339a55389
Implemented support for zoneQuery (Operation Stealth specific).
...
Fixed opcodes (related to zoneQuery):
- 0x08: o1_checkCollision
- 0x9A: o2_wasZoneChecked
NOTE: Savegame support for the zoneQuery data is broken
svn-id: r32790
2008-06-25 21:57:08 +00:00
Christopher Page
c14804e22f
Added main menu dialog files. Gob is now using the new _quit flag
...
svn-id: r32771
2008-06-24 23:19:23 +00:00
Christopher Page
f878820bbe
Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
...
svn-id: r32770
2008-06-24 21:15:30 +00:00
Christopher Page
8297ead267
Merged revisions 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-28 20:30:20 +00:00
Christopher Page
3c0e72bb25
CINE: Initialize exitEngine to 0 in mainLoop() to allow replay after returning to the launcher
...
svn-id: r32333
2008-05-28 00:52:45 +00:00
Eugene Sandulenko
f2d72d9473
Patch #1969189 : "CinE renderer rewrite"
...
svn-id: r32257
2008-05-24 22:11:41 +00:00
Eugene Sandulenko
57a9ef3a8f
Patch #1941066 : "CinE sprite overlay rewrite" courtsey of next_ghost
...
svn-id: r31651
2008-04-21 20:51:17 +00:00
Eugene Sandulenko
732774fd8d
Patch #1913862 : "CinE Script system"
...
svn-id: r31444
2008-04-07 20:24:40 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Gregory Montoir
bb30d560b2
renamed several structures, variables and functions
...
svn-id: r29860
2007-12-14 19:21:19 +00:00
Gregory Montoir
a94fada0ae
- minor screen fix for OS
...
- added new debug channel for sound
- updated 2 opcodes comments
svn-id: r29790
2007-12-09 13:41:59 +00:00
Gregory Montoir
6b68c156ae
made timing closer to the original interpreter and simplified manageEvents function (no need to recurse)
...
svn-id: r29757
2007-12-08 08:49:22 +00:00
Gregory Montoir
126f55fd0e
backported some changes for OS
...
- 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-12-07 20:45:51 +00:00
Gregory Montoir
7cf5a57827
fix buffer overflow (globalVars is int16 -> index/=2)
...
svn-id: r29402
2007-11-04 03:16:56 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
2fa0a5c457
Cleaning up after myself (I blame it on, err, uhh... the Vogons?)
...
svn-id: r27625
2007-06-22 21:16:07 +00:00
Max Horn
54d668ac13
Changed more code to use Common::KEYCODE_ enum
...
svn-id: r27624
2007-06-22 21:10:57 +00:00