Glenn Maynard
c8a252ee77
fix m_FinishedRequests not being cleared on Abort()
2004-11-06 03:21:19 +00:00
Glenn Maynard
639afd0bfd
memory optimization: sizeof(Trail) * NUM_STEPS_TYPES * NUM_DIFFICULTIES adds up.
...
This will cause Trail*s returned from GetTrail to become invalid when the trail
cache is invalidated.
2004-11-05 08:54:09 +00:00
Glenn Maynard
3d084e2a2c
move stats formatting to RageDisplay, so renderers can add custom stats
2004-11-05 04:15:06 +00:00
Glenn Maynard
e0b211aca6
fix MessageX metric not being used
2004-11-05 03:51:13 +00:00
Glenn Maynard
cc034a65aa
fix GradePercent saving
2004-11-05 02:09:48 +00:00
Glenn Maynard
12652ed750
try utf-8 first
2004-11-05 00:38:51 +00:00
Glenn Maynard
5390cea922
fix txtin/txtout memleaks
...
iconv and CString are both 8-bit clean; maintain that
error checks
2004-11-04 23:24:16 +00:00
Glenn Maynard
24614c9bc4
error check
2004-11-04 23:00:20 +00:00
Glenn Maynard
9f06afa9a4
Err ...
2004-11-04 22:56:22 +00:00
Glenn Maynard
e3b9a4bacc
flush the sound to the write position, not the play position
2004-11-04 00:20:48 +00:00
Glenn Maynard
26faea2615
Revert. FLUSHING was defined by me, so it's not possible for me to have
...
misconceptions about what it means. :) Probable real fix in a moment
(that doesn't cause us to waste resources mixing silence).
2004-11-04 00:19:18 +00:00
Glenn Maynard
feae525a63
we have music for keyed songs, even if we have no BGM track
2004-11-04 00:03:51 +00:00
Glenn Maynard
6ff519cd50
Better difficulty detection.
...
Prefer to read global stats from DIFFICULTY_NORMAL.
Fix songs that have differing 02 tags across files.
2004-11-03 09:35:10 +00:00
Glenn Maynard
d581ae240e
fix row 0 being skipped
2004-11-03 08:22:20 +00:00
Glenn Maynard
d398a38094
Load all BMS data into a map, then parse. Removes extra re-parsing,
...
fixes stop and BPM changing, fixes stop/BPM change interactions with
time sig changing.
2004-11-03 06:54:05 +00:00
Glenn Maynard
0cad63c012
Most BMS files are in Shift-JIS.
2004-11-02 10:50:38 +00:00
Glenn Maynard
bd1df8aacb
simplify
2004-11-02 10:30:03 +00:00
Glenn Maynard
a2c8f90224
simplify more
2004-11-02 07:55:55 +00:00
Glenn Maynard
ab7a7076d7
simplify, cleanup
2004-11-02 07:53:38 +00:00
Glenn Maynard
33d92faeb1
fix reading mono sounds in a stereo chain
2004-11-02 07:38:24 +00:00
Glenn Maynard
1eac0a3fa9
fix warnings
2004-11-01 11:02:54 +00:00
Glenn Maynard
9cfb7c6d6c
this is redundant - use TimingData::SetBPMAtBeat
2004-11-01 08:31:10 +00:00
Glenn Maynard
a80025d28f
fix PCM WAV seeking
2004-11-01 08:27:26 +00:00
Glenn Maynard
f55a617641
fix 2 and 3
2004-11-01 08:06:56 +00:00
Glenn Maynard
638a5fd89d
fix assertion failure
2004-11-01 07:47:38 +00:00
Glenn Maynard
f0ec9ebbd6
fix assertion failure
2004-11-01 06:46:46 +00:00
Glenn Maynard
bf9af176a0
simplify
2004-11-01 05:12:39 +00:00
Glenn Maynard
58f31d5b96
cleanup (don't think it's correct yet)
2004-11-01 05:08:48 +00:00
Glenn Maynard
ca02ee68d0
log ignored loads due to cached !m_bHasMusic
2004-10-31 20:32:57 +00:00
Glenn Maynard
2046ab5261
nah
2004-10-30 07:42:03 +00:00
Glenn Maynard
0fc2b8b5fa
fix no notes
2004-10-30 07:40:31 +00:00
Glenn Maynard
69914bcbbf
fix memory usage regression
2004-10-30 07:18:28 +00:00
Glenn Maynard
8d51f577de
copying up DSound fixes from 3.9
2004-10-29 03:06:04 +00:00
Glenn Maynard
c21d4c2756
simplify a bit, optimize
2004-10-28 05:10:47 +00:00
Glenn Maynard
ca4ecb9d59
remove unused stuff
2004-10-28 03:01:58 +00:00
Glenn Maynard
c347954806
add header
2004-10-28 02:17:50 +00:00
Glenn Maynard
f7e317f9dd
cleanup
2004-10-27 22:12:17 +00:00
Glenn Maynard
227d0ffcba
Move hold note handling into a small class; this allows easy changing of
...
the hold note buffer size. Handle flushing the queue if it fills, so we don't
have to have such a large buffer. (It may also help performance slightly
if we can make hold note rendering fit in a 256k or 512k D$, but I didn't
benchmark ...)
2004-10-27 21:58:31 +00:00
Glenn Maynard
48fda990cd
update
2004-10-27 19:52:51 +00:00
Glenn Maynard
303d0600d4
cleanup
2004-10-27 19:49:08 +00:00
Glenn Maynard
37c4e97ceb
cleanup
2004-10-27 19:33:52 +00:00
Glenn Maynard
18c8a72bc5
fix key file extensions
2004-10-26 20:03:04 +00:00
Glenn Maynard
c5bb6fa09e
fix dates, me
2004-10-26 19:38:11 +00:00
Glenn Maynard
8befe32ebb
old commit: fix grading
2004-10-26 19:25:32 +00:00
Glenn Maynard
f20e832c0d
simplify
2004-10-26 19:23:41 +00:00
Glenn Maynard
080c78c0dc
Handle adding a duplicate BPM segment in a well-defined way: overwrite
...
the old one, don't put duplicate segments in the BPM list.
2004-10-26 19:18:03 +00:00
Glenn Maynard
206ce1aa0b
stop going to lengths to avoid copying sounds in the BGM; copying
...
needs to be fast, anyway
2004-10-26 19:10:57 +00:00
Glenn Maynard
55fc410ac1
simplify
2004-10-26 18:35:36 +00:00
Glenn Maynard
20a278fb92
optimize
2004-10-26 18:34:52 +00:00
Glenn Maynard
b4de0cfc14
cleanup
...
support #nnn02 tags (temporary BPM divide)
2004-10-25 05:35:15 +00:00
Glenn Maynard
e6dcf218b9
update
2004-10-25 03:48:00 +00:00
Glenn Maynard
e88da4a8a1
bgm chain mixing
2004-10-25 03:47:22 +00:00
Glenn Maynard
b6091d6cd5
NoteData::EliminateAllButOneTap -> NoteDataUtil::RemoveAllButOneTap;
...
use accessors for NoteData::GetFirstRow, NoteData::GetLastRow
2004-10-25 03:36:42 +00:00
Glenn Maynard
a99d7e0dc4
remove ReserveRows
2004-10-25 03:17:56 +00:00
Glenn Maynard
f63c57b5f4
remove GetTapNoteX
2004-10-25 03:16:40 +00:00
Glenn Maynard
c55dfd354f
remove PadTapNotes
2004-10-25 03:12:11 +00:00
Glenn Maynard
de21231034
debug
2004-10-25 02:17:58 +00:00
Glenn Maynard
f00601e77b
really update
2004-10-25 01:54:58 +00:00
Glenn Maynard
d0817566f5
update
2004-10-25 01:53:55 +00:00
Glenn Maynard
36f788dcc7
split simple sound utils
2004-10-25 01:53:19 +00:00
Glenn Maynard
a318050891
update
2004-10-25 01:42:27 +00:00
Glenn Maynard
731543b4ce
SoundReader_Preload -> RageSoundReader_Preload, comments, not really correct mono fix
2004-10-25 01:39:11 +00:00
Glenn Maynard
15bfa19e4b
always preload keys
2004-10-25 00:59:54 +00:00
Glenn Maynard
0d37465667
Add RageSoundReader_Chain.
2004-10-25 00:53:17 +00:00
Glenn Maynard
bc8bd43b9e
split ConvertMonoToStereoInPlace
2004-10-25 00:49:42 +00:00
Glenn Maynard
fd813fe667
add Extend()
...
cleanup/comment
2004-10-25 00:48:16 +00:00
Glenn Maynard
b364bb830b
separate search for key to play
2004-10-25 00:46:08 +00:00
Glenn Maynard
ef1a3fe1c4
simplify
2004-10-25 00:31:56 +00:00
Glenn Maynard
515b57c8d3
non-brute-force search for nearest grading note, add bAllowGraded (not
...
used yet)
2004-10-25 00:29:34 +00:00
Glenn Maynard
514f184fef
NoteData::GetPrevTapNoteRowForTrack
2004-10-25 00:25:49 +00:00
Glenn Maynard
dafce575db
simplify (no logic change)
2004-10-24 23:49:33 +00:00
Glenn Maynard
2ad02a8332
Always play the key, even if it's already been hit.
2004-10-24 23:41:02 +00:00
Glenn Maynard
c85de593f9
s/SoundReader_Preload/RageSoundReader_Preload/
...
split RageSoundReader_Preload::PreloadSound
split RageSound::LoadSoundReader
2004-10-24 19:25:21 +00:00
Glenn Maynard
6d8a38b6a5
vc7 compile fix
2004-10-24 19:21:44 +00:00
Glenn Maynard
e08df2f165
RageSoundMixBuffer
2004-10-24 03:32:30 +00:00
Glenn Maynard
7f7999e098
update
2004-10-24 03:14:57 +00:00
Glenn Maynard
42bc44330a
cleanup
2004-10-24 03:14:24 +00:00
Glenn Maynard
b918e1cf52
RageSoundMixBuffer.h
2004-10-24 03:06:28 +00:00
Glenn Maynard
35bdf452dd
split RageSoundMixBuffer into its own file
2004-10-24 03:05:57 +00:00
Glenn Maynard
056b85f83e
The difference between the OpenGL ortho matrix we were constructing and
...
the OpenGL one is only that the Z value output was [0,1], instead of [-1,+1].
(I can't find D3D docs confirming that this is what D3D wants, but the math
lines up this way.)
Instead of setting up a different matrix from scratch, use OpenGL's well-
defined ranges, and then scale and shift the Z values to the range D3D wants.
2004-10-23 17:46:08 +00:00
Glenn Maynard
e483125b9f
Make RageDisplay_OGL::GetOrthoMatrix the default implementation.
2004-10-23 17:42:00 +00:00
Glenn Maynard
16e90febbd
allow two simultaneous fades
2004-10-23 04:04:09 +00:00
Glenn Maynard
dfe6b48b70
cosmetic
2004-10-23 02:18:17 +00:00
Glenn Maynard
c326423dce
move win32 pixel format dumping code into LowLevelWindow_Win32
2004-10-23 02:16:59 +00:00
Glenn Maynard
f9bcb3c78b
fix 64-bit address output
2004-10-22 22:42:28 +00:00
Glenn Maynard
267a3a9abd
enable x86 backtracer on x86-64
2004-10-22 22:17:36 +00:00
Glenn Maynard
14e9e8c64c
make x86-64 backtracing work
2004-10-22 22:16:49 +00:00
Glenn Maynard
c35aa22588
cleanup
2004-10-22 21:45:44 +00:00
Glenn Maynard
8b6b4f48fb
rename eip/ebp/esp -> ip/bp/sp, since it's used for x86-64 too (rip/rbp/rsp)
2004-10-22 21:39:26 +00:00
Glenn Maynard
68289e66e7
type fix for x86-64
2004-10-22 21:33:02 +00:00
Glenn Maynard
ee4b509ac5
size fixes for x86-64
2004-10-22 20:33:25 +00:00
Glenn Maynard
fc976c1ab1
x86-64 fix
2004-10-22 19:41:22 +00:00
Glenn Maynard
b0c8f70c87
handle decoding multiple frames in one Update() when not threaded
2004-10-18 18:40:28 +00:00
Glenn Maynard
79b6b5c596
GetTexture()->Pause() -> EnableAnimation( false )
...
propagate GainFocus down
use RunCommandOnChildren
2004-10-18 18:21:28 +00:00
Glenn Maynard
45d3bb5809
sprite fixes (yuck, this is tricky)
2004-10-18 18:18:57 +00:00
Glenn Maynard
30ac0620ad
Movies no longer have playing/stopped/paused states; either they're
...
receiving DecodeSeconds calls or they're not.
2004-10-18 18:18:02 +00:00
Glenn Maynard
3cf87f8ac0
"play" and "pause" are now synonymous with animate,1 and animate,0
2004-10-18 04:36:42 +00:00
Glenn Maynard
e48459c7ae
remove dupe effect timer code
...
fix movie bugs
2004-10-18 04:20:44 +00:00
Glenn Maynard
1e7e57a1c8
always update m_fSecsIntoEffect
...
add GetEffectDeltaTime() to allow easy access to the effect timer
2004-10-18 04:19:20 +00:00
Glenn Maynard
791fe80ef9
make MovieTexture_FFMpeg::RegisterProtocols available
2004-10-18 02:55:17 +00:00