Max Horn
7bf493939b
Fix for bug #1746059 (WEEN: The intro hangs, and sound is corrupted)
...
svn-id: r27832
2007-07-01 18:40:35 +00:00
Max Horn
d35861fc4a
Changed GOB to use common/frac.h
...
svn-id: r27763
2007-06-28 20:09:58 +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
2653b70b0c
Fixed regression that was added when making it compile with MSVC8
...
svn-id: r26521
2007-04-16 05:03:52 +00:00
Sven Hesse
c8396a283d
Fixing compile for me, hopefully not breaking it for the MSVC8 again...
...
svn-id: r26508
2007-04-15 16:26:12 +00:00
Paweł Kołodziejski
ae7c640671
fixed warnings
...
svn-id: r26506
2007-04-15 15:40:24 +00:00
Sven Hesse
3c62df7dfe
Removed the need for double<->int conversions in readBuffer()
...
svn-id: r26493
2007-04-15 12:46:31 +00:00
Sven Hesse
6895085dff
Moving the mutex locking out of the loop
...
svn-id: r26460
2007-04-13 13:09:00 +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
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
Max Horn
73188b4716
'Optimized' SquareWaveStream::readBuffer a bit, removed some dead code, and changed Snd::terminate to a destructor (this ensures client code can't forget to do just that -- not that we'd ever forget ... ;-)
...
svn-id: r25884
2007-02-26 20:41:52 +00:00
Max Horn
1c80f2ffa0
calling memset to zero a buffer you are about to fill with audio data is not necessary (removing this from Gob::Snd::readBuffer); removed dead code
...
svn-id: r25883
2007-02-26 20:32:43 +00:00
Willem Jan Palenstijn
b1a12658b0
stop audio streams before deleting them
...
svn-id: r25882
2007-02-26 18:52:28 +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
15043066f2
- Changed the speaker stuff again
...
- Added the spanish gob2 version from bug report #1659884
svn-id: r25615
2007-02-15 22:07:44 +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
2c4a6d6a43
The SoundHandle isn't stopped indirectly by AudioCD.play() anymore, so removed the SoundHandle starting for each sample
...
svn-id: r25411
2007-02-07 16:30:59 +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
8b4001f490
Replaced the delay in o1_keyFunc with a (skipable) busy-wait detection
...
svn-id: r25311
2007-01-31 16:23:34 +00:00
Sven Hesse
17e70efe13
- Snd::WaitEndPlay() should stop a running composition
...
- Removed Snd::getCompositionSlot(), it's not needed
svn-id: r25310
2007-01-31 15:19:42 +00:00
Sven Hesse
1880aa5441
Minor sound playing correction
...
svn-id: r25309
2007-01-31 14:53:46 +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
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
Sven Hesse
d6f1ba1540
- More GOB2 map conversions
...
- Added Music_Dummy (for --music-driver=null)
- Implemented IMDs. That took longer than I expected...
On the bright side, Ween's intro now plays more correctly
svn-id: r22754
2006-05-29 18:24:52 +00:00
Sven Hesse
42e03bd707
- Sound! Still a bit glitchy, though:
...
- Negative frequences?!? Maybe "SFX"?
- No sound for a small part of the intro
(there aren't any sndKeys covering that part either)
- A rythm-instrument (hi-hat?) in the titlemusic isn't played as one
- More differences in the drawing functions fleshed out
- Some of the goblin handling functions written
- More unnamed functions and variables, wheeee...
svn-id: r22410
2006-05-11 19:43:30 +00:00
Willem Jan Palenstijn
06e02f6010
stop playing a sample before deleting the sample data
...
svn-id: r20902
2006-02-26 01:25:27 +00:00
Max Horn
26ee630756
Moved engines to the new engines/ directory
...
svn-id: r20582
2006-02-11 22:45:04 +00:00