Commit Graph

35008 Commits

Author SHA1 Message Date
Johannes Schickel
b91e96e26a TOON: Ignore hotkeys when *any* modifier is used.
This makes, for example, META+d also be ignored and not only CTRL+d etc.
2014-02-14 18:21:57 +01:00
Johannes Schickel
f5a77e1380 TOON: Do not use KeyState::hasFlags when only presence of any flag should be checked.
hasFlags has the semantics to check whether *all* of the supplied flags are
active. Toon looks like it rather wants to know whether any modifier is
active and thus not use hasFlags.
2014-02-14 18:21:57 +01:00
uruk
616d9959f3 AVALANCHE: Move/rename/implement SEU::titles(). 2014-02-14 17:12:09 +01:00
uruk
6d38d25af3 AVALANCHE: Add ShootEmUp's skeleton. 2014-02-14 13:31:08 +01:00
uruk
370e5969b5 AVALANCHE: Don't use cctype in Help anymore. 2014-02-14 05:09:34 +01:00
uruk
b46224ef3d AVALANCHE: Get rid of continueHelp(), fix run().
It was unnecessary to paint the whole screen black, we can just draw the
first screen of Help immediately instead of that.
2014-02-14 05:01:12 +01:00
uruk
5dbe676011 AVALANCHE: Implement mouse control in Help. 2014-02-14 04:55:36 +01:00
uruk
c57e98ce8d AVALANCHE: Simplify continueHelp(), move keyboard control to it's own function. 2014-02-14 03:18:11 +01:00
uruk
3d528b512f AVALANCHE: Use keycodes instead of ASCII values in Help. 2014-02-14 02:43:49 +01:00
Strangerke
2a97f13c0e VOYEUR: Set private some variables and functions 2014-02-14 01:17:34 +01:00
Eugene Sandulenko
50c98d9ee1 FULLPIPE: More initializations in scene09 2014-02-13 22:53:28 +02:00
Eugene Sandulenko
14590b4c68 FULLPIPE: Implement sceneHandler09_winArcade() 2014-02-13 22:47:28 +02:00
Strangerke
013522457c VOYEUR: Remove useless fields in Events, some renaming 2014-02-13 08:44:06 +01:00
Strangerke
1949f4511f VOYEUR: Some renaming in Files 2014-02-13 08:14:01 +01:00
Torbjörn Andersson
2b40502503 HOPKINS: Fix bug that could cause the music to stop prematurely
The SoundManager filled the sound handles with zeroes, which made
the mixer confuse them with active sound handle zero. In my case,
this happened to be the intro music, and the music was stopped when
playWavSample() wrongly thought its sound handle was in use.
2014-02-13 00:38:04 +01:00
Strangerke
12e9c31f41 CGE: Add an option to toggle color blind mode from the launcher 2014-02-13 00:01:41 +01:00
Eugene Sandulenko
aaf9ebfd68 FULLPIPE: Enable scene09 2014-02-13 00:50:41 +02:00
Eugene Sandulenko
a1b7a36cdd FULLPIPE: Implement sceneHandler09() 2014-02-13 00:50:41 +02:00
Eugene Sandulenko
f9ecd6518a FULLPIPE: Implement sceneHandler09_updateScreenCallback() 2014-02-13 00:50:41 +02:00
Eugene Sandulenko
2c5e338d33 FULLPIPE: Implement scene09_updateCursor() 2014-02-13 00:50:41 +02:00
Eugene Sandulenko
893667fc9e FULLPIPE: Plug scene09 in 2014-02-13 00:50:41 +02:00
Eugene Sandulenko
7c549a3eed FULLPIPE: Further work on scene09_initScene() 2014-02-13 00:50:41 +02:00
Eugene Sandulenko
d48d4b325c FULLPIPE: Implement scene09_setupGrit() 2014-02-13 00:50:40 +02:00
Eugene Sandulenko
417426a165 FULLPIPE: Even more work on scene09_initScene() 2014-02-13 00:50:40 +02:00
Eugene Sandulenko
7d0dc05622 FULLPIPE: More work on scene09_initScene() 2014-02-13 00:50:40 +02:00
uruk
d734e8fc41 AVALANCHE: Implement keyboard control in Help. 2014-02-12 23:40:17 +01:00
Torbjörn Andersson
e5281bc0db AVALANCHE: Made comments ASCII friendly
The comments I introduced earlier (previusly case labels) have been
changed to avoid non-ASCII characters. The descriptions were taken
from an ISO 8859-1 manual page.
2014-02-12 22:58:58 +01:00
Torbjörn Andersson
243bb0dea7 AVALANCHE: Silence GCC warnings
Mainly, GCC complained about case labels having a value less than
the minimum value for the type. Probably because character literals
may be signed or unsigned, while _trigger is always unsigned.
2014-02-12 22:15:28 +01:00
uruk
cb2b1d5ca1 AVALANCHE: Rename/implement rest of getMe(). 2014-02-12 21:39:38 +01:00
Johannes Schickel
24d2e246b4 WINTERMUTE: Use game format for fallback font rendering.
BDF fonts got 32bit drawing support in ece8b7fb65
Thus it is not necessary to draw onto a 16bit surface.
2014-02-12 18:31:06 +01:00
Strangerke
e7cc3fc4df VOYEUR: Use American English instead of British English in several places 2014-02-12 07:54:14 +01:00
Strangerke
82b4768dd7 VOYEUR: Initialize some more variables 2014-02-12 07:48:03 +01:00
Strangerke
1b7a4cf4a0 VOYEUR: Initialize properly a couple of Bolt variables 2014-02-12 07:36:37 +01:00
Matthew Hoops
a456295cbd PEGASUS: Fix returning from Mars after destroying the robot's shuttle 2014-02-11 21:07:34 -05:00
uruk
6ffbbc8ab2 AVALANCHE: Move/rename/implement Help::plotButton(). 2014-02-11 23:10:16 +01:00
uruk
db2baa6f06 AVALANCHE: Partially implement Help::getMe().
The drawing of the buttons are still missing.
2014-02-11 22:34:27 +01:00
uruk
62ad697c9a AVALANCHE: Implement Help::run(). 2014-02-11 19:59:05 +01:00
Eugene Sandulenko
450189816d FULLPIPE: Initial code for scene09 2014-02-11 20:26:11 +02:00
Filippos Karapetis
867efd477c WINTERMUTE: Prevent scripts from setting invalid scroll times
Scroll times (ScrollSpeedX, ScrollSpeedY) can't be zero, as this leads
to a division by zero later on. This allows Dreamscape to start and
work properly.
2014-02-11 19:09:39 +02:00
Strangerke
0d99418791 VOYEUR: Some more renaming 2014-02-11 08:24:26 +01:00
Strangerke
5cc1bd626d VOYEUR: Remove unused function header 2014-02-11 08:21:07 +01:00
Strangerke
1ed4ed47af VOYEUR: Rename some fields related to fading 2014-02-11 08:00:15 +01:00
Strangerke
e688cb5015 VOYEUR: Implement fadeIntFunc() 2014-02-11 07:51:55 +01:00
Eugene Sandulenko
1970bf81e5 FULLPIPE: Finish renames in scene27. This completes the scene 2014-02-10 23:30:36 +02:00
Eugene Sandulenko
39e28d5cf7 FULLPIPE: Finish var renames in scene27 2014-02-10 23:30:35 +02:00
Eugene Sandulenko
f3629af0d5 FULLPIPE: Started renames in scene27 2014-02-10 23:30:35 +02:00
David Turner
ae16c989ae Merge pull request #407 from digitall/advancedDetector_queen
Migration of Queen Engine to Advanced Detector
2014-02-10 15:05:20 +00:00
D G Turner
1348b82aaa QUEEN: Migrate extra gui options to AdvancedMetaEngine handling. 2014-02-10 15:02:36 +00:00
D G Turner
7d4c625c4e QUEEN: Switch all savegame usage back to "queen.sXX" format.
The target is not just a bare "queen", but is postfixed by language
variant (and CD if used).

Using this for the savegame naming would be good as it allows several
language variants to have different co-existing savegame sets without
causing conflicts. However, if the savegame format is the same across
all language variants, then using the same naming allows easier
switching between languages if testing.

Currently the queen engine uses a single set of savegames named in the
format "queen.sXX" which are used for all languages, as the format
appears to be compatible across language variants. This may require
changing in future, if a variant with incompatible savegame format
is discovered.
2014-02-10 14:59:44 +00:00
dergunov
3a5554f7ba TUCKER: Fix bug #6381 - "TUCKER: In 3rd part, "Use Peg" fails..."
"Use Peg" is a single-item action and these are hardcoded in the
engine. The default otherwise is dual-item action "Use X on Y".
2014-02-10 14:48:50 +00:00
uruk
3f6d71dd25 AVALANCHE: Implement 'winning_pic'. 2014-02-10 10:49:39 +01:00
Strangerke
72d2131263 VOYEUR: Remove a useless variable 2014-02-10 07:57:57 +01:00
Strangerke
9608a52162 VOYEUR: Reduce the scope of a couple of variables 2014-02-10 07:56:35 +01:00
Strangerke
a4583ade56 AVALANCHE: Add missing braces 2014-02-10 07:04:49 +01:00
Eugene Sandulenko
a12e32983c FULLPIPE: Fix buffer overruns in scene27 2014-02-09 22:02:06 +02:00
Strangerke
2937727018 CINE: Reduce the scope of some variables, optimize a couple of iterator increment 2014-02-09 20:41:08 +01:00
Strangerke
78eff8fea9 GOB: Fascination - Reduce the scope of a couple of variables 2014-02-09 20:26:47 +01:00
Strangerke
7e0bf95a31 MORTEVIELLE: Reduce the scope of some variables 2014-02-09 20:22:59 +01:00
Strangerke
5cc2315b38 AVALANCHE: Initialize a couple of uninitialized variables 2014-02-09 20:11:55 +01:00
Strangerke
bd59c19fdf HOPKINS: Remove useless assignation 2014-02-09 20:10:26 +01:00
Strangerke
56664d036f HOPKINS: Reduce the scope of some more variables 2014-02-09 20:06:08 +01:00
Paul Gilbert
4ae6d57a03 TSAGE: Fix smoke transparency effect in the R2R drive room 2014-02-09 10:45:21 -05:00
Paul Gilbert
8c9d7f9343 AVALANCHE: Remove pingo.o from makefile 2014-02-09 10:32:59 -05:00
uruk
d0c5911481 AVALANCHE: Repair comment formatting. 2014-02-09 15:35:20 +01:00
uruk
3df5f2ad41 AVALANCHE: Remove Pingo. 2014-02-09 15:25:10 +01:00
uruk
da4d459812 AVALANCHE: Add Help's skeleton. 2014-02-09 15:21:24 +01:00
uruk
b3e0c98eb2 AVALANCHE: Repair fading at the beginning and at the end of the ghostroom scene. 2014-02-09 13:17:56 +01:00
uruk
3e8e91300c AVALANCHE: Optimise the picture loading in GhostRoom. 2014-02-09 12:38:49 +01:00
Strangerke
c97ce839fd HOPKINS: Reduce the scope of some variables 2014-02-09 11:44:56 +01:00
Strangerke
d7c86f3913 HUGO: Remove a useless variable assignation 2014-02-09 11:39:00 +01:00
Strangerke
fd50556d1e HUGO: Reduce the scope of some variables 2014-02-09 11:37:30 +01:00
Strangerke
a1ab4cb062 CGE: Reduce the scope of some variables 2014-02-09 11:22:21 +01:00
Strangerke
49be3ba7a8 TSAGE: R2R - Fix previous commit, check was inverted 2014-02-09 11:11:46 +01:00
Strangerke
176e6da64e TSAGE: R2R - Fix sprite used when exiting scene 1800 using the South exit (Rim lift, exterior) 2014-02-09 11:10:14 +01:00
Strangerke
9a47b15daf TSAGE: R2R - Fix sound missing in scene 3500 (Flub tube maze) 2014-02-09 11:06:00 +01:00
Strangerke
fd576f1e94 TSAGE: R2R - Fix issue in ScannerDialog 2014-02-09 00:50:41 +01:00
Strangerke
b75da52cab TSAGE: R2R - Reduce the scope of some variables 2014-02-09 00:42:35 +01:00
Strangerke
0e6c4de8c6 TSAGE: Ringworld - Remove a redundant check on the previous scene number in scene 9500 2014-02-09 00:36:50 +01:00
Strangerke
2e388b3343 TSAGE: Ringworld - Reduce the scope of a couple of variables 2014-02-09 00:29:52 +01:00
Strangerke
078b738c5b TSAGE: BF - Remove a redundant check on the previous scene number in scene 900 2014-02-09 00:20:39 +01:00
Strangerke
fba5484387 TSAGE: BF - Fix a bug in scene 570 (entering password) 2014-02-08 19:20:22 +01:00
Strangerke
3c77b717b3 TSAGE: BF - Remove a redundant check on the previous scene number in scene 360 2014-02-08 19:13:18 +01:00
Strangerke
074c11f7e1 TSAGE: Silent some CppCheck warnings 2014-02-08 19:05:01 +01:00
uruk
1ba4cce14b AVALANCHE: Repair GhostRoom::doBat(). 2014-02-08 18:11:36 +01:00
uruk
5c9029c731 AVALANCHE: Finish GhostRoom's implementation. 2014-02-08 18:07:51 +01:00
uruk
bb596a5b1b AVALANCHE: Implement another pair of floating eyeballs.
Repair the previous one.
2014-02-08 17:37:05 +01:00
uruk
46a341b4aa AVALANCHE: Implement the ghostroom's animation until Avvy turns back. 2014-02-08 17:16:14 +01:00
uruk
b57345e70b AVALANCHE: Add the yelling to the end of the ghost's animation. 2014-02-08 17:03:03 +01:00
uruk
3ebd83d197 AVALANCHE: Repair the ghost's animation.
Now it doesn't overlap with the bat's static picture on the bottom of
the screen.
2014-02-08 16:54:40 +01:00
uruk
2642b0640c AVALANCHE: Implement the animation of the ghost.
Modify GraphicManager::ghostDrawGhost() to do so.
2014-02-08 16:48:29 +01:00
uruk
410d548ac0 AVALANCHE: Implement GhostRoom::doBat(). 2014-02-08 15:41:39 +01:00
Eugene Sandulenko
a90c5369e1 FULLPIPE: Implement sceneHandler27_sub02() 2014-02-08 12:45:32 +02:00
Paul Gilbert
26f5475136 VOYEUR: Remove redundant code from RL2Decoder class 2014-02-07 20:57:49 -05:00
Paul Gilbert
e3b666a27a VOYEUR: Standardised delay amount between frame checks in video playback methods 2014-02-07 20:46:02 -05:00
Paul Gilbert
9d86715e30 VOYEUR: Renaming SVoy fields 2014-02-07 20:40:04 -05:00
Eugene Sandulenko
085c53b0ec FULLPIPE: Implement sceneHandler27_maidSwitchback() 2014-02-08 00:21:17 +02:00
Eugene Sandulenko
b39086861e FULLPIPE: Implement sceneHandler27_driverPushButton() 2014-02-08 00:21:17 +02:00
Johannes Schickel
08738ac697 KYRA: Fix monster idle animation in EoB 1+2. (bug #6523)
The bug mentioned is called "EOB1: Monster idle animation broken".
2014-02-07 15:25:05 +01:00
Paul Gilbert
f407a292a1 VOYEUR: Fix decoder _curFrame to start at -1 2014-02-07 08:03:49 -05:00
Paul Gilbert
ab0cdde539 VOYEUR: Fix sound distortions in the second part of the gossip interview 2014-02-06 22:47:34 -05:00
Eugene Sandulenko
f5ea651e39 FULLPIPE: Implement BallChain::init() 2014-02-06 23:50:38 +02:00
Eugene Sandulenko
998e86ae4e FULLPIPE: Removed cyrillic constants 2014-02-06 23:50:38 +02:00
Eugene Sandulenko
d492457c34 FULLPIPE: Implement sceneHandler27_batLogic() 2014-02-06 23:50:37 +02:00
Eugene Sandulenko
2d2c9929f6 FULLPIPE: Implement sceneHandler27_calcWinArcade() 2014-02-06 23:50:37 +02:00
Strangerke
a446968b10 TSAGE: R2R - rename EFFECT_3 2014-02-06 08:19:49 +01:00
Strangerke
4df0a42eea TSAGE: R2R - Get rid of some magic values 2014-02-06 08:10:11 +01:00
Eugene Sandulenko
a231d6c7d2 FULLPIPE: Bugfix in scene27 2014-02-05 23:58:44 +02:00
Eugene Sandulenko
ff50ea73bf FULLPIPE: Implement sceneHandler27_knockBats() 2014-02-05 23:58:43 +02:00
Eugene Sandulenko
7ece1b1ea6 FULLPIPE: Implement sceneHandler27_batSetColors() 2014-02-05 23:58:43 +02:00
Einar Johan Trøan Sømåen
2ad7625831 WINTERMUTE: Change the copyFrom-simplifications to depend on pitch instead of width. (Fix bug #6157) 2014-02-05 17:18:46 +01:00
Johannes Schickel
cfb0492cbb KYRA: Fix scrolling credits in HoF. 2014-02-05 15:07:40 +01:00
Paul Gilbert
f6c6871918 VOYEUR: Fix preloading incriminating videos if the debug _iForceDeath is set 2014-02-05 09:00:43 -05:00
Paul Gilbert
d0ca824a62 VOYEUR: Opening sequence video should not be completely skipped 2014-02-05 08:41:33 -05:00
uruk
737e38eff8 AVALANCHE: Implement the floating eyeballs and the "Glerk"s animation. 2014-02-05 13:36:10 +01:00
uruk
1af04e937b AVALANCHE: Hide/reveal the mouse cursor in GhostRoom::run(). 2014-02-05 10:51:34 +01:00
uruk
acb70b645a AVALANCHE: Implement GhostRoom::wait(). 2014-02-05 10:51:33 +01:00
uruk
f26bbefb2d AVALANCHE: Make constants really const. 2014-02-05 10:51:32 +01:00
uruk
2ca5143155 AVALANCHE: Remove unnecessary checks from picture creatings. 2014-02-05 10:51:32 +01:00
uruk
89386900bb AVALANCHE: Add ghostDrawGlerk(). 2014-02-05 10:51:31 +01:00
Paul Gilbert
eca87a63e9 VOYEUR: Renamings for the fields of the new StateResource class 2014-02-04 22:38:35 -05:00
Paul Gilbert
f075f0336e VOYEUR: Convert ControlResource::_ptr raw data to a deserialized state object 2014-02-04 22:23:15 -05:00
Paul Gilbert
49e3c9bcd2 VOYEUR: Moved RL2Decoder::seek to be seekIntern 2014-02-04 20:35:42 -05:00
Eugene Sandulenko
a1a4e809f8 FULLPIPE: Implement sceneHandler27_batFallLogic() 2014-02-05 00:18:49 +02:00
uruk
5a1c9bc717 AVALANCHE: Implement rest of the loading in Ghostroom.
Also move it to it's own function: loadPictures(). Remove some unused
variables and change the order of declaration of the remaining ones
during the implementation. Change void * types to Graphics::Surface.
2014-02-04 19:54:41 +01:00
uruk
3eb2c05faf AVALANCHE: Rename/move/implement plainGrab(). 2014-02-04 18:51:13 +01:00
uruk
81992bf616 AVALANCHE: Some renaming in Background. 2014-02-04 12:07:05 +01:00
uruk
a0e28107d3 AVALANCHE: Some renaming connected to Ghostroom. 2014-02-04 12:06:11 +01:00
uruk
65d4695494 AVALANCHE: Really remove that function. 2014-02-04 10:50:46 +01:00
uruk
671ff32f6f AVALANCHE: Change some variable's type, remove unused function. 2014-02-04 10:48:30 +01:00
uruk
29cd161421 AVALANCHE: Rename/move/implement getMe(). 2014-02-04 10:30:41 +01:00
uruk
08e7b5a8f3 AVALANCHE: Remove references to removed variables. 2014-02-04 09:01:59 +01:00
uruk
9a08e0459c AVALANCHE: Implement loading and drawing of the picture of the ghost. 2014-02-04 08:59:03 +01:00
Paul Gilbert
07f57ac650 VOYEUR: Simplified reference to audio and video tracks in the RL2Decoder 2014-02-04 00:20:24 -05:00
Paul Gilbert
bb37927afd VOYEUR: Cleaner implementation of RL2Decoder seek 2014-02-04 00:14:48 -05:00
Paul Gilbert
77d8810b19 VOYEUR: Converted RL2 header getFrameRate to use Common::Rational 2014-02-04 00:05:56 -05:00
Paul Gilbert
d5231aa862 VOYEUR: Moved RL2Decoder into Voyeur namespace, and merged with VoyeurRL2Decoder 2014-02-03 23:44:50 -05:00
Paul Gilbert
90b7d10a77 VOYEUR: Fixes to keep credits on-screen during opening sequence 2014-02-03 23:00:59 -05:00
Paul Gilbert
0c1a0a28c2 VOYEUR: Re-enabled and completed implementing title sequence 2014-02-03 22:45:52 -05:00
Paul Gilbert
d3f4156e6a VOYEUR: Clean up, commenting, and bugfixes for checking for murder 2014-02-03 22:02:28 -05:00
Paul Gilbert
683ef9d50f VOYEUR: Fix for control data comparisons in parsePlayCommands 2014-02-03 21:27:26 -05:00
Paul Gilbert
be296c58dd VOYEUR: Removed some method declarations that are no longer in the given class 2014-02-03 20:29:11 -05:00
Paul Gilbert
ae9bca6bdf VOYEUR: Remove a lot of outdated TODO's and clean up of stubbed methods 2014-02-03 20:16:13 -05:00
Eugene Sandulenko
a67b7f487c FULLPIPE: Implement sceneHandler27_batCalcDistance() 2014-02-03 22:58:08 +02:00
Eugene Sandulenko
140f110377 FULLPIPE: Implement sceneHandler27_animateBats() 2014-02-03 22:50:51 +02:00
Eugene Sandulenko
db02b57262 FULLPIPE: Implement sceneHandler27_startBat() 2014-02-03 22:22:24 +02:00
Eugene Sandulenko
b2518bdadf FULLPIPE: Implement sceneHandler27_sub04() and sceneHandler27_sub07() 2014-02-03 22:09:21 +02:00
Eugene Sandulenko
2ed9d0da3e FULLPIPE: Implementated sceneHandler27_showNextBat() 2014-02-03 21:36:36 +02:00
Eugene Sandulenko
a52c6eb5a5 FULLPIPE: Implement sceneHandler27_takeVent() 2014-02-03 21:30:59 +02:00
Eugene Sandulenko
5d99d91fb0 FULLPIPE: Implement sceneHandler27_driverGiveVent() 2014-02-03 21:27:36 +02:00
Eugene Sandulenko
75a6aec6a1 FULLPIPE: Update scene27 callbacks 2014-02-03 21:23:46 +02:00