Commit Graph
100 Commits
Author SHA1 Message Date
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
Glenn Maynard 8b9a8f432d some late character additions 2004-10-07 18:19:22 +00:00
Glenn Maynard 0874f47f0a update 2004-10-07 18:13:02 +00:00
Glenn Maynard 571f5a7083 fix compile (oops, too many vc windows open) 2004-10-07 17:19:54 +00:00
Glenn Maynard 76ec549cbf remove old versions of zlib headers; don't know why these are here 2004-10-07 16:57:56 +00:00
Glenn Maynard 97ddd549fd update to libpng 1.2.7 2004-10-07 16:54:32 +00:00
Glenn Maynard 1616f9d5b4 fix decoding last frame
fix last decoded frame being skipped
2004-10-07 14:37:05 +00:00
Glenn Maynard fd34d08ae0 fix some AVIs skipping frames 2004-10-07 04:55:31 +00:00
Glenn Maynard f7d151c9b4 merge dupe 2004-10-07 04:22:04 +00:00
Glenn Maynard 7e1d63c4fd also fixes randomization happening at the wrong spot: don't use row values
directly, as it'll break when the row resolution changes; always use values
scaled to ROWS_PER_BEAT
2004-10-07 04:20:13 +00:00
Glenn Maynard ada4232495 replace rand 2004-10-07 04:10:45 +00:00
Glenn Maynard 8846c1ad3c foonmix stuff 2004-10-06 22:20:06 +00:00
Glenn Maynard 731ab3d6cc delta, sigma, angle aliases 2004-10-06 21:42:20 +00:00
Glenn Maynard 197033a08b add delta and angle glyphs 2004-10-06 21:39:38 +00:00
Glenn Maynard 532177bee3 fix player options coming up when it shouldn't (post-3.9) 2004-10-06 20:40:46 +00:00
Glenn Maynard cce6d86acb update metrics 2004-10-06 18:20:26 +00:00
Glenn Maynard b1d8c97359 (how did that happen?) 2004-10-06 18:11:10 +00:00
Glenn Maynard 6756ca25bc fix error check and sync regression 2004-10-06 18:08:04 +00:00
Glenn Maynard 12c21c302c error checks to trace https://sourceforge.net/tracker/index.php?func=detail&aid=1035264&group_id=37892&atid=421366
fix error message
2004-10-06 04:25:27 +00:00
Glenn Maynard 25f83be525 fix warning 2004-10-06 02:04:44 +00:00
Glenn Maynard a10764d6a4 fix stage counter being wrong for early ScreenSelectMusic code 2004-10-06 01:38:23 +00:00
Glenn Maynard ccaa552c24 adjust output 2004-10-06 01:18:05 +00:00
Glenn Maynard cf9c6e3a96 actually, let's always get the size/date 2004-10-06 01:15:56 +00:00
Glenn Maynard 2c5da0b48d if we can't get the file version, get the size and date 2004-10-05 23:41:25 +00:00
Glenn Maynard 6423a32c77 update 2004-10-05 22:59:44 +00:00
Glenn Maynard 90ed4534e0 reimplement WAV reading to reduce licensing exceptions 2004-10-05 22:55:00 +00:00
Glenn Maynard 5ec58080d9 move exception-based reading into RageFile; this is for concise, error-checked binary file reading 2004-10-05 22:53:21 +00:00
Glenn Maynard 19eeb328fd fix output 2004-10-05 21:59:00 +00:00
Glenn Maynard a7c764249e Er, no ... 2004-10-05 21:46:37 +00:00
Glenn Maynard 515b99b808 fix ScreenRaveOptions 2004-10-05 20:18:01 +00:00
Glenn Maynard 66931a2e22 Yuck: fix MP3 sync compatibility with DWI for certain mildly corrupt MP3s.
This used to work; I just noticed that it broke at some point, though I'm
not sure when.  Most of these changes is just reordering code.
2004-10-05 18:44:07 +00:00
Glenn Maynard 246281574d fix infinite recursion when LogCheckpoints 2004-10-05 14:59:30 +00:00
Glenn Maynard c63ed003c6 fix resize rounding 2004-10-03 18:05:06 +00:00
Glenn Maynard ab064cd6db optimize 2004-10-03 14:41:28 +00:00
Glenn Maynard 2d983d6f90 optimize 2004-10-03 13:52:07 +00:00