Commit Graph
24311 Commits
Author SHA1 Message Date
Glenn Maynard 6bfa6a6fb1 merge DrawHoldTail and DrawHoldHead 2007-01-04 01:29:14 +00:00
Glenn Maynard 885a245c0e move param 2007-01-04 01:24:51 +00:00
Glenn Maynard 3811d3d51c Rewrite attack handling. (This isn't intended to be fast or scalable--the
old code wasn't, either--I just want to get rid of the extra DrawActor
code path.  This feature should probably just be removed.)
2007-01-04 01:03:36 +00:00
Glenn Maynard 644eaec3a3 pass tn to tap rendering, like hold rendering
simplify
2007-01-04 00:45:47 +00:00
Glenn Maynard b4aeab5403 remove unused fDrawDistanceBeforeTargetsPixels2 2007-01-04 00:38:19 +00:00
Glenn Maynard e6ffc5d3a8 push DrawHoldTail, DrawHoldHead together 2007-01-04 00:22:20 +00:00
Glenn Maynard 53d6bb6e36 push DrawHoldTail, DrawHoldHead together 2007-01-04 00:16:24 +00:00
Glenn Maynard e0acdf0c80 simplify 2007-01-04 00:09:06 +00:00
Glenn Maynard cec4803949 5bb79cd "when using dizzy, hold heads get stuck in rotated position"
apply to tails too
2007-01-04 00:07:21 +00:00
Steve Checkoway d7de914a77 Fix crash when pushing other buttons. I don't really like this. Some of the paths through StepStrumHopo can handle col = -1 but others lead to crashes. Maybe it should be refactored so that all code touching col is separate from the Strum code where col is -1. 2007-01-03 05:40:19 +00:00
AJ Kelly c8d83fc337 revert; lroundf isn't needed with latest changes 2007-01-03 05:13:28 +00:00
Jason Felds 4fd86bae49 Add the new RageSoundReader* files. 2007-01-03 05:09:02 +00:00
Steve Checkoway ba2778bbeb Invalid buttons make invalid inputs. 2007-01-03 05:06:28 +00:00
Steve Checkoway 55f5e88e0a unneeded. 2007-01-03 05:05:54 +00:00
Steve Checkoway 4517499f0f lroundf -> lrintf. 2007-01-03 05:05:28 +00:00
AJ Kelly 92e5ea3a9f added #define NEED_LROUNDF 2007-01-03 04:51:45 +00:00
AJ Kelly 78565952e6 add missing RageSoundReader_ThreadedBuffer and RageSoundReader_Extend 2007-01-03 04:50:01 +00:00
Steve Checkoway b074f49334 Implementation of lroundf, if needed. 2007-01-02 23:43:55 +00:00
Steve Checkoway c4284cb792 Check for lroundf. 2007-01-02 23:42:49 +00:00
Steve Checkoway eb0b26cd82 Float to int is slow on ppc. It requires a store, a big stall, and then a load. It's even worse on a G5 if the compiler is dumb (and let's face it, I'm using gcc here...). Just use lroundf when we want an int. It will certainly be no slower. 2007-01-02 23:36:44 +00:00
Steve Checkoway 7a6eabd616 RageSoundDriver. 2007-01-02 23:23:30 +00:00
Steve Checkoway 7cd0ea6bcb Add/remove files. 2006-12-30 04:32:43 +00:00
Steve Checkoway ea988bab1c Remove old, buggy driver. 2006-12-30 04:31:55 +00:00
Steve Checkoway bdda436ce7 Remove old buggy driver. 2006-12-30 04:31:06 +00:00
Steve Checkoway 941c11b55e Windows can't handle standard format specifiers... 2006-12-30 04:27:36 +00:00
Steve Checkoway c7baf0f7bd Initialize to zero. 2006-12-30 04:23:24 +00:00
Steve Checkoway 45659961ce Casting to ints produces incorrect results when the number is larger than 2^32. 2006-12-30 04:16:21 +00:00
Glenn Maynard c6b17932fa debugging 2006-12-29 09:55:28 +00:00
Glenn Maynard 953c7e3867 asserts 2006-12-28 09:59:28 +00:00
Steve Checkoway 4d2f534d45 Simplify. 2006-12-28 04:57:21 +00:00
Steve Checkoway 388c280824 Simplify. 2006-12-28 04:29:21 +00:00
Glenn Maynard 236f8b8183 remove unused (with a huge comment explaining what it doesn't do) 2006-12-28 04:11:44 +00:00
Glenn Maynard 87c0c68db1 fix comments 2006-12-28 04:07:15 +00:00
Steve Checkoway 39a2c9647e Reference. 2006-12-28 04:03:52 +00:00
Steve Checkoway f3fcf9c083 Name cleanup. 2006-12-28 03:01:13 +00:00
Steve Checkoway f7e7bea9a8 Simplify. 2006-12-28 03:00:20 +00:00
Steve Checkoway 23645ba30b Use references rather than pointers. 2006-12-28 02:38:56 +00:00
Glenn Maynard 0c711f840a revert unintended 2006-12-28 00:06:21 +00:00
Glenn Maynard 2e33c0c9af comment 2006-12-27 09:32:57 +00:00
Glenn Maynard ee5219c1c3 style cleanup 2006-12-27 09:31:26 +00:00
Glenn Maynard a0f7127b10 Signal -> Broadcast 2006-12-27 09:29:42 +00:00
Glenn Maynard e1cd655ab9 fix EventImpl_Win32::Signal race condition (looks like Broadcast now) 2006-12-27 09:28:13 +00:00
Glenn Maynard 01bc9b4040 cleanup/scope 2006-12-27 09:19:50 +00:00
Glenn Maynard b7faf9c22b cleanup 2006-12-27 09:19:24 +00:00
Glenn Maynard 3551367fe4 These attempt to flush buffers and go back to reading directly if ratios
are set back to 1.  They don't work; the speed shift buffer won't line up
perfectly for all channels, and the resampler would need to be lined up
with the window and lerped.  Make these only read directly if the buffers
are empty, so these filters are cheap if their ratios are never used.  Fixes
clicks when moving the ratio around 1.0.
2006-12-27 09:19:02 +00:00
Glenn Maynard ad5b3543a6 don't scale SetPosition; it's in source frames 2006-12-27 09:13:48 +00:00
Glenn Maynard 73ca8f0a1e remove unused 2006-12-27 09:13:47 +00:00
Glenn Maynard 6e3673affb simplify 2006-12-27 09:11:57 +00:00
Glenn Maynard 461658edff simplify 2006-12-27 07:52:25 +00:00
Glenn Maynard 9f577de2e5 exact ratio (no fixed-point granularity) 2006-12-27 07:51:57 +00:00