55 Commits

Author SHA1 Message Date
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
Sven Hesse
53119f2c5d "char *" -> "byte *" where appropriate
svn-id: r26369
2007-04-02 11:05:09 +00:00
Sven Hesse
623ca88022 - Properly implemented the ImdPlayer
- Some more clean-up

svn-id: r26316
2007-03-29 17:55:39 +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
Max Horn
8ba2a5bb83 GOB: use EventManager::getMousePos and some cleanup
svn-id: r26220
2007-03-18 18:10:34 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn
15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Sven Hesse
d706d8e4c0 Implemented vertical scrolling
svn-id: r25401
2007-02-06 14:42:05 +00:00
Sven Hesse
d2b8787dd5 - Fixed the palette animations
- Changed waitRetrace() to take some time, because the scrolling speed is tuned to the retrace delays

svn-id: r25319
2007-02-01 10:42:27 +00:00
Sven Hesse
0058049e32 Added a proper workaround for the race condition in the script when opening the notepad, which was apparently causing bug #1621089
svn-id: r25255
2007-01-29 17:59:28 +00:00