Sven Hesse
4e0485197f
Fixing a segfault in the Bargon Attack menu
...
svn-id: r33896
2008-08-15 10:47:42 +00:00
Sven Hesse
c1ec21d999
Changed tricky variable access from pointers to a new class that minds endianess.
...
This should fix a few regressions with BE games on LE systems and vice versa that I introduced when I changed how variables are stored (which was necessary to get Woodruff work on BE systems).
svn-id: r33014
2008-07-12 15:21:38 +00:00
Sven Hesse
14c411e90b
Fixing the "meteor fragment and bluxtre pulp not drawn"-glitch by not closing the object video right when it finished playing through
...
svn-id: r32172
2008-05-18 15:02:01 +00:00
Sven Hesse
5127f1a8f1
Fixing the "object videos not minding drawing order / limits" glitch in Woodruff
...
svn-id: r32146
2008-05-17 04:07:16 +00:00
Sven Hesse
85d28316ac
Implemented support for object videos with more than 256 frames, this fixes a lockup when entering the bar
...
svn-id: r32087
2008-05-13 15:52:01 +00:00
Sven Hesse
220d6ce82f
Restructured sound code
...
svn-id: r31937
2008-05-08 00:47:23 +00:00
Sven Hesse
9d5eea2d2c
Sound in object videos works now, too
...
svn-id: r31916
2008-05-07 03:49:53 +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
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
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
b48a14734b
(Finally) fixed the turning around counterclockwise in Lost in Time.
...
svn-id: r28488
2007-08-08 03:42:33 +00:00
Sven Hesse
f06f150c76
Restructured and cleaned-up IMD playing
...
svn-id: r28327
2007-07-30 15:53:38 +00:00
Sven Hesse
d95056ce78
Fixing bug #1749688 ("GOB3: Objects Disappear")
...
svn-id: r28181
2007-07-24 06:11:38 +00:00
Sven Hesse
ac0c380268
Fixing scrolling issue in "IDOL"-screen (bug #1734007 )
...
svn-id: r27248
2007-06-09 13:32:31 +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
c5e7eaf7db
This should fix bug #1694830
...
svn-id: r26382
2007-04-05 13:36:26 +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
33c6a6f460
Fixing curly bracket style
...
svn-id: r26326
2007-03-29 21:03:32 +00:00
Sven Hesse
046fe5060b
Formatting (Take that, LordHoto! ;P)
...
svn-id: r26324
2007-03-29 20:49:37 +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
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
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
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
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
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
7101c0ef26
- Correctly setting of Snd::_playingSound
...
- Implemented sound fading in/out
- o2_stub0x81 -> o2_scroll
svn-id: r25307
2007-01-31 13:17:50 +00:00
Sven Hesse
cb8378065d
- Changed _soundFlags and implemented "compositions"
...
- Changed Snd to be a permanent audiostream, to have better control over stopping, looping and compositions
- Some clean-up
svn-id: r25292
2007-01-30 22:19:55 +00:00
Sven Hesse
36a54218b1
- Another attempt at fixing the immediately-closing notepad heisenbug ( #1621089 )
...
- Implemented wide surfaces + scrolling
- Some clean-up
svn-id: r25253
2007-01-29 17:04:37 +00:00
Sven Hesse
604077827f
- Some clean-up
...
- Fixed sound playing and looping
- Changed Paula to use non-absolute panning, defaulting to 0.25/0.75 and 0.75/0.25, as per madmoose's suggestion
- Prepared/Cleaned-up Paula and Infogrames for the move to sound/mods/
svn-id: r25189
2007-01-25 14:18:12 +00:00
Eugene Sandulenko
24c9735588
Rename special debug levels to conform our suggested naming scheme.
...
svn-id: r25073
2007-01-13 15:35:02 +00:00
Sven Hesse
17700e2b52
Fixed a walking animations related mistake
...
svn-id: r24867
2006-12-17 21:21:26 +00:00
Sven Hesse
9afb08341c
- Properly implemented o2_getCDTrackPos()
...
- Each save has now its own file (.s??). They also should be endian-safe now
(Can be disabled for testing by uncommenting #define GOB_ORIGSAVES in gob.cpp)
- General endianness-fixes
svn-id: r24794
2006-11-27 14:19:30 +00:00
Sven Hesse
2768fa24fc
- Fixed the crashes in Gob1 EGA and Gob2 Demo
...
- Fixed the compile error in GobEngine::saveGame on some systems
svn-id: r24756
2006-11-21 13:28:45 +00:00
Sven Hesse
c22920484a
Changed the way sprites-freeing is handled, now the menu sprites and window decorations are drawn
...
svn-id: r24752
2006-11-20 13:03:30 +00:00
Sven Hesse
195a46477f
Closing bug #1593768 (Logical and should probably be bitwise and)
...
svn-id: r24667
2006-11-09 22:05:57 +00:00
Sven Hesse
1c4715b71f
- Some more goblins-handling functions
...
- Fixed some mistakes I made in the Parse_v2 functions. Now the goblins
(finally) move. Also, the correct music is played in the first screen.
- Found the hook for the menu
- On freeing a sound slot, only stop the playing music if it's in the
slot to free
svn-id: r23700
2006-08-12 09:16:08 +00:00
Sven Hesse
b7997a7231
- Fixed a few mistakes that added up to look correct, fixing bargon's cursor
...
- Updated cursor drawing in general
svn-id: r23429
2006-07-08 16:37:23 +00:00
Sven Hesse
27a8b8a255
- Renamed a few mult-variables to something more fitting
...
- Fixed a small mistake, making the entering animation work
- Correcting Game_v2::playTot() so that the loading screen is shown
- Updated most of the collisions stuff, the objects names hint stuff works now
svn-id: r23346
2006-06-29 12:55:57 +00:00
Sven Hesse
a709eb05b7
More READ_LE_* -> MemoryReadStream conversion + minor cleanup
...
svn-id: r23089
2006-06-13 17:02:53 +00:00
Sven Hesse
796b001b4f
Fixing loading of Scenery::_animations[] + small gob2 cleanup
...
svn-id: r23066
2006-06-12 21:33:30 +00:00
Sven Hesse
5c630a4e63
Small corrections and cleanup for Gob2, fixing the graphical glitches in the intro
...
svn-id: r23060
2006-06-12 10:55:53 +00:00
Sven Hesse
897fa6a5a6
More stub-filling + small clean-up
...
svn-id: r23012
2006-06-10 14:37:48 +00:00
Sven Hesse
34dae22c1a
More goblin handling functions, now the deactivated goblin shows
...
his boredom. It's the wrong goblin that's deactivated, though.
Also, the entering animation is still missing (now nothing is drawn
instead).
svn-id: r22979
2006-06-07 18:49:20 +00:00