Commit Graph
21243 Commits
Author SHA1 Message Date
Steve Checkoway e1f9e558df Map between PlayerNumber and PlayerInfo. Most subclasses use a one to one mapping so that's what ScreenGameplay's version will do. If you need other behavior, implement this member function. 2006-06-24 04:19:00 +00:00
Steve Checkoway d008b0aa8b Use doubles track spacing and revert m_iInputColumn. 2006-06-24 04:02:43 +00:00
Steve Checkoway 3c590a2433 If the player is using both sides, look at both controllers. 2006-06-24 04:01:18 +00:00
Steve Checkoway a49787da67 Shared players will only be using the master player's NoteData, Check that the track actually exists before attempting to use it. 2006-06-24 03:31:16 +00:00
Steve Checkoway 8f441235a3 Add Lua binding for current StyleType. 2006-06-24 03:29:56 +00:00
Steve Checkoway ae4e5ba9e5 More Sprite debugging. 2006-06-24 01:33:17 +00:00
Glenn Maynard e6d128cb7b move BG OnCommand back; comment 2006-06-24 01:27:01 +00:00
Glenn Maynard e61568e4cd only put the screen/background into g_pSharedBGA/g_ScreenStack in ActivatePreparedScreen; run start functions in LoadDelayedScreen 2006-06-24 01:21:21 +00:00
Glenn Maynard 3dbd1bec71 return a bool: true if all parts loaded 2006-06-24 00:59:23 +00:00
Steve Checkoway 9a5374e23f Use AbortRetryIgnore, don't just Throw. 2006-06-24 00:58:38 +00:00
Glenn Maynard b1fdee1bad move assert to the right place 2006-06-24 00:50:08 +00:00
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