Commit Graph
21232 Commits
Author SHA1 Message Date
Steve Checkoway c5f4baa121 Remove ShowEvaluationOnFail, add PlayerP[12]TwoPlayersSharedSidesX. 2006-06-24 00:22:58 +00:00
Steve Checkoway d2db559fb3 Cleanup. 2006-06-24 00:22:13 +00:00
Steve Checkoway 190fa9d8de Fix inputs. 2006-06-24 00:11:01 +00:00
Steve Checkoway 6b38a1bea5 TWO_PLAYERS_SHARED_SIDES. 2006-06-24 00:09:50 +00:00
Steve Checkoway fc104372cf Unused. 2006-06-24 00:07:25 +00:00
Steve Checkoway aa2c86ce35 Cleanup. 2006-06-24 00:06:57 +00:00
Steve Checkoway da87f6d956 Use safe macros. 2006-06-24 00:05:08 +00:00
Chris Danford 5e0dccf837 fix preview music 2006-06-23 17:54:48 +00:00
Chris Danford f424a27a2c fix smpackage compile 2006-06-23 17:54:38 +00:00
Glenn Maynard 04dfcc4934 fix assert 2006-06-22 18:35:11 +00:00
Glenn Maynard b630af8ae9 update 2006-06-22 17:52:31 +00:00
Steve Checkoway f16e921945 Fix bugs 1509452 (failing extra stage causes game over) and 1508308 (setting ShowEvaluationOnFail=1 is ignored). 2006-06-22 11:36:42 +00:00
Steve Checkoway 96a173d753 Empty string for old behavior. 2006-06-22 09:43:18 +00:00
Steve Checkoway 7469032de4 If CreateNewScreen is empty, use old behavior, otherwise set the screen named. 2006-06-22 09:43:07 +00:00
Chris Danford 193f510316 don't do song dir writable check in Home or Practice 2006-06-22 05:27:00 +00:00
Glenn Maynard f90dc8597c build fix 2006-06-22 02:37:58 +00:00
Steve Checkoway 5c37cb873d Write composite NoteDatas. 2006-06-20 15:27:45 +00:00
Steve Checkoway d2a550a532 Cleanup. 2006-06-20 14:41:51 +00:00
Steve Checkoway 96e3f211b8 Split the given composite NoteData into it's constituent parts. If the given NoteData is not composite, just copy it. 2006-06-20 14:32:09 +00:00
Steve Checkoway fff087a76b Split out LoadFromSMNoteDataStringWithPlayer(). This fills out the NoteData without making any copies of sSMNoteData. Previously, this portion of the code copied the full string twice, once when splitting for measures and once when splitting for lines.
Only make a single copy of the string in LoadFromSMNoteDataString() when stripping out comments. Previously, the string was copied as many times as there were comments. Now, the whole loading can happen with a single copy of the data.
2006-06-20 13:34:28 +00:00
Steve Checkoway 3ee5991c25 Set composite. 2006-06-20 13:21:18 +00:00
Steve Checkoway 91f1329653 Composite NoteData for when one NoteData represents multiple NoteDatas. 2006-06-20 13:20:45 +00:00
Steve Checkoway 4a9cfcb11a Cleanup. 2006-06-20 13:19:12 +00:00
Steve Checkoway 9075356511 Simplify. 2006-06-20 09:31:51 +00:00
Steve Checkoway 3a9bdc1646 Move MakeLoader to NotesLoader. It doesn't make sense for it to be a member function of Song. 2006-06-20 07:12:52 +00:00
Steve Checkoway 5e7ac2deed Cleanup. 2006-06-20 06:48:30 +00:00
Steve Checkoway 8bef98e7b6 Spelling. 2006-06-20 06:34:16 +00:00
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