Commit Graph
100 Commits
Author SHA1 Message Date
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
Glenn Maynard 7d108e97e8 allow writing from RageProtocol 2004-10-18 02:54:15 +00:00
Glenn Maynard 5768cb8e5f fix obscure rounding error 2004-10-18 02:51:53 +00:00
Glenn Maynard cf18ea9a73 fix precedence 2004-10-16 21:12:29 +00:00
Glenn Maynard cb1f53d6b5 unprotect CreateScreenshot 2004-10-16 20:34:21 +00:00
Glenn Maynard 8b2e9af71e fix ScreenManager::Draw crash if no screens loaded (never happens normally) 2004-10-16 20:16:07 +00:00
Glenn Maynard 26c3b3f9cd fix WITHOUT_NETWORKING 2004-10-16 19:34:14 +00:00
Glenn Maynard d13e368d7d fix background loading not being aborted 2004-10-16 17:53:47 +00:00
Glenn Maynard 4b95ea731c remove SDL 2004-10-16 17:52:07 +00:00
Glenn Maynard b610556a7e small helpers 2004-10-16 16:59:17 +00:00
Glenn Maynard 2c40b80080 force song backgrounds to effectclock,timer by default 2004-10-16 02:57:18 +00:00
Glenn Maynard 384cdef3a6 drive the movie timer from DecodeSeconds(), instead of an internal
clock; this helps keep things synced to the music, and gives us more
control
2004-10-16 02:52:30 +00:00
Glenn Maynard a99debf223 call DecodeSeconds 2004-10-16 02:48:59 +00:00
Glenn Maynard 02cf55863f add DecodeSeconds() overload for movies 2004-10-16 02:47:57 +00:00
Glenn Maynard b5ef800386 little hack to allow forcing propagation of commands to children that
normally aren't
2004-10-16 02:46:10 +00:00
Glenn Maynard 12b777c12a Sprites now follow the effect clock; you can sync an animated sprite
to the beat.  This can be used to implement things like the receptor
row in .sprites.  (This is minor; it's actually just a tangent of another
change which I havn't committed yet ...)
2004-10-16 02:15:18 +00:00
Glenn Maynard 3fed6a3a6e warnings 2004-10-16 01:37:54 +00:00
Glenn Maynard 799a5898dd Add bgm-time effect mode. This is roughly equivalent to the default, except
it's tightly synced with the music; it stays synced over music skips, and follows
the music rate, like everything else that uses GAMESTATE->m_fMusicSeconds.
2004-10-16 01:29:25 +00:00
Glenn Maynard e1ae2d4f4b fix crash at loop 2004-10-16 00:42:41 +00:00
Glenn Maynard cf381e0812 make the BGM time available to actors 2004-10-15 22:10:27 +00:00
Glenn Maynard c31bae20cc cleanup 2004-10-15 21:45:52 +00:00
Glenn Maynard 433827c2de remove ProtAllocator hack 2004-10-15 21:44:23 +00:00
Glenn Maynard 945e662041 fix crash when portal is used with no open sections 2004-10-10 15:06:15 +00:00
Glenn Maynard 8e947c7d0f clean up IsEasy logic 2004-10-10 14:36:11 +00:00
Glenn Maynard 161b9f3f9a more portable? 2004-10-10 14:14:29 +00:00
Glenn Maynard af7a0cf3a2 fix off-by-one 2004-10-09 15:41:10 +00:00
Glenn Maynard 39c30e2f37 fix stage count problems 2004-10-09 15:18:42 +00:00