Commit Graph
28025 Commits
Author SHA1 Message Date
AJ Kelly fbd156c00f [ScreenNetEvaluation] add GetNumActivePlayers() binding, as well as UpdateNetEvalStats message (has one param, ActivePlayerIndex). 2010-03-09 03:21:22 -06:00
AJ Kelly 74d7895ccd add ScreenSelectMaster:GetSelectionIndex() Lua binding.
Example usage:
LoadFont("Common normal")..{
	InitCommand=cmd(xy,SCREEN_RIGHT-32,SCREEN_BOTTOM-32;shadowlength,0;horizalign,right);
	OnCommand=cmd(playcommand,"Set");
	SetCommand=function(self)
		local selIdx = SCREENMAN:GetTopScreen():GetSelectionIndex(GAMESTATE:GetMasterPlayerNumber());
		self:settext(selIdx);
	end;
	MenuSelectionChangedMessageCommand=cmd(playcommand,"Set");
};
2010-03-09 03:20:44 -06:00
AJ Kelly 9cf1f44443 update some documentation. 2010-03-05 21:29:25 -06:00
AJ Kelly 4103c75e19 re-add b5129dd: Allow for 'confirmation only' double press mechanisms as a choice for two part selection on ScreenSelectMusic
(small cleanup on ScreenDimensions)
2010-03-01 17:46:41 -06:00
AJ Kelly 23f944ec7c fix credits file... misattribution blargh 2010-03-01 01:22:02 -06:00
AJ Kelly 6014c22be6 sm-ssc v1.0 Public Beta 1 docs 2010-03-01 00:46:49 -06:00
AJ Kelly 02c7037721 sm-ssc v1.0 Public Beta 1 code changes 2010-03-01 00:44:39 -06:00
AJ Kelly 42baa6f3f9 sm-ssc v1.0 Public Beta 1 theme changes 2010-03-01 00:41:15 -06:00
AJ Kelly 1e9975dada Update Pump noteskins (thanks Daisu) 2010-03-01 00:36:07 -06:00
AJ Kelly 60b86919ba [Player] CheckpointsFlashOnHold metric added (bool). also cleanup/comment/etc. 2010-02-24 02:40:36 -06:00
AJ Kelly 01137a22f5 Two of the CodeDetector codes referenced Frieza's old MusicBannerWheel, which is not in use anymore. I have repurposed these to be Next/Previous group, a la Pump it Up. The metrics have been changed to reflect this. Also changed an assert message to be more useful in NoteField.cpp 2010-02-22 00:47:31 -06:00
AJ Kelly 9045d04356 add transitions to SM4 portKit. 2010-02-21 23:33:59 -06:00
AJ Kelly 051f224ff1 various theme things 2010-02-20 16:44:59 -06:00
AJ Kelly cbda9d7914 add some missing fonts, make frutiger load game characters 2010-02-19 22:44:41 -06:00
AJ Kelly 16dd56bdd3 Allow lighting parameters to be set via XNode in ActorFrame. Only diffuse seems to work... 2010-02-19 22:44:05 -06:00
AJ Kelly f42dd5b6af hate hate hate hate hate hate hate hate hate hate hate hate hate hate hate hate hate hate hate hate hate hate hate hate 2010-02-19 16:40:18 -06:00
AJ Kelly c43635b6b3 efa81bc: don't filter NoteSkins at a PrefsManager/NoteSkinManager level. Leave the NoteSkin sorting and filtering up to the theme. [Chris Danford]
ScreenWithMenuElements.cpp - add Cancel command, so actors can react to Cancel.
GameState.cpp - cleanup
2010-02-19 16:05:50 -06:00
AJ Kelly 2c19a3fab1 why the hell didn't this get merged in correctly 2010-02-18 23:18:32 -06:00
AJ Kelly 5c5ef54a48 various changes from sm4 and sm-ssc (svn); see updated changelog for the full information 2010-02-18 23:17:24 -06:00
Nicole Reid 6f774791bd Add freedesktop.org desktop entry and icons for UNIX systems.
added icons/hicolor/128x128/apps/stepmania-ssc.png
added icons/hicolor/16x16/apps/stepmania-ssc.png
added icons/hicolor/192x192/apps/stepmania-ssc.png
added icons/hicolor/22x22/apps/stepmania-ssc.png
added icons/hicolor/24x24/apps/stepmania-ssc.png
added icons/hicolor/256x256/apps/stepmania-ssc.png
added icons/hicolor/32x32/apps/stepmania-ssc.png
added icons/hicolor/36x36/apps/stepmania-ssc.png
added icons/hicolor/48x48/apps/stepmania-ssc.png
added icons/hicolor/64x64/apps/stepmania-ssc.png
added icons/hicolor/72x72/apps/stepmania-ssc.png
added icons/hicolor/96x96/apps/stepmania-ssc.png
added icons/hicolor/scalable/apps/stepmania-ssc.svg
added stepmania-ssc.desktop
2010-02-18 14:57:54 -05:00
AJ Kelly f9bfc80fa9 restore some stuff I had nuked; whoops. sorry wolfman. 2010-02-17 20:48:30 -06:00
AJ Kelly 435ca51b43 make StepsOrTrailToColor actually return something instead of doing nothing 2010-02-17 20:31:40 -06:00
AJ Kelly dfc5f53134 various theme changes by Midiman and myself. 2010-02-17 19:47:36 -06:00
Jason Felds 4791b411d1 Add files to Mac build. Fix compile.
I was getting errors about a missing NotePart_Invalid when
I noticed it wasn't a part of the enum. I don't know if that
was intentional, but it was throwing the compiling off.
2010-02-15 08:28:51 -05:00
AJ Kelly 75861f22a1 various commits from SM4 SVN, courtesy of Glenn and Vyhd. 2010-02-14 23:02:34 -06:00
AJ Kelly 3c09722d3c GetSongList actually has params; should fix MusicWheel.cpp compile 2010-02-13 22:37:22 -06:00
AJ Kelly 034cbc4d83 fixes compiling of Player.cpp 2010-02-13 22:33:43 -06:00
AJ Kelly 4a92f73a49 diffuse the GrooveRadar polygons with PlayerColor by default 2010-02-13 17:10:22 -06:00
AJ Kelly 6879834149 sm4svn commits (all code by Glenn Maynard)
1fc3636: "working on routine mode"
fb1edc2: "working on routine"
20b5827: "working on routine"
193363b: "working on routine"
bd042f9: "working on routine"
2010-02-13 14:31:58 -06:00
AJ Kelly 777745b7fb sm4svn sync part 2.
528089b: remove preferred group filtering (leaving the setting in for later use) [Glenn Maynard]
96821ad: fix pump routine right side DownLeft not drawn [Chris Danford]
fd88c62: easier debug stepping [Chris Danford]
2010-02-13 13:37:03 -06:00
AJ Kelly a7a8b6b94d syncing with sm4svn part 1.
7534867: fix SSM crashes when selecting a song with only one player enabled
cddaab5: simplify SongUtil::GetStepsTypeAndDifficultyFromSortOrder
615aab0: add Style::GetUsesCenteredArrows (doubles + routine)
17f38e7: sanity check
[all code changes by Glenn Maynard]
2010-02-13 12:50:34 -06:00
AJ Kelly 484820424b CourseType is optional for GetCustomDifficulty().
Sync up Midi's theme changes.
2010-02-11 23:27:17 -06:00
AJ Kelly 00e0c7c801 add TapNote::autoKeysound to NeedsTapJudging, NeedsHoldJudging; Fixes a crash with keysounded files. 2010-02-11 17:42:20 -06:00
AJ Kelly a4a44e6a28 40c5644: Added more logical handling of Routine mode selection (see source code comments); hopefully, we can write up a more standard solution to this later, since this is kind of a hack [vyhd] 2010-02-11 01:06:20 -06:00
AJ Kelly 7f19f8310a Okay so Glenn decided to revert some Frieza code. I'm not going to remove everything Glenn did, as there was some useful code.
However, the ones I agreed with were:

75d5b63 "if a Noteskin fails to be loaded by the time the notes need to be displayed, attempt to force the default theme on and throw errors in to the log rather than crashing SM."
Glenn: There was no indication in the commit of when this was actually happening; this is unnecessary logic that will do nothing but hide bugs.
AJ: Based on some of the other code I've seen in the StepMania codebase, I'd say having this code in GetMetric isn't a good idea. There's an assert for checking if the noteskin isn't empty. That should suffice.

e27e971 "Adds metric options to flash the lifebar when a note is hit"
AJ: There are many possible ways of doing this without having to add a new metric.
The most extreme example is to code your own life bar and mess with JudgmentMessageCommand.
I'm not sure if StreamDisplay would respond to the message or not, but there are multiple ways of getting at the Stream. (ultralight, to be released, contains an example)
2010-02-10 21:23:28 -06:00
AJ Kelly 0f63c3d957 possible fix for handling of delays in autoplay. may also fix things elsewhere (editor?), but that is untested. autoplay seemed to work well with uprock (the song) so I have no complaints. 2010-02-10 03:28:13 -06:00
AJ Kelly c45d0c89c7 fc3d177: Fix GAMESTATE:GetCurrentSteps() only returning single-player steps for any difficulty [vyhd] 2010-02-09 17:01:30 -06:00
AJ Kelly 2d872ac518 427a764: subtractive blend (OpenGL only for now) [Glenn Maynard]
I was looking into writing the equivalent Direct3D code; still not 100% sure if my code is right, so it stays local for now.
2010-02-08 01:32:14 -06:00
Jason Felds c0d0269549 Exclude personal theme folders.
There needs to be a way to negate what's in this file.
AKA, exclude Themes, but include Themes/_fallback for instance.
2010-02-07 01:15:00 -05:00
AJ Kelly d80641ecf1 fix byte order mark issue in customspeedmods 2010-02-06 21:33:52 -06:00
AJ Kelly b79e3c8bbd change line endings in autoconf/config.rpath per this conversation:
[14:20:00] <And4713> and so does ssc if you correct the crlfs in one of the files
[14:20:06] <donkey_dong> which file
...
[14:22:11] <And4713> config.rpath under the autoconf directory
[14:22:49] <And4713> after I did that one everything compiled great, and I even got moonlight working on it as per your comments instructions
2010-02-05 14:25:44 -06:00
AJ Kelly f2f7d2ceeb add [MusicWheel] RecentSongsToShow metric
--------
cleanup
small amount of work on guitar-five (still incomplete)
add more commented out stuff for replay data playback
debug trace combo in order to find out issues with smo-ssc
added old packet names as comments in NetworkSyncManager.h
2010-02-05 13:42:55 -06:00
Jason Felds f9b01e9c93 Intended fix: fix copyright symbol.
I was having it viewed as ? originally.
We need a better way to ensure UTF-8 is used
throughout our files.
2010-02-04 21:05:24 -05:00
AJ Kelly f8b71f2ab9 expand on the message that comes up when people install songs incorrectly 2010-02-04 14:39:49 -06:00
AJ Kelly ed0c3a9251 forgot to replace RoomWheelItem bar with NormalPart/ColorPart in fallback. whoops! 2010-02-04 14:06:24 -06:00
AJ Kelly 825dc8f33e recent theme changes from ssc svn 2010-02-03 23:40:12 -06:00
AJ Kelly 9b8da1f06a fix compile 2010-02-02 20:08:44 -06:00
AJ Kelly 015114ffc7 convert line endings on build.sh to LF (unix) from CR+LF (windows); should make it so you don't have to run dos2unix on it 2010-02-02 16:12:48 -06:00
AJ Kelly ca8f660c4f syncing changes from ssc svn, mostly.
[Course.cpp] HasTimedMods() now actually checks for timed mods (technically non-global) instead of being a clone of HasMods()
[Player.cpp] add MAX_HOLD_LIFE/[Player] MaxHoldLife metric
[ScreenGameplay] looking into places to put loading of replay data, perhaps?
[elsewhere] lots of cleanup, and I'm sure there's lots more to be done.
add a todo to ProductivityHelpers.
2010-02-02 16:00:10 -06:00
Jason Felds 19a0444747 Fix encoding issue. 2010-01-31 21:06:02 -05:00