Simon Delamarre
6a1e2d5d21
GOB: misc format/style/typo fixes in Adibou2 changes
2022-12-02 11:44:35 +01:00
Simon Delamarre
19476c96a5
GOB: split the big "updateAnim" function
2022-12-02 11:44:34 +01:00
Simon Delamarre
e67c5be5a5
GOB: fix disappearing sprites issues in Adibou2
2022-12-02 11:44:27 +01:00
Simon Delamarre
44c724db55
GOB: more video object glitches fixes in Adibou2
2022-12-02 11:44:27 +01:00
Simon Delamarre
da923e24c1
GOB: Mult_object field_38 is videofile metadata, equivalent to 'slot' field
2022-12-02 11:44:27 +01:00
Simon Delamarre
f2812c1b3b
GOB: fix animation crash in Adibou2
2022-12-02 11:44:26 +01:00
Simon Delamarre
79a8634143
GOB: a few animation fixes in Adibou2
2022-12-02 11:44:25 +01:00
Simon Delamarre
f132bd0c18
GOB: bugfix character animation using incorrect sprites
2022-12-02 11:44:24 +01:00
Simon Delamarre
7ed26da61b
GOB: implement y-axis reflection, needed by some character animations
...
Some animations for characters moves do not exist for "east" directions (E, NE, SE), but are obtained by symmetry from "west" ones (W, NW, SW).
2022-12-02 11:44:24 +01:00
Simon Delamarre
c0f76d7578
GOB: Adibou2 characters path computation
2022-12-02 11:44:24 +01:00
Simon Delamarre
24b6eeb0a0
GOB: Adibou2 characters animations
2022-12-02 11:44:24 +01:00
Simon Delamarre
35eceb6bd3
GOB: draw sprites when animation < 0 without associated VMD
2022-12-02 11:44:23 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
8d91d66a15
GOB: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Johannes Schickel
ea21bc939a
GOB: Make GPL headers consistent in themselves.
2014-02-18 02:39:34 +01:00
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