Commit Graph

21288 Commits

Author SHA1 Message Date
Glenn Maynard cd2bc5df7d fix off-by-one errors in FPS display 2006-06-26 18:55:17 +00:00
Steve Checkoway 80698277cf Don't use rand()%n. The function specified by the ANSI committee is a terrible linear congruential generator. In fact, it's so bad that the low order bit alternates. The algorithm implemented as RandomFloat() seems to be Park and Miller's "minimum standard" generator which is better (but not great). [See Knuth for more information.]
Any place where you would use rand()%n, use RandomInt(0, n) instead.
2006-06-26 12:14:30 +00:00
Steve Checkoway d2d24ceb4b Cleanup. 2006-06-26 11:36:10 +00:00
Steve Checkoway 4524010d56 Apply RemoveSimultaneousNotes to each part of a composite NoteData. 2006-06-26 11:35:52 +00:00
Steve Checkoway 78eb52a75c Add missing header. 2006-06-26 10:57:26 +00:00
Steve Checkoway 0279fd908f CombineCompositeNoteData(). This will not let you place a note inside a hold note that already exists. Use this when loading from a string as well. 2006-06-26 10:57:10 +00:00
Steve Checkoway 4240ac6393 Update release script. 2006-06-26 10:42:47 +00:00
Steve Checkoway 8129d943ba It's hard to maintain this information when using begin() and end() so rather than wrapping the iterators, just check each time IsComposite() is called since it doesn't happen _that_ often. Just don't call IsComposite() often. 2006-06-26 09:33:11 +00:00
Chris Danford ec9d50c332 check for period mismatches 2006-06-26 09:05:20 +00:00
Chris Danford db83f9029a remove "see the readme" from explanation text. It's making strings long and is unnecessary. 2006-06-26 09:02:23 +00:00
Glenn Maynard 3f48b7f729 save language after changing 2006-06-26 05:08:55 +00:00
Glenn Maynard c08e133f02 RageDisplay_Null.cpp:89: warning: missing initializer for member `DisplayResolution::bStretched' 2006-06-25 21:42:50 +00:00
Glenn Maynard 861d515d82 NoteField.cpp:153: warning: converting to non-pointer type `int' from NULL 2006-06-25 21:40:42 +00:00
Glenn Maynard 7c3c56f2b9 SetHibernate can be called after queuing tweens. GetLengthSeconds is hacky, and needs to be removed ... 2006-06-25 20:08:31 +00:00
Glenn Maynard 33d89da000 bind GetNextScreen 2006-06-25 20:06:06 +00:00
Josh Allen 08a76abd14 Allow selection of different profiles for different users. Two player login is still broken though. 2006-06-25 19:50:08 +00:00
Josh Allen 564832ee08 Moved to RoomInfoDisplay Background.xml 2006-06-25 19:46:48 +00:00
Josh Allen eee0551fea Quad to AutoActor 2006-06-25 19:26:39 +00:00
Glenn Maynard 3a10111e99 bleh. Too much doesn't use the standard StartTransitioning/Cancel paths; this needs to be transitioned. Don't need m_sPrevScreen, though. 2006-06-25 18:14:42 +00:00
Glenn Maynard b0055b0853 simplify. Don't separate "next" and "cancel" as much: to cancel, set the next screen to PREV_SCREEN, and use SM_GoToNextScreen. 2006-06-25 18:11:09 +00:00
Chris Danford cee1f2205c hex <-> binary format string changes from Steve 2006-06-25 05:56:41 +00:00
Chris Danford 37db209bc9 hex <-> binary format string changes from Steve 2006-06-25 05:30:36 +00:00
Steve Checkoway 477a2c99b3 I do not have time to fix these tests since they do not compile, but libresample is no longer in the repository. 2006-06-25 05:12:06 +00:00
Steve Checkoway 5b6028c73e No more libresample thanks to Glenn's Herculean effort to rewrite that code. 2006-06-25 04:57:35 +00:00
Chris Danford 304d4c33ae add HexToBinary, move to RageUtil 2006-06-25 04:21:58 +00:00
Glenn Maynard db86dbb519 fix if iPadding < 0 2006-06-25 04:00:34 +00:00
Glenn Maynard fa0af16dea typo 2006-06-24 22:32:27 +00:00
Glenn Maynard 8a9df86c54 add missing 2006-06-24 22:30:10 +00:00
Glenn Maynard bd2246f8ae ScreenWithMenuElementsSimple 2006-06-24 18:06:05 +00:00
Glenn Maynard 42b53d9334 add GenericTweenOff 2006-06-24 18:03:16 +00:00
Glenn Maynard 3685ff4cd8 Only SWME::BeginScreen calls TweenOnScreen. TweenOnScreen should only do ON_COMMANDs. Move SortByDrawOrder out. 2006-06-24 17:58:43 +00:00
Chris Danford b44ad7a4e0 preserve language name case in file name if LanguageInfo not available 2006-06-24 16:57:39 +00:00
Jason Felds 3f15b07616 Add ScreenGameplayShared.* 2006-06-24 16:46:38 +00:00
Steve Checkoway 1e7852ed1f Don't crash if we're not editing a course entry. 2006-06-24 07:46:17 +00:00
Glenn Maynard f7494da13e cleanup 2006-06-24 05:52:25 +00:00
Glenn Maynard 12de9309d6 defined intptr_t 2006-06-24 05:42:52 +00:00
Glenn Maynard 87cc6c593f real fix for VC6 2006-06-24 05:40:12 +00:00
Glenn Maynard 29cea74bdf yes 2006-06-24 05:25:39 +00:00
Chris Danford aa88059c80 fix mis-named: GetOptionNames -> GetModifierNames 2006-06-24 05:16:38 +00:00
Chris Danford 282c4d82d5 fix VC6 compile 2006-06-24 05:14:13 +00:00
Chris Danford 26ce4fa74d split strings and metrics 2006-06-24 05:13:54 +00:00
Glenn Maynard d27b40598e fix backgrounds put back in prepared list when they should be deleted 2006-06-24 05:07:04 +00:00
Steve Checkoway 08146691e7 Cleanup. 2006-06-24 04:42:49 +00:00
Steve Checkoway dcea3319ca Add files. 2006-06-24 04:24:21 +00:00
Steve Checkoway fa76d771f3 Shared. 2006-06-24 04:21:13 +00:00
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