Commit Graph
99 Commits
Author SHA1 Message Date
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 dfc7a242f5 Properly close the object videos when the objects are destroyed
svn-id: r31856
2008-05-04 02:26:25 +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 ea5482e6b1 Changed signess of some drawing order related vars, fixing a drawing glitch in Gob3
svn-id: r31792
2008-04-30 20:07:33 +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 a513f0f43a Added a workaround of sorts for Inca2. It's essentially playable, sans saving, space shooter and correct speech language selection
svn-id: r31032
2008-03-02 23:57:29 +00:00
Jordi Vilalta Prat d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +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 3778d8619f Fixed the cutscenes in the CD version of Lost in Time
(There's still something wrong with the second one, the one with the agent, though. Probably has to do with the sound key command 10)

svn-id: r28693
2007-08-21 20:44:32 +00:00
Sven Hesse 5bacb6edee Woodruff is now controllable
svn-id: r28591
2007-08-13 14:04:50 +00:00
Eugene Sandulenko 8b5f0624f5 Make resolution change in Lost in Time less wacky.
svn-id: r28437
2007-08-03 21:09:41 +00:00
Sven Hesse 055e6654e5 Lost in Time's title is shown correctly now.
The size switching looks a bit whacky, but that's what the game does :)

svn-id: r28435
2007-08-03 17:51:36 +00:00
Sven Hesse e802f067cd Lost in Time now (kind of) shows the title and the wobble-effect is drawn
svn-id: r28433
2007-08-03 15:18:00 +00:00
Sven Hesse a865457d73 Added Lost in Time. The title screen doesn't show and the wobble-effect isn't there, but the game is (partly?) playable.
svn-id: r28414
2007-08-02 19:07:47 +00:00
Sven Hesse 34292a6b58 Minor DataIO-cleanup
svn-id: r28349
2007-07-31 01:43:32 +00:00
Sven Hesse f06f150c76 Restructured and cleaned-up IMD playing
svn-id: r28327
2007-07-30 15:53:38 +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 09c2ea82de - Separated game type and features
- Added feature constants for a 640x480 resolution and adlib
- Added support for game with a 640x480 resolution. Woodruff now inits the screen before it segfaults

svn-id: r28185
2007-07-24 23:24:40 +00:00
Sven Hesse d95056ce78 Fixing bug #1749688 ("GOB3: Objects Disappear")
svn-id: r28181
2007-07-24 06:11:38 +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 0504f18e9f - Added a workaround for bug #1705338 (Seg fault when trying to switch screen in music land) which is actually a script bug.
- Fixed the scrolling bug (#1709574) (the mouse cursor is still shown, that's an instance of the global cursor visibility issue)

svn-id: r27010
2007-05-30 10:20:21 +00:00
Sven Hesse 8d7d61f1f6 Some more small fixes. Gob3 is completable now :)
svn-id: r26556
2007-04-21 20:13:15 +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
Paweł Kołodziejski ae7c640671 fixed warnings
svn-id: r26506
2007-04-15 15:40:24 +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 4bbb951c8e Fixed the wrong sound issue (laughing instead of a "whooosh" sound) in Gob3's second screen
svn-id: r26445
2007-04-09 20:17:10 +00:00
Sven Hesse 0d99a362e9 Some fixes for the Gob3 demos
svn-id: r26435
2007-04-09 14:00:23 +00:00
Sven Hesse dee8a04168 Restructured saving/loading. Should work for Gob3 now, too...
svn-id: r26414
2007-04-08 00:08:26 +00:00
Sven Hesse ce8bfbb46e Implemented scrolling and split screen (for the text field, the bottom 40 lines) in Gob3
svn-id: r26387
2007-04-05 19:20:12 +00:00
Sven Hesse 96c6ae041f Added save/load stub for Gob3, recognizing the use of "INTRO.$$$" as an extra background buffer
svn-id: r26386
2007-04-05 16:04:59 +00:00
Sven Hesse f2c1600c3d Added GobOpcodes 1 and 2 (start and stop Infogrames music)
svn-id: r26385
2007-04-05 15:38:30 +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 d65e05841a - Fixed the IMD playing within mults, the non-interactive Gob3 demo should work better now
- Replaced strcpy with strncpy where appropriate
- Added detection entries for other languages of the multilingual Gob3 CD; bug #1691230

svn-id: r26327
2007-03-30 17:52:31 +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
Sven Hesse 693d474502 Corrected the initial drawing position of 101-anims (e.g. the guard monster in the beach screen in Bargon Attack)
svn-id: r25991
2007-03-05 11:27:18 +00:00
Sven Hesse 2a871cfef2 - Some minor fixes
- Added the Gob2 Mac version fac76 reported in bug #1673397

svn-id: r25977
2007-03-04 15:34:58 +00:00
Sven Hesse 65bb902be9 - Fixed the actor freeze issue in the garage in Bargon Attack
- Some minor fixes

svn-id: r25921
2007-03-02 11:37:42 +00:00
Sven Hesse 5df29654fc - Added a warning when o1_checkData()/o2_checkData() can't find the file it's supposed to check
- Fixed the actor drawn over the background glitch in Bargon Attack
- Plugged some leaks

svn-id: r25651
2007-02-17 09:56:09 +00:00
Torbjörn Andersson 16e7a12878 Some very obvious cleanups.
svn-id: r25635
2007-02-16 17:13:29 +00:00
Sven Hesse 77c70d4ee7 - Changed the square wave generator / speaker emulation, hopefully fixing the walking sound issue (#1621086)
- Fixed some misplaced actor glitches in Bargon

svn-id: r25585
2007-02-14 16:36:17 +00:00
Sven Hesse ffdd3522bf More demo version fixes
svn-id: r25532
2007-02-12 19:30:52 +00:00
Sven Hesse 6b2d843680 - Some fixes for demos and Amiga versions
- Improved language finding a bit

svn-id: r25520
2007-02-12 12:53:28 +00:00
Sven Hesse d706d8e4c0 Implemented vertical scrolling
svn-id: r25401
2007-02-06 14:42:05 +00:00
Sven Hesse 7f26069f69 - Moved struct Mult_Data from Mult_v2 to Mult and merged Mult::_multData, Mult::_multData2 and some of the loose variables in Mult
- Added some missing MD5s/game versions (#1652352)

svn-id: r25393
2007-02-05 14:08:50 +00:00
Sven Hesse 0ed752aa6e - Moved the specific interrupt frequency of 80 Hz out of class Infogrames into the GobEngine's Infogrames instances
- Changed the 80 Hz to 75 Hz, which is more true to the original

svn-id: r25389
2007-02-04 15:59:05 +00:00
Sven Hesse f54a97a02c - Plugged some leaks and fixed some memory errors
- Fixed the cursor animation loops in Ween and Bargon
- Added Draw_Bargon + Inter_Bargon
- Implemented Bargon Attack's hardcoded intro parts

svn-id: r25387
2007-02-04 15:45:15 +00:00