Glenn Maynard
a49fd8ec8b
fix newline accumulation
2007-02-03 02:39:50 +00:00
Glenn Maynard
38aec56633
add paranoid BackUpAllSongSaves
2007-02-03 02:32:57 +00:00
Glenn Maynard
745237c812
fix:
...
"// FIXME: This logic fails if the user starts a new steps, changes to
// a different stepchart, and then exits without saving"
2007-02-03 02:14:25 +00:00
Glenn Maynard
a41f0c0dec
SetSavedToDisk in Save(), not in SM_SaveSuccessful. When we save the
...
whole file, all steps are saved to disk; we were only marking the
active steps. This sequence would cause steps to be wrongly deleted:
1: create easy and medium steps for one steps type; save
2: on another steps type, edit easy steps which were autogenned from the above
change the steps
3: f6 to change to medium steps steps which were autogenned from the above
4: menu -> save
This will save all data, but only medium will be marked saved to disk.
5: f5 to change back to easy steps
6: menu -> exit
This will delete the easy steps, because they were not marked saved to disk.
2007-02-03 00:55:52 +00:00
Glenn Maynard
f88111380a
If writing the SM file fails, don't write cache, either.
2007-02-03 00:54:28 +00:00
Glenn Maynard
65bc007ec6
fix error check
2007-02-03 00:48:07 +00:00
Glenn Maynard
de930d2900
error check
2007-02-03 00:30:39 +00:00
Glenn Maynard
9d541532af
error returns
2007-02-03 00:13:35 +00:00
Vecais Dumais Laacis
603f863e0c
fixed GetLocalProfileIndexFromID
2007-02-02 20:19:14 +00:00
Steve Checkoway
d14323bd4a
Implement BACKTRACE_METHOD_X86_DARWIN. It isn't enabled since I can't test it though. There's a fair amount of duplicated code with the x86 linux version. This could be refactored but since I don't own a single x86 machine...
2007-02-02 13:58:17 +00:00
Steve Checkoway
631a595bce
Too noisy. This was only for debugging anyway. (Finding stuff in log.txt is a pain.)
2007-02-02 11:33:11 +00:00
Glenn Maynard
9e6aab166c
fix base calls
2007-02-02 08:01:29 +00:00
Glenn Maynard
e6abcd8123
fix path
2007-02-02 07:33:04 +00:00
Glenn Maynard
bb60230806
update
...
fix path
2007-02-02 07:25:42 +00:00
Glenn Maynard
2ba3523f0e
only ScreenEdit::CheckNumberOfNotesAndUndo in EditMode_Home
2007-02-02 06:49:49 +00:00
Glenn Maynard
a3a8f39905
support all bit depths up to 32-bit and 32-bit float
2007-02-01 21:38:22 +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
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
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
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