Commit Graph
17892 Commits
Author SHA1 Message Date
Glenn Maynard e91c75211f fix warning 2005-10-23 07:55:11 +00:00
Glenn Maynard d19569178c bind GetAllTrails 2005-10-23 07:52:02 +00:00
Glenn Maynard 7427c17629 fix m_fInvertDistance 2005-10-23 07:50:16 +00:00
Glenn Maynard 189d797d22 update 2005-10-23 07:08:45 +00:00
Glenn Maynard 7a67264ece remove GetVolume 2005-10-23 07:05:33 +00:00
Glenn Maynard 8b34d6eef8 cleanup 2005-10-23 07:04:55 +00:00
Chris Danford eea214bad5 remove choosing WaveOut 2005-10-23 04:55:01 +00:00
Glenn Maynard 8b0223350f Pull complicated computations out of per-arrow code, and run them just once per
frame.

This is a minor optimization, but it can gain a couple FPS.  More importantly,
it reduces the amount of code in the time-critical functions, which makes it
easier to profile and optimize the time-critical parts.  (Eventually, this should
probably be real class.)
2005-10-23 04:22:29 +00:00
Glenn Maynard 2378994167 cleanup 2005-10-23 04:14:06 +00:00
Glenn Maynard a38d69ed03 fix off by half a pixel in centered 2005-10-23 04:11:27 +00:00
Glenn Maynard 60b9939f44 cleanup 2005-10-23 02:52:24 +00:00
Glenn Maynard 45609c3456 cleanup 2005-10-23 02:48:03 +00:00
Glenn Maynard 62ef25e655 cleanup 2005-10-23 02:40:40 +00:00
Chris Danford 0dd5dda8d4 remove "Play ". The long file name causes it to wrap. 2005-10-23 02:01:24 +00:00
Glenn Maynard ddbbe5b561 fix judgement too small in mini 2005-10-23 00:51:56 +00:00
Glenn Maynard 025b671698 fix mini when not in 0..1 2005-10-22 23:31:12 +00:00
Glenn Maynard 4410080639 Tweak mini: instead of zooming out the whole field, zoom out each individual
arrow, and push the columns together a bit.  It looks the same, except that it
doesn't cause arrows to be closer together, like increasing the scroll speed to
match.  This keeps mini from causing many more notes to be drawn.  In general,
effects should try to avoid needing to increase fDrawScale.
2005-10-22 21:54:08 +00:00
Glenn Maynard 039aea4d01 cleanup, consolidate indexing by PlayerNumber 2005-10-22 21:31:40 +00:00
Chris Danford 9f2ef19aa6 Change ShowMissCombo bool to MissComboCommand 2005-10-22 09:00:27 +00:00
Glenn Maynard dd5353bd94 cleanup
wrap fExpandSeconds
2005-10-22 05:17:10 +00:00
Glenn Maynard 671af1903c performance fix: don't call GetDeltaTime from ArrowEffects 2005-10-22 04:17:00 +00:00
Glenn Maynard 3044155ce8 fix crash if DirectSoundCreate fails (eg. no sound devices) 2005-10-22 03:10:53 +00:00
Glenn Maynard 59fb0dbe41 move code 2005-10-21 18:59:06 +00:00
Glenn Maynard 0bc413262d Pass the surface directly to GetFrame, and a timestamp if frame skipping is
enabled.
 - This is simpler--two fewer entry points, and a trivial decode path.
 - Puts the mechanics of frame skipping in the decoder's control.  Previously,
   all we did was skip conversion and texture updates.  Now, the decoder
   can be smarter: skip B-frames, or skip to a keyframe.
 - This allows for faster decodes, using slice-based conversion: YUV conversion
   can be done at the same time as decoding.
2005-10-21 07:47:06 +00:00
Chris Danford 24f62bcb9a remove redundant 2005-10-21 07:45:12 +00:00
Chris Danford 04a590b6f2 set default install dir when launching smpackage 2005-10-21 07:42:52 +00:00
Chris Danford 1903e07f56 if DISPLAY->SupportsPerVertexMatrixScale, then merge meshes with equal names. The allows some NoteSkins to be drawn in either 2 meshes or only 1 if vertex shaders are supported. 2005-10-21 06:36:08 +00:00
Glenn Maynard 2513b7aac1 cleanup:
hopefully deal with unknown extension headers (untested)
 require ogg, not vorbis
2005-10-21 05:44:33 +00:00
Chris Danford 9455ee6d54 convert mesh and bone names to CString
add MergeMeshes
2005-10-21 05:23:50 +00:00
Glenn Maynard 37a136a4b8 cleanup 2005-10-21 02:51:44 +00:00
Glenn Maynard 42e88812ea works without this 2005-10-21 01:46:46 +00:00
Glenn Maynard 6ee40039a8 cleanup 2005-10-21 01:45:16 +00:00
Glenn Maynard f77dd38f0f cleanup 2005-10-21 01:39:07 +00:00
Glenn Maynard 073d9e5290 MovieDecoders shouldn't need TEXTUREMAN. 2005-10-21 01:32:39 +00:00
Glenn Maynard 99eb66b31b - if m_bWantRewind is true at the start of DecodeFrame (probably called Seek),
don't make spurious calls to GetFrame (waste of CPU)
 - fix DecodeFrame setting FRAME_DECODED without actually decoding a frame on EOF
   after loop
update comment
(probably not related to "movie not looping" problems)
2005-10-21 00:49:18 +00:00
Glenn Maynard e2eba96101 fix warning 2005-10-20 21:11:09 +00:00
Glenn Maynard 8b023b1d50 fix log 2005-10-20 21:09:09 +00:00
Glenn Maynard d17aaf31fb fix duration (seconds per frame, not frames per second) 2005-10-20 21:07:25 +00:00
Glenn Maynard e1d7b101fd theora 2005-10-20 21:01:57 +00:00
Glenn Maynard 50d6089532 temp workaround 2005-10-20 20:47:01 +00:00
Glenn Maynard f4cb784da8 fix type 2005-10-20 20:46:41 +00:00
Glenn Maynard cffe83e32f fix wrong pixel formats used 2005-10-20 20:43:28 +00:00
Glenn Maynard a9e940560b fix warning 2005-10-20 20:39:23 +00:00
Glenn Maynard ee492d5284 work around namespace error 2005-10-20 20:38:57 +00:00
Glenn Maynard 4936bf69c1 add MovieTexture_Generic 2005-10-20 20:31:16 +00:00
Glenn Maynard 0893b42170 split out ffmpeg check 2005-10-20 20:21:19 +00:00
Chris Danford d8330a2c28 handle TextureTranslateScale in the software vertex path
TODO: refactor this
2005-10-20 19:18:32 +00:00
Chris Danford 779ad158b6 Kill the translation instead of scaling to 0,0. Oops. 2005-10-20 18:19:44 +00:00
Chris Danford fbe40c9c49 remove testing 2005-10-20 14:33:56 +00:00
Chris Danford 53dc198c89 use product name for settings ini 2005-10-20 14:16:55 +00:00