Commit Graph

44 Commits

Author SHA1 Message Date
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Sven Hesse
65bc46d3ab GOB: Add Script::evalInt() and Script::evalString()
svn-id: r55634
2011-01-29 22:47:53 +00:00
Sven Hesse
f33b84ff3d GOB: Fix Woodruff object videos
svn-id: r55289
2011-01-18 07:03:42 +00:00
Sven Hesse
835455798f GOB: Remove the now useless helper.h
svn-id: r53491
2010-10-15 13:55:18 +00:00
Sven Hesse
5c48c3fd2b GOB: Remove strncpy0()
Replacing it (and some strncpy + manual terminating) with
Common::strlcpy()

svn-id: r53490
2010-10-15 13:54:23 +00:00
Sven Hesse
3ab8bf16a2 GOB: Create 16bit surfaces for true color games
Enabling basic Urban drawing again

svn-id: r52949
2010-09-30 13:03:22 +00:00
Sven Hesse
51fd528fe5 GOB: Change all drawing to use class Surface
svn-id: r52947
2010-09-30 13:02:16 +00:00
Eugene Sandulenko
b6d1c45bb7 GOB: Fix warnings about potentially uninitialized vars.
svn-id: r52142
2010-08-17 10:19:06 +00:00
Sven Hesse
8f621b3d2c GOB: Make o4_playVmdOrMusic use the new VideoPlayer interface
svn-id: r51876
2010-08-08 00:46:57 +00:00
Sven Hesse
256a27350a Changed the scroll-handling to be more like the original. This fixes bug #2832362 ("GOB3: Scrolling locked after cutscene")
svn-id: r43147
2009-08-08 21:43:07 +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
Sven Hesse
1dafcabb43 Encapsulated access to _resultStr
svn-id: r41751
2009-06-22 10:11:53 +00:00
Sven Hesse
6c47f9f4f8 Changed opcodeGob to be functor-based
svn-id: r41603
2009-06-17 04:16:51 +00:00
Sven Hesse
8615c57791 Changed opcodeFunc to be functor-based
svn-id: r41602
2009-06-17 04:16:21 +00:00
Sven Hesse
25c92dfdef Changed opcodeDraw to be functor-based
svn-id: r41601
2009-06-17 04:15:45 +00:00
Sven Hesse
434be5c65a Renamed _inter_resStr to _resultStr
svn-id: r41575
2009-06-15 23:11:29 +00:00
Sven Hesse
67a9ff7dd3 Moving _inter_resVal and _inter_resStr from Global to Parse
svn-id: r41573
2009-06-15 23:10:51 +00:00
Sven Hesse
64a920d52f Renamed the evaluateStore opcodes to assign, because that's what they are
svn-id: r41312
2009-06-06 23:39:58 +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
Sven Hesse
1656f69183 Replacing NULL with 0, since that's normally the C++-way
svn-id: r41059
2009-05-31 03:32:16 +00:00
Sven Hesse
10b1b28610 Splitting a few helper functions out of gob.h
svn-id: r40765
2009-05-21 17:12:33 +00:00
Sven Hesse
4ceecdb25f Preliminary save/load support for Urban Runner
svn-id: r35418
2008-12-18 02:48:15 +00:00
Sven Hesse
f825ccd63f Script fix. Magnifier, Memory and Save/Load, while still not working correctly, don't crash the game anymore
svn-id: r35385
2008-12-15 16:01:39 +00:00
Sven Hesse
68dcb1ffee Background "music" for Urban Runner, though only 8bit for now
svn-id: r35352
2008-12-14 03:44:39 +00:00
Sven Hesse
353a239bdb Preliminary support for extra data and scripts in video files (urgh, this is so...vile).
Used in The Last Dynasty, which now plays a bit further (the video sequences, at least)

svn-id: r35227
2008-12-03 22:14:47 +00:00
Sven Hesse
8da68b2964 Script variables are now always stored in the game version's native endianess.
This should make Woodruff playable on big-endian systems.

svn-id: r32352
2008-05-28 21:15:11 +00:00
Sven Hesse
59df762f0a More split screen fixes.
I never get tired out those... ;)

svn-id: r32308
2008-05-26 22:02:20 +00:00
Sven Hesse
da222b1a48 Added a workaround for the nut rolling animation in the administration center in Woodruff
svn-id: r32269
2008-05-25 13:02:23 +00:00
Sven Hesse
4e785a9e73 Changing the split stuff again, fixing several scrolling and hotspot-text related issues
svn-id: r32161
2008-05-17 23:55:04 +00:00
Sven Hesse
6e13bde213 Changing debug channels a bit
svn-id: r32157
2008-05-17 19:01:00 +00:00
Sven Hesse
18db41db50 Implemented the background "music" / atmospheric sounds in Woodruff
svn-id: r31949
2008-05-08 15:51:02 +00:00
Johannes Schickel
29c79704fa Fixed warning on 64bit systems introduced with r31940.
svn-id: r31945
2008-05-08 11:24:39 +00:00
Torbjörn Andersson
500237d8ed GCC says these are ints, not long ints. Adjust the format strings accordingly.
svn-id: r31940
2008-05-08 04:48:55 +00:00
Sven Hesse
220d6ce82f Restructured sound code
svn-id: r31937
2008-05-08 00:47:23 +00:00
Sven Hesse
455a167b9d Fixing the object video offsets
svn-id: r31795
2008-05-01 03:00:51 +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
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
2e9ca7bf85 Still partly broken/stubby VMD playing
svn-id: r28363
2007-07-31 18:16:33 +00:00
Sven Hesse
4c2ec23de7 Added a few stub messages
svn-id: r28333
2007-07-30 18:35:16 +00:00
Sven Hesse
459868da77 sub0x18 is o2_addCollision().
It already existed in Gob2 (alongside with sub0x19 - o2_freeCollision()), but wasn't used there.
Hotspots and menus work now (in a way)

svn-id: r28207
2007-07-26 01:01:00 +00:00
Sven Hesse
88f265d584 Renamed Inter_Woodruff to Inter_v4
svn-id: r28206
2007-07-25 22:55:00 +00:00