Commit Graph

61 Commits

Author SHA1 Message Date
Sven Hesse
74e43312f7 GOB: Fix missing sound effects in Woodruff (bug #3374170)
Another regression of the CoktelDecoder rewrite.
Thanks to digitall for finding the offending commit. :)
2011-07-23 15:39:38 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Sven Hesse
c88ee19478 GOB: Stub some Adibou mult stuff
svn-id: r55653
2011-01-30 13:14:32 +00:00
Sven Hesse
bd3f9ad1e2 GOB: Use Surface::blit() in VideoPlayer::copyFrame()
svn-id: r55344
2011-01-20 05:19:41 +00:00
Sven Hesse
f33b84ff3d GOB: Fix Woodruff object videos
svn-id: r55289
2011-01-18 07:03:42 +00:00
Torbjörn Andersson
54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Sven Hesse
8e523d9d2f GOB: Fix object videos with more than 255 frames
A regression of the CoktelDecoder rewrite.

svn-id: r53043
2010-10-07 09:18:15 +00:00
Sven Hesse
51fd528fe5 GOB: Change all drawing to use class Surface
svn-id: r52947
2010-09-30 13:02:16 +00:00
Arnaud Boutonné
c8005dfb75 GOB - Fix 2 bugs in Fascination Hebrew, now playable.
Again, thanks SylvainTV for the debugging efforts

svn-id: r52288
2010-08-22 23:11:29 +00:00
Arnaud Boutonné
e26da1a634 Fascination - (SylvainTV) Always free anims when initializing the scenary. (Hopefully) Fixes every window display issues in lab, villa, picture labo, and lounge.
svn-id: r52109
2010-08-16 00:29:05 +00:00
Sven Hesse
a78ddb8488 GOB: Handle VMD subtitles again
svn-id: r51916
2010-08-08 01:05:46 +00:00
Sven Hesse
e6f5785436 GOB: Fix a VMD slot seeking regression
svn-id: r51914
2010-08-08 01:04:46 +00:00
Sven Hesse
f40b128bd9 GOB: Partly fixing VMD slot playing
svn-id: r51913
2010-08-08 01:04:19 +00:00
Sven Hesse
cebc1aca81 GOB: Fix playing of slot videos
The actual frame content is still not there, though :P

svn-id: r51911
2010-08-08 01:03:21 +00:00
Sven Hesse
bab55f3a1d GOB: Adapt the remaining bits to the new VideoPlayer interface
svn-id: r51895
2010-08-08 00:55:27 +00:00
Sven Hesse
4415953393 GOB: Add constants for different surfaces/sprites
Add
static const int kFrontSurface   = 20;
static const int kBackSurface    = 21;
static const int kAnimSurface    = 22;
static const int kCursorSurface  = 23;
static const int kCaptureSurface = 30;
to class Draw and substitute the raw numbers in other files with
those aliases, for readability.

svn-id: r51852
2010-08-08 00:35:18 +00:00
Sven Hesse
f8a43ee35f GOB: Stub the new VideoPlayer interface
This is will be the new, less convoluted interface for playing videos
within the gob engine. No actual functionality is implemented yet, and
old functions are mostly commented out for now.

svn-id: r51851
2010-08-08 00:34:33 +00:00
Sven Hesse
a802e1e64f VIDEO: Stub a VideoDecoder-like CoktelDecoder
This creates a new CoktelDecoder class using the VideoDecoder
interface, which will eventually become the new way to decode
PreIMD, IMD and VMD videos.
Since the VideoPlayer in gob is not yet ready for this, we're
disabling all video playback in the gob engine for now.

svn-id: r51850
2010-08-08 00:33:59 +00:00
Sven Hesse
f5e9aa67c4 Changing stuff around a bit so alignment requirements won't increase
svn-id: r42857
2009-07-28 15:19:55 +00:00
Sven Hesse
f832d0fc56 Silencing two "empty loop body" warnings
svn-id: r42856
2009-07-28 15:05:44 +00:00
Sven Hesse
adc537161a Adding subtitle support to Woodruff
svn-id: r42705
2009-07-24 21:31:00 +00:00
Sven Hesse
88062e90a0 Plugging some memory leaks
svn-id: r41859
2009-06-25 10:54:35 +00:00
Sven Hesse
d03dc08b64 Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own class
svn-id: r41839
2009-06-24 21:49:37 +00:00
Sven Hesse
7d005f62c3 Putting evalBoolResult() and evalExpr() into Script
svn-id: r41760
2009-06-22 10:29:32 +00:00
Sven Hesse
962fc19b57 Encapsulating script file access
svn-id: r41753
2009-06-22 10:13:37 +00:00
Max Horn
0989bb0b90 GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
svn-id: r41299
2009-06-06 20:03:13 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Sven Hesse
f1b0e379d1 Only try playing object videos when the game version supports that (only Woodruff, for now)
svn-id: r32737
2008-06-19 16:27:49 +00:00
Sven Hesse
7227ddb6fa Changed anim/static PieceDesc loading, to allow for more sanity checks.
This should take care of all invalid reads in renderStatic(), updateStatic() and updateAnim()

svn-id: r32292
2008-05-26 15:29:12 +00:00
Sven Hesse
afa92cf083 Added updateStatic()'s sanity checks to renderStatic() as well.
Fixes an invalid read when entering the red light district

svn-id: r32246
2008-05-24 14:54:22 +00:00
Sven Hesse
5127f1a8f1 Fixing the "object videos not minding drawing order / limits" glitch in Woodruff
svn-id: r32146
2008-05-17 04:07:16 +00:00
Sven Hesse
85d28316ac Implemented support for object videos with more than 256 frames, this fixes a lockup when entering the bar
svn-id: r32087
2008-05-13 15:52:01 +00:00
Sven Hesse
220d6ce82f Restructured sound code
svn-id: r31937
2008-05-08 00:47:23 +00:00
Sven Hesse
5681ae1e82 Draw order related fixes.
This also (finally) fixes the Gob3 draw order glitch (for real, this time)

svn-id: r31915
2008-05-07 02:56:18 +00:00
Sven Hesse
a666136b8e Fixing object video related segfault
svn-id: r31797
2008-05-01 18:38:36 +00:00
Sven Hesse
ab1a3b0cc8 Implemented support for VMDs substituting object animations.
Still far from being complete (and correct), but it's a start...

- Only VMD "command" -3 is followed
- Not all animation types are working
- Timing is still off in most cases
- Offsets are generally OK, but not always
- No sound yet
- Shouldn't segfault randomly, but I'm not entirely sure ;)

svn-id: r31750
2008-04-27 03:19:19 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Sven Hesse
1f80f1f47e Fixing the scenery/overlay redrawing in Woodruff
svn-id: r29324
2007-10-30 10:47:24 +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
Sven Hesse
e151167dd8 Some more safety checks and the first room's background can be seen
svn-id: r28204
2007-07-25 21:02:30 +00:00
Chris Apers
546fcc6195 Fixed invalid read from odd address in some cases (Gob1 EGA on PalmOS)
svn-id: r27487
2007-06-16 20:30:32 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Sven Hesse
3260684066 Fixed the background glitch
svn-id: r26438
2007-04-09 16:56:47 +00:00
Sven Hesse
ec5a9eee31 - Minor cleanup
- Added Inter_v3 (for new opcode o3_getTotTextItemPart)
- Some fixes to let Gob3 start with the first screen

svn-id: r26383
2007-04-05 13:37:20 +00:00
Sven Hesse
53119f2c5d "char *" -> "byte *" where appropriate
svn-id: r26369
2007-04-02 11:05:09 +00:00
Sven Hesse
33c6a6f460 Fixing curly bracket style
svn-id: r26326
2007-03-29 21:03:32 +00:00
Sven Hesse
2dc7cb2cd4 Major clean-up, including:
- Cutting down the code-dup
- Plucking leaks
- Removing dead/unused code
- Properly naming "word_2342F"-style variables and functions (removing the warnings alongside)
- Fleshing out the "stubby" functions
- Moving functions and variables to more appropriate/logical places
- Re-ordering functions and variables
- Re-structuring functions
- Moving the IMD stuff into a new "Imd" class in the new imd.cpp/.h (still to be completely implemented and cleaned up)
- Formatting
- Getting rid off the classes "Anim", "Pack" and "Timer", along with their files

svn-id: r26252
2007-03-20 14:51:57 +00:00
Sven Hesse
65bb902be9 - Fixed the actor freeze issue in the garage in Bargon Attack
- Some minor fixes

svn-id: r25921
2007-03-02 11:37:42 +00:00
Sven Hesse
5df29654fc - Added a warning when o1_checkData()/o2_checkData() can't find the file it's supposed to check
- Fixed the actor drawn over the background glitch in Bargon Attack
- Plugged some leaks

svn-id: r25651
2007-02-17 09:56:09 +00:00
Sven Hesse
b30c615165 Fixed the loading delay bug I introduced with the playing from CD fix (#1626308)
svn-id: r25006
2007-01-05 18:16:05 +00:00