Commit Graph
21505 Commits
Author SHA1 Message Date
Steve Checkoway 6516e6fceb Cleanup. 2006-06-20 06:28:57 +00:00
Steve Checkoway 72b2e1f2b6 Add option --with-static-ffmpeg-prefix. If you have installed the static libraries (and their associated headers) at /foo/bar, then pass --with-static-ffmpeg-prefix=/foo/bar and /foo/bar/lib/libavcodec.a and /foo/bar/lib/libavformat.a will be passed to the linker and -I/foo/bar/include will be added to CXXFLAGS. If doing this for other libraries would be helpful for releases, we could just use a --with-static-prefix option instead and look there for static libs. 2006-06-20 03:50:21 +00:00
Steve Checkoway 8d82bdfb82 Do not allocate or deallocate memory in the mixing thread. Doing so can block that thread which is possibly a realtime thread. Distinguish between STOPPED and AVAILABLE. In the STOPPED state, the memory for the sound is still around. It will be deallocated in Update() at which time the state will change to AVAILABLE.
The BUFFERING state is to keep all other threads from accessing the sound while StartMixing() is prebuffering. It corresponds to the old state STOPPED with available set to false.
2006-06-19 06:43:43 +00:00
Steve Checkoway 7c8b1903e4 The sse version works correctly and is implemented portable. The only problem is that at least for linux, memory allocated on the heap isn't guaranteed to be 16 byte aligned and FastSoundRead() depends on both dest and src being 16 byte aligned. This could easily be overcome in the same way as FastSoundWrite. 2006-06-19 05:24:41 +00:00
Steve Checkoway 7dce2e2825 Fix the (unused) float version for sse. 2006-06-19 05:21:10 +00:00
Steve Checkoway b8e1db595a Fix the (unused) float version for altivec. 2006-06-19 04:04:10 +00:00
Steve Checkoway 7ba8eefebf Apparently we want data1 before data2. (Tested.) 2006-06-19 03:21:25 +00:00
Steve Checkoway 7dbdc89b8c Fix misaligned load/store. Also, these are little endian so merge the low order bytes first. Since this code _is_ portable, I can test it on x86 linux. 2006-06-19 02:53:14 +00:00
Chris Danford e3627c7377 test that song dir is writable before loading it in editor 2006-06-19 00:00:47 +00:00
AJ Kelly 8b7a511e99 New ScreenEvaluation labels to match the new Judgements (also fix positioning of labels and numbers) 2006-06-18 22:50:16 +00:00
Steve Checkoway 128115b779 Add files. 2006-06-18 19:06:24 +00:00
Steve Checkoway 78d055dfad Beginning of a sound driver that uses AUHAL instead of dealing with the HAL itself. Apple engineers claim it's easier to use (although, I note there's almost zero documentation) and it correctly handles things like device format changing. It currently works, for the most part (on 10.4 and above). 2006-06-18 19:05:40 +00:00
Steve Checkoway 8d9c59287d Handle JackChanged getting called when the device is stopped. 2006-06-18 18:55:48 +00:00
Steve Checkoway 36f6042ef0 Cleanup. 2006-06-18 18:49:23 +00:00
Steve Checkoway de4a22d9e0 Reuse variables. (I'm hope gcc was smart enough to reuse the registers on its own, but I didn't actually check. This way we should be using fewer than 32.) 2006-06-18 18:41:22 +00:00
Steve Checkoway 66dfad63b0 Be careful not to read past the end of the data. With aligned loads (which are every load in altivec), it is always okay to load a vector if you can access any element of that vector. It is not always okay to load the next vector. 2006-06-18 18:30:28 +00:00
Steve Checkoway acf04db9f9 Implement with SSE but don't enable since I can't test it. It should be portable since I used Intel's intrinsics. 2006-06-18 18:10:14 +00:00
Chris Danford 94f527705a WideScreen -> Widescreen 2006-06-18 12:10:28 +00:00
Chris Danford 5de0b03af2 fix editor screen branching 2006-06-18 12:09:28 +00:00
Steve Checkoway 2572b8c5ea That last commit was a bit more than I intended. Oh well. It (and this one) simplify the property listener code and add more listeners. 2006-06-18 09:40:56 +00:00
Steve Checkoway 1f72db5efc Fix parameter order. 2006-06-18 08:28:18 +00:00
Steve Checkoway ecde561c03 Fix crash in Actor::BeginTweening. Is there a reason for that ASSERT? The next line clamps to 0. 2006-06-18 05:05:06 +00:00
Steve Checkoway 0c0609f46a Tracking down crash. 2006-06-18 04:16:17 +00:00
Steve Checkoway c50a28e434 Spacing cleanup. 2006-06-18 04:14:31 +00:00
AJ Kelly 609d710097 new font (Zero Threes) 2006-06-18 03:30:25 +00:00
AJ Kelly 071f84987e new font (Zero Threes) 2006-06-18 03:10:32 +00:00
Steve Checkoway 6e6808008e Simplify. (This changes it from a cubic time operation to a quadratic. Also handles the case where a comment begins on the last line and that line isn't terminated with a newline.) 2006-06-18 00:36:58 +00:00
AJ Kelly 9547b09cb7 new font (Zero Threes) 2006-06-18 00:24:54 +00:00
Steve Checkoway 3045dda9fc Draw arrows in the skin of the player matching the PlayerNumber of the TapNote. 2006-06-17 04:07:40 +00:00
Steve Checkoway 66ca81893f add missing metric. 2006-06-17 03:44:42 +00:00
Josh Allen be150b23f9 remove non-existant files 2006-06-17 00:41:17 +00:00
Steve Checkoway 57ffea9e7d Add dance-routine steps/style. 2006-06-16 23:46:36 +00:00
Steve Checkoway b9d514c76c Add PlayerNumber to TapNote. 2006-06-16 23:43:17 +00:00
AJ Kelly ae47c80a47 remove ScreenWarning (ScreenCaution does the intended job) 2006-06-16 23:36:21 +00:00
Steve Checkoway 4deb8b8237 Spacing cleanup. 2006-06-16 23:01:38 +00:00
Steve Checkoway f4639fb139 Spacing cleanup. Ugh, this file is long. 2006-06-16 22:51:12 +00:00
AJ Kelly f82709f442 big graphics overhaul (all of the ScreenInstructions items, some headers, ScreenGameOver) 2006-06-16 22:47:42 +00:00
Steve Checkoway d8824e36a4 Spacing cleanup. 2006-06-16 22:09:39 +00:00
AJ Kelly 935df3cb0b reposition combo numbers to line up again 2006-06-16 22:00:05 +00:00
Steve Checkoway 4d24288f82 Spacing cleanup. 2006-06-16 21:55:57 +00:00
Steve Checkoway 12153607f4 Comment. 2006-06-16 21:39:53 +00:00
Steve Checkoway cf9447e2b5 Save the Theme preference when changing themes. 2006-06-16 21:36:17 +00:00
Steve Checkoway 2426abc7d1 v.begin()-1 is not a valid iterator. Increment the iterator before calling GetNext*Player*() and do not increment inside the function. 2006-06-16 20:23:02 +00:00
Steve Checkoway 9df559af08 Fall back if PREFSMAN->m_sTheme.GetDefault() is not selectable. 2006-06-16 08:51:15 +00:00
Steve Checkoway aef9e00016 Implement IsDebuggerPresent() and DebugBreak() in OS X. This uses an unstable api so it will only be in debug builds. 2006-06-16 07:18:39 +00:00
Steve Checkoway 87e571a528 Define DEBUG in debug builds. 2006-06-16 07:07:13 +00:00
Steve Checkoway 8e6f2f6f5c Fix warning in debug build. 2006-06-16 07:06:39 +00:00
Chris Danford f94566100f no character for Enter 2006-06-16 06:28:31 +00:00
Chris Danford 0b5baba88c fix compile 2006-06-16 06:27:53 +00:00
Chris Danford 1ec3e9f6b1 make little disqualify 2006-06-16 04:18:43 +00:00