Commit Graph

64 Commits

Author SHA1 Message Date
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
Sven Hesse
04afb9bc7d Using KEYCODE_f and KEYCODE_g instead of 'f' and 'g' to check for fast-mode-keys
svn-id: r27669
2007-06-23 15:09:22 +00:00
Max Horn
2b23374468 Converted lots of code to use Common::ASCII_* and COMMON::KEYCODE_* constants. This also revealed the evil mixing of keycodes and ascii we do in many places :-/
svn-id: r27616
2007-06-22 20:04:44 +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
339c39f8b7 Possible fix for bug #1709124 ("GOB3: (dos/russian) just dont run")
svn-id: r26665
2007-04-28 21:16:13 +00:00
Sven Hesse
28df3debfd - Fixed handling of the case split screen + vertical scrolling area
- Added manual vertical scrolling
- Restricting the mouse cursor to the upper part of the split screen now

svn-id: r26547
2007-04-19 13:51:57 +00:00
Sven Hesse
245d8fa63d Changed processInput() to use the ascii value instead of the keycode, so that upper-case characters work
svn-id: r26540
2007-04-17 07:19:23 +00:00
Sven Hesse
bdadeb1313 Mouse button presses shouldn't repeat. Fixes "cut-scene" after the idol part in Gob3 Amiga
svn-id: r26523
2007-04-16 05:05:35 +00:00
Sven Hesse
1b71599d86 MSVC8 apparently complains about uninitialized variables there, fixing (see bug #1700986)
svn-id: r26495
2007-04-15 13:41:54 +00:00
Sven Hesse
e5de883ccf Implemented fast modes: CTRL-f for double and CTRL-g for triple speed
Though I think it shouldn't break anything, use it at your own risk

svn-id: r26461
2007-04-13 19:55:09 +00:00
Sven Hesse
7370c5aa12 The scrolling now works without cursor jittering...
svn-id: r26458
2007-04-13 07:48:26 +00:00
Sven Hesse
a17df6e4c6 Some Gob3 fixes:
- wrong positioning of the inventory
- walking
- close-up fadeing in the CD version

svn-id: r26390
2007-04-06 13:30:09 +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