Commit Graph
24629 Commits
Author SHA1 Message Date
Chris Danford 15779df733 newer UPX works with VS2003 2007-02-01 20:59:19 +00:00
Glenn Maynard d0c0ec69d0 New sounds. Some from KaW, others public domain. 2007-02-01 11:11:32 +00:00
Glenn Maynard 5c95e56ad8 Only play one copy of each mine sound at a time per player. This reduces clipping from excessive mines and makes them less annoying. 2007-02-01 03:52:50 +00:00
Glenn Maynard 1bdbe78390 support preloading in 16-bit 2007-02-01 03:42:33 +00:00
Glenn Maynard 56c5972fa3 add helpers 2007-02-01 03:26:07 +00:00
Glenn Maynard 39f6bd46c3 fix off-by-one 2007-02-01 02:48:51 +00:00
Glenn Maynard 8539f9db99 fix and merge pdb paths 2007-02-01 01:55:41 +00:00
Glenn Maynard 3eb9e96385 more general color table support 2007-01-31 08:45:53 +00:00
Glenn Maynard e612c615e0 add RageColor::FromStackCompat 2007-01-31 08:44:26 +00:00
Glenn Maynard 16469942fd duplicate 2007-01-31 07:56:28 +00:00
Glenn Maynard d401a01553 allow using CryptManager without generating global keys; remove CryptMan dependency on PrefsMan 2007-01-31 05:31:25 +00:00
Glenn Maynard bf3aad4f45 split key generation and key writing 2007-01-31 05:15:18 +00:00
Glenn Maynard c4f600fa9f better api 2007-01-31 03:05:43 +00:00
Glenn Maynard 8d9318adcb Preferences.ini uses "Options". Static.ini and Defaults.ini
use "Preferences".  Use "Options".
2007-01-31 03:04:44 +00:00
Steve Checkoway 58715e319f It seems that gcc decided that even though _mm_load_ps and _mm_loadu_ps are static inline functions calling a gcc builtin, it should emit a call to them because they were used as template parameters. Oh well, the code is short enough to just copy. 2007-01-28 23:12:06 +00:00
Steve Checkoway 1bb3190d62 Year. 2007-01-28 22:27:52 +00:00
Steve Checkoway 3813d5dbd2 Remove unneeded header and comment. 2007-01-28 22:27:25 +00:00
Steve Checkoway 75f7b2d9dc Simplify. 2007-01-28 22:26:49 +00:00
Steve Checkoway 1931be330b Sort of update the vector test for floating point. Still a lot of cruft in there. 2007-01-27 17:14:14 +00:00
Steve Checkoway f4d616e7a2 Update for floating point. No need to bother with the integer read because OS X doesn't use it. 2007-01-27 17:09:15 +00:00
Steve Checkoway f3a489aa01 Removing some comments? 2007-01-27 13:30:51 +00:00
Steve Checkoway 1f67599508 Simplify. 2007-01-27 13:29:36 +00:00
Steve Checkoway a579593c52 Disable vector code for now. It needs to be updated for floats. 2007-01-27 13:24:39 +00:00
Steve Checkoway b0dcd6c57a int -> float. 2007-01-27 13:24:12 +00:00
Glenn Maynard 0191581eab remove unused GetSampleRate 2007-01-27 09:26:27 +00:00
Glenn Maynard 1258683aa4 no longer need to convert and deinterlace data 2007-01-27 08:47:43 +00:00
Glenn Maynard 052eaa9a5e don't clip or round incoming data prematurely 2007-01-27 08:34:55 +00:00
Glenn Maynard 322ebd5baa remove RageSound::GetAbsoluteVolume; use "Volume" property instead 2007-01-27 07:32:13 +00:00
Glenn Maynard 201cc449bd remove m_fVolume 2007-01-27 07:29:22 +00:00
Glenn Maynard 1bf9de3543 float 2007-01-27 07:18:52 +00:00
Glenn Maynard 1bd5513698 Switch to floating-point sound internally.
This allows us to change the volume of sounds in filters ("volume",
"fade" properties) without quantizing the audio prematurely.  Previously,
we had a hack to apply volume changes as a mixing-time step.  This
can be done at any point in the filter chain now.

This also means we only need to worry about clipping at the very
last mixing step, instead of at every place we change sound.

Dithering for 16-bit audio and more intelligent gain control
is possible, as we have full-resolution, unclipped sound at the
mixing phase.

We support high resolution source sounds; both Vorbis and MAD
supply more than 16 bits.

Several filters, such as resampling, are easier to implement as
floats; these no longer need to convert back and forth.

Negatives:
 - More memory use.  The main case of this is in RageSoundReader_Preload,
which will be fixed: we can preload in 16-bit without losing most of the
above.
 - Some extra overhead for accessing more memory.
2007-01-27 07:14:58 +00:00
Glenn Maynard cc8182fb7e fix --without-theora 2007-01-27 02:13:45 +00:00
Glenn Maynard bf40f3aa98 fix buffer alignment; caused static in mono sounds 2007-01-26 09:28:00 +00:00
Glenn Maynard abe62b0920 GetMD5ForString: don't hex 2007-01-26 04:35:15 +00:00
Glenn Maynard 961eae77a3 cleanup 2007-01-26 04:34:30 +00:00
Glenn Maynard 9b4a488895 BinaryToHex(string)
change BinaryToHex(p*) to void*
2007-01-26 04:34:04 +00:00
Glenn Maynard 0cdddc34ae don't require m_bSignProfileData 2007-01-26 04:23:24 +00:00
Glenn Maynard 8c6fe59973 split out CryptManager::Sign 2007-01-26 04:22:31 +00:00
Glenn Maynard a85eb727c2 partial test_file_errors fix 2007-01-26 03:00:46 +00:00
Glenn Maynard 1b813dbd25 fix size check 2007-01-26 02:56:46 +00:00
Glenn Maynard 9f806c2373 cleanup, remove old comment 2007-01-26 02:10:11 +00:00
Steve Checkoway 3b39d09843 Update for Signal handler api change. 2007-01-25 11:44:12 +00:00
Steve Checkoway eb9016eda3 Add files. 2007-01-25 11:43:30 +00:00
Chris Danford 019ec5dab0 name cleanup:
GetDescription -> GetDisplayTitle
GetValue -> GetDisplayValue
Do -> DoAndMakeSystemMessage
2007-01-25 11:19:11 +00:00
Chris Danford 12b49d0b26 remove EditButtons for autoplay and tick. They can be toggled with ScreenDebugOverlay. 2007-01-25 11:14:10 +00:00
Chris Danford 7b7817f613 remove unused AssistTickChanged message 2007-01-25 11:05:12 +00:00
Chris Danford 179f1b6480 add metronome
rename tick -> clap because "tick" implies a regular interval
2007-01-25 11:03:41 +00:00
Chris Danford 7e135b6789 add metronome 2007-01-25 11:00:09 +00:00
Glenn Maynard 693057b19f add, change failed 2007-01-25 01:46:12 +00:00
Glenn Maynard a8024014f6 remove old metrics 2007-01-25 01:40:56 +00:00