76 Commits

Author SHA1 Message Date
Sven Hesse
078162c665 GOB: Add setExtension()
svn-id: r55639
2011-01-29 22:50:11 +00:00
Sven Hesse
ce3d4b5d1b GOB: Add GobEngine::isCurrentTot()
svn-id: r55630
2011-01-29 22:45:51 +00:00
Sven Hesse
0c3a33c354 GOB: Change _curTotFile and _totToLoad into Common::String
svn-id: r55629
2011-01-29 22:45:15 +00:00
Sven Hesse
bad7f1ce9a GOB: Implement "live" (non-blocking) videos
Many thanks to SylvainTV. :)
Urban Runner might actually be completeable now.
One caveat: Hotspots at that hotel sequence are a bit glitchy...

svn-id: r55333
2011-01-19 18:57:43 +00:00
Arnaud Boutonné
cb6efae5af GOB: Replace strncmp by scumm_stricmp when possible
svn-id: r53774
2010-10-24 20:36:47 +00:00
David Turner
6527c01cb5 GOB: Add Debug Console.
This allows interactive control of debug flags and variables and provides a base to allow
for commands to aid in tracking down script bugs which are tricky to replicate.

svn-id: r53398
2010-10-13 03:49:54 +00:00
Sven Hesse
e68b6e9f15 GOB: Remove dither stuff, commenting out most v6 drawing
svn-id: r52945
2010-09-30 13:00:30 +00:00
Arnaud Boutonné
58987824c2 Gob - Follow cppcheck advices
svn-id: r52106
2010-08-15 23:37:56 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Arnaud Boutonné
5535554455 Gob - Add a workaround for gob3 Sofa bug #2867294. It's now possible to exit the animation by clicking
svn-id: r45353
2009-10-23 22:00:51 +00:00
Arnaud Boutonné
66233031d7 revert r44542: the fix reopens another previous bug
svn-id: r44553
2009-10-03 13:40:55 +00:00
Arnaud Boutonné
f915a46e1f Fix for bug ref#2867294 (hopefully)
svn-id: r44542
2009-10-02 17:50:56 +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
87124b1d38 Removing _frameWaitLag. It broke normal animation speed in pre-v4 games and didn't even do what it was supposed to in v4+ games anyway. (bug #2830985)
svn-id: r42996
2009-08-02 10:40:48 +00:00
Sven Hesse
3823ae285f Giving Font its own real class
svn-id: r42277
2009-07-09 02:54:10 +00:00
Sven Hesse
d6c99ae861 Renaming FontDesc::extraData to charWidths
svn-id: r42149
2009-07-05 19:57:55 +00:00
Sven Hesse
e861fab808 Added a Key and ShortKey enum
svn-id: r42121
2009-07-05 11:27:11 +00:00
Sven Hesse
704895b35f Commenting prepareStr a bit and renaming it to cleanupStr
svn-id: r42120
2009-07-05 11:26:42 +00:00
Sven Hesse
d2c2386c6a Adding an enum MouseButtons
svn-id: r42119
2009-07-05 11:26:23 +00:00
Sven Hesse
48a8e69546 Fixed an animation speed regression that got introduced when I added a lag compensation for Woodruff
svn-id: r41508
2009-06-14 12:19:42 +00:00
Sven Hesse
2901694486 Demoplayer:
- Fixing the flawed double mode
- Adding an "auto" double mode, where the videos get scaled if possible

svn-id: r41294
2009-06-06 19:06:47 +00:00
Sven Hesse
1894173852 Adding a pause mode
svn-id: r41228
2009-06-06 16:47:21 +00:00
Sven Hesse
e643565c2c Compensate small lags in Util::waitEndFrame(), so that the CD audio intro sequences in Gob1 and Gob2 CD hopefully won't de-sync so easily
svn-id: r38702
2009-02-21 15:58:50 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Sven Hesse
5f8323bd50 Plugging leaks
svn-id: r35355
2008-12-14 04:33:28 +00:00
Sven Hesse
126c5a1dc8 More modified collision stuff for Urban Runner. The hotspots are correctly recognized now
svn-id: r35350
2008-12-14 02:09:03 +00:00
Sven Hesse
1ec33154fd Ooops :)
svn-id: r35119
2008-11-18 20:16:50 +00:00
Max Horn
6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Sven Hesse
7eaad9da66 Actually, /now/ the values are sane ^^; (also fixes Ween mouse position bug #2046244)
svn-id: r34411
2008-09-07 15:29:47 +00:00
Sven Hesse
a7d917ea43 Clipping setMousePos() parameters to sane values
svn-id: r34409
2008-09-07 15:21:52 +00:00
Christopher Page
30b1a62e81 Removed unnecessary #inlcudes
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0 Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
a43f016b94 GOB works with the new GMM implementation
svn-id: r32955
2008-07-08 00:16:55 +00:00
Christopher Page
c14804e22f Added main menu dialog files. Gob is now using the new _quit flag
svn-id: r32771
2008-06-24 23:19:23 +00:00
Sven Hesse
220d6ce82f Restructured sound code
svn-id: r31937
2008-05-08 00:47:23 +00:00
Sven Hesse
001adf1bb3 Enabled scrolling in Woodruff
svn-id: r31855
2008-05-04 01:02:27 +00:00
Sven Hesse
edff41b1c3 Correct o2_initScreen() for Woodruff (screen positioning, clipping and cursor limiting)
svn-id: r31846
2008-05-03 20:08:46 +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
Sven Hesse
5878f701c1 Fixed some Lost in Time bugs:
- CD cutscenes are drawn correctly know
- CD cutscenes are (more) correctly synced now
- The cursor doesn't flicker anymore when a video is played in the background

svn-id: r31014
2008-02-29 22:24:52 +00:00
Lars Persson
ec0804eb23 - Updated default char signing to signed (as per PC) in makefiles
- Fix for Symbian scrolling problem in GOB3, expressions not evaluated properly resulting in offset beeing set to -1 and not the right offset.

svn-id: r30703
2008-01-29 21:19:45 +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
8d09c1a3ad Don't crash at getRandom(0)
svn-id: r28411
2007-08-02 16:21:49 +00:00
Sven Hesse
f06f150c76 Restructured and cleaned-up IMD playing
svn-id: r28327
2007-07-30 15:53:38 +00:00
Sven Hesse
3d2c1c5ab8 - Added Inter_Woodruff, alongside with the first Stub (OpcodeFunc 0x18)
- Yet another safety check
- Removed another hard-coded screen height

svn-id: r28205
2007-07-25 21:48:47 +00:00
Sven Hesse
8953674a2f Fixed the FIXME (by making Util::_keyBuffer an array of Common::KeyState)
svn-id: r27679
2007-06-23 17:00:27 +00:00
Max Horn
ea5bce6a3c Added GOB FIXME
svn-id: r27671
2007-06-23 15:59:00 +00:00