26479 Commits

Author SHA1 Message Date
Nicola Mettifogo
41a1763fa8 Fixed half-invisible balloons.
svn-id: r33933
2008-08-16 08:57:07 +00:00
Lars Persson
37b149049e Enable CINE
svn-id: r33932
2008-08-16 08:49:36 +00:00
Nicola Mettifogo
5e912f6a90 Enabled interaction with movable zones - mainly NPCs - which are linked to animations.
svn-id: r33930
2008-08-16 07:47:44 +00:00
Nicola Mettifogo
797a5e7035 Fixed label positioning in BRA.
svn-id: r33928
2008-08-16 06:39:58 +00:00
Max Horn
f2111eeb45 SCUMM: Made some potentially ambiguous (to the reader, at least) checks slightly less ambiguous
svn-id: r33919
2008-08-15 22:06:15 +00:00
Nicola Mettifogo
7891e5afce Implemented raster operation for masks and postponed blitting of zones after everything in the location has been loaded. This fixes the remaining problems with animations not being masked by items.
svn-id: r33903
2008-08-15 15:08:08 +00:00
Lars Persson
b4a2aee964 UpdUpdated actions and Readme for Symbian OS port!
svn-id: r33902
2008-08-15 14:38:25 +00:00
Nicola Mettifogo
05a021fd95 Added routines to load and handle item masks: animation are now correctly hidden when they are behind any object. The masks of items that are not explicitly activated (even if visible) still are handled (e.g. the crown in the museum is not visible in the foreground).
svn-id: r33900
2008-08-15 14:25:43 +00:00
Sven Hesse
4e0485197f Fixing a segfault in the Bargon Attack menu
svn-id: r33896
2008-08-15 10:47:42 +00:00
Nicola Mettifogo
22eaffcb34 Updated layer calculation: animations are now hidden properly by background elements (but not items yet).
svn-id: r33894
2008-08-15 08:44:41 +00:00
Nicola Mettifogo
0606fef24e Made coordinates and frame number protected into Zone and Animation, and changed client code to use get/set. This will allow various simplifications (e.g. when calculating Z), and is a step towards correct handling of interactive zones of Zone/Animation in BRA.
svn-id: r33892
2008-08-15 04:30:45 +00:00
Nicola Mettifogo
c70d09bc26 Made scripts access Animation fields via accessors and mutators, instead of using raw pointers.
svn-id: r33891
2008-08-15 03:59:45 +00:00
Nicola Mettifogo
2679f6ce7a Disabled lip syncing code in BRA, since I couldn't find any scripts actually using it. Some warnings have been added as a sentinel.
svn-id: r33890
2008-08-15 03:36:01 +00:00
Nicola Mettifogo
ea2a2cbb7c Simplified handling of script variables (especially locals).
svn-id: r33889
2008-08-15 02:52:42 +00:00
Florian Kagerer
d6ac646d0b lol: new detection entry (german floppy extracted)
svn-id: r33886
2008-08-14 23:46:37 +00:00
Johannes Schickel
7b87867a48 Formatting.
svn-id: r33879
2008-08-14 22:11:56 +00:00
Johannes Schickel
027e6c51a8 Improved version of my resource loading patch from -devel (check also r33876).
svn-id: r33878
2008-08-14 22:09:36 +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
Florian Kagerer
3f316681a0 - HOF: forgot french and german entries in last commit
svn-id: r33875
2008-08-14 21:34:29 +00:00
Florian Kagerer
8fe533657c - HOF: another Italian fan translation
svn-id: r33873
2008-08-14 21:21:04 +00:00
Kari Salminen
c2c2e940d0 Fix for bugging moving at the bottom of the ocean when trying to free the girl from the ropes and swimming to the surface. Some global variables related to mouse position weren't being updated in executePlayerInput, now they are and things seem to work. Also enables moving in the labyrinth arcade sequence at the palace.
svn-id: r33872
2008-08-14 20:49:34 +00:00
Kari Salminen
63f3169213 Added debug showing of the collision page when pressing the Alt key. Alt isn't used for anything else so one might as well use it for this.
svn-id: r33871
2008-08-14 20:18:13 +00:00
Nicola Mettifogo
d3440f2cc5 Some variable renamed to make more sense.
svn-id: r33864
2008-08-14 13:45:32 +00:00
Nicola Mettifogo
15f4bc43cf More cleanup.
svn-id: r33861
2008-08-14 10:24:39 +00:00
Nicola Mettifogo
4447be7102 Cleanup.
svn-id: r33860
2008-08-14 10:04:43 +00:00
Nicola Mettifogo
5cfa50f028 Finally moved parseNextToken to Script, where it belongs!
svn-id: r33859
2008-08-14 07:14:34 +00:00
Nicola Mettifogo
4a46c99026 Removed cross-references between the general parser and the text formatter. To achieve this, I have rewritten the latter for both NS and BRA.
svn-id: r33858
2008-08-14 07:10:42 +00:00
Max Horn
8a84e3a46f cleanup
svn-id: r33847
2008-08-13 20:37:54 +00:00
Kostas Nakos
56c9e3ab04 fix a small bug in the quit dialog
svn-id: r33844
2008-08-13 19:32:25 +00:00
Kostas Nakos
5a54dc61a4 fix bug #1910057: FT multifunction
svn-id: r33839
2008-08-13 19:13:53 +00:00
Johannes Schickel
0f95bb9fd5 Added detection entries for kyra3 Mac.
svn-id: r33837
2008-08-13 19:10:31 +00:00
Kostas Nakos
e514760c7a fix bug #2038992 by saving and restoring channel volumes
svn-id: r33829
2008-08-13 15:16:38 +00:00
Kari Salminen
6ee8022bac Type 21 overlay comment update (Found the drawing routine in the disassembly and checked the original for how the oxygen gauge during the first arcade sequence looks like. They're some kind of sprites most likely and not just simply filled rectangles).
svn-id: r33826
2008-08-13 13:40:28 +00:00
Kari Salminen
09762ac7a6 Fixed initialization of some SoundMgr-class's member variables. Moved _sndBuffer's allocation to SoundMgr's constructor and its deallocation to the destructor. Made fillAudio SoundMgr's method and removed a superfluous global static variable 'int16 *buffer'. Should help with the occasional crashes when starting the first sound in an AGI game.
svn-id: r33822
2008-08-13 11:57:48 +00:00
Kari Salminen
f69cc559b9 Reverted r33815 (But not r33816).
svn-id: r33819
2008-08-13 11:36:45 +00:00
Max Horn
9b8665fa85 Clarify SCUMM MD5 message: We do not want reports on fanmade translations
svn-id: r33817
2008-08-13 10:13:22 +00:00
Kari Salminen
be9192687b Shutting up Valgrind about using uninitialised values from array _chn in function stopNote.
svn-id: r33816
2008-08-13 01:10:03 +00:00
Kari Salminen
eeba630cbf Changed Agi::SoundMgr's sound buffer to a member array of size BUFFER_SIZE. Also added initialization of _playing to false in SoundMgr's constructor. Hopefully helps with the occasional crashes in the sound code when starting the first sound in an AGI game.
svn-id: r33815
2008-08-13 01:02:00 +00:00
Kari Salminen
582104752b Hopefully fixes 'Conditional jump or move depends on uninitialised value(s)' Valgrind warning at sound.cpp:611.
svn-id: r33812
2008-08-12 23:56:13 +00:00
Kari Salminen
954244d350 Fixed drawPlainBox's boundary checking (It wrote outside the screen occasionally). Now using the Common::Rect for clipping, yay! It's good.
svn-id: r33811
2008-08-12 23:44:39 +00:00
Kari Salminen
00cbedb25f Added possibility to get the read resource's size from readBundleFile. Made loadMsg handle input data that has empty strings residing just beyond the input buffer (Thanks Valgrind :-)).
svn-id: r33810
2008-08-12 22:45:38 +00:00
Joost Peters
03edc74ef6 fix typo 'baclup' -> 'backup'
svn-id: r33809
2008-08-12 21:23:40 +00:00
Kari Salminen
095fa55527 Fix for GCC warning in OSRenderer::renderOverlay: declaration of 'len' shadows a previous local.
svn-id: r33808
2008-08-12 20:58:26 +00:00
Kari Salminen
e547eeb116 Tiny comment fix.
svn-id: r33807
2008-08-12 20:27:49 +00:00
Kari Salminen
eb9633ee1e Implemented Operation Stealth's makeCommandLine.
svn-id: r33805
2008-08-12 19:33:17 +00:00
Kari Salminen
811e4b3128 Implemented Operation Stealth specific parts of processInventory and added another mouse button waiting loop into the function's end (It's in both Future Wars and Operation Stealth). Fixes inventory showing in Operation Stealth.
svn-id: r33795
2008-08-12 14:44:44 +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
Kari Salminen
96a1ca1709 Made Operation Stealth's action failure messages use a background color set by the opcode 0x49 'o1_setDefaultMenuBgColor'. Should fix the 'text hard to read' problems.
svn-id: r33792
2008-08-11 23:20:10 +00:00
Kari Salminen
88ec480cef Implemented drawMessage changes for Operation Stealth's timed cutscenes (Negative colors are used for timed text boxes that are totally transparent, only the text is drawn).
svn-id: r33790
2008-08-11 23:01:32 +00:00
Andre Heider
c8188bf344 build a wii binary per default
svn-id: r33788
2008-08-11 22:44:29 +00:00