Commit Graph
90 Commits
Author SHA1 Message Date
AJ Kelly b4327f5223 convert |T| values in KSF files to TimeSignatures for [Player] CheckpointsUseTimeSignatures metric 2010-04-20 23:06:37 -05:00
AJ Kelly 85ab1547ae modify some pump column spacing values; these may get replaced eventually. 2010-04-20 23:06:06 -05:00
AJ Kelly ecacc2a620 DisableOddDimension on Sprite:LoadBanner() 2010-04-20 23:05:12 -05:00
AJ Kelly 08ae114692 add lifts to a few things. (but not ScreenEvaluation DetailLines (yet). I may flip the switch on that before beta 3)
Profile:GetTotalLifts() Lua binding added.
2010-04-20 23:04:43 -05:00
AJ Kelly 02b0ef90d2 IIRC, SongSort_TopGrades and SongSort_LowestGrades rely on PROFILEMAN. 2010-04-20 23:03:44 -05:00
AJ Kelly bfda4f2e23 some cleanup 2010-04-20 23:03:11 -05:00
AJ Kelly 80e5e985c1 Allow MusicWheelItem Random and Portal to have different graphics from Roulette. 2010-04-19 00:19:25 -05:00
AJ Kelly 88f1da651c add SampleMusicPreviewMode_LastSong, now that it works.
There is a hack in there for playing the song associated with the Random option, based on Takuya's DDR Extreme theme having music for it. I am not sure if this is accurate behavior, though.
2010-04-19 00:09:21 -05:00
AJ Kelly 9a809545a0 Finally get rid of PLAYER_COLOR. ColorP1Command and ColorP2Command no longer exist. The last thing that was being diffused with player color in the code was something in the Oni score display. I have also removed the commented code in ScreenSelectMusic.cpp (the score is hidden in _fallback anyways). Since I'm sure you can diffuse ScoreDisplayOni Numbers, but I can't seem to find any references to them in the metrics. 2010-04-17 13:33:28 -05:00
Nicole Reid 1c494f6dd2 libpng 1.4 compatibility patch. 2010-04-17 01:07:06 -04:00
AJ Kelly 7fe0ab784f silence a warning by reverting something i did 2010-04-14 22:15:34 -05:00
AJ Kelly 4a7e97e796 hey some profile stuff i missed that's pretty important! 2010-04-14 22:00:56 -05:00
AJ Kelly 1867e92dee various changes from the ssc svn post-public beta 2 release.
* New Lua bindings SONGMAN:GetGroupNames() and SONGMAN:GetSongsInGroup(string)
* Add Lifts to PaneDisplay (StepMania 3.9+ added them)
* Fix an issue where course banners were able to trip off the uneven dimensions dialog
* NextSong/PrevSong now work when TwoPartSelection=true + TwoPartConfirmsOnly=true on ScreenSelectMusic. A new message ("TwoPartConfirmCanceled") was added to catch when this happens.
and there may have been some stray cleanup in here too
2010-04-14 21:43:32 -05:00
AJ Kelly bb4f181582 DeviceList and InputList are driven by BGAnimations... we don't need these then 2010-04-07 18:17:14 -05:00
AJ Kelly 71976eff0b no more iddqd ...for now. 2010-04-04 01:44:27 -05:00
AJ Kelly db998a1d41 SongManager double shot:
1) Fix issue where course banners were read from cache even when BannerCache wasn't set to full mode.
2) Added GetSongGroupNames() and GetSongsInGroup(sGroupName) Lua bindings.
2010-04-04 00:25:25 -05:00
AJ Kelly cd2bb9df35 NextSong/PrevSong now work when TwoPartSelection=true + TwoPartConfirmsOnly=true on ScreenSelectMusic. A new message ("TwoPartConfirmCanceled") was added to catch when this happens. 2010-04-03 14:56:31 -05:00
AJ Kelly 9e019c194f okay it turns out there's another booboo: BackgroundCache was still referenced in here. (another "should've been in public beta 2" commit) 2010-03-31 19:32:50 -05:00
AJ Kelly 642f4b107c the various changes that I forgot to commit (cleanup and so forth) into hg,
culminating in syncing with sm-ssc v1.0 public beta 2
2010-03-31 17:37:09 -05:00
AJ Kelly feb3d5104d add [ScreenSelectMusic] TwoPartTimerSeconds metric 2010-03-28 13:46:42 -05:00
AJ Kelly c7120dd40b whoops, looks like this should've been a float. 2010-03-28 12:55:34 -05:00
AJ Kelly f60901b2d6 f008761: Don't call GetFirstCompatibleStyle if numSidesJoined == 0 (ScreenContinue) [Chris Danford] 2010-03-28 11:12:59 -05:00
AJ Kelly effacdb017 so long old backgroundcache code 2010-03-28 11:10:22 -05:00
AJ Kelly f68943191e Turns out this multiple toasty trigger thing is causing more problems than it solved. Back to the old implementation of a single toasty trigger for now.
update credits.
2010-03-27 10:27:52 -05:00
Jason Felds 49babda8d1 New metric: allow the color combo to activate whenever.
If x <= 0, the color combo starts at the beginning.
If x >= 1, it doesn't show up at all.
2010-03-26 10:46:09 -04:00
AJ Kelly 4bbc834a8c Attempt to fix MenuTimer-related warning dialogs that come up when changing themes (happens when one theme's warning timer starts higher than another, and the other theme doesn't define it). 2010-03-26 01:38:07 -05:00
AJ Kelly 4bd7076334 Mostly cleanup, but allow lines starting with ';' in .ini files to be treated as comments. 2010-03-26 01:02:49 -05:00
AJ Kelly 89ad0796e7 [BPMDisplay] make the "Various" text a theme-able string. 2010-03-26 00:53:04 -05:00
AJ Kelly 961433cdef Fix a crash caused when switching themes in-game. Technical reason: It was choking on the song group colors, which weren't reloaded on theme switch before. 2010-03-26 00:45:29 -05:00
AJ Kelly 54b6dffb75 Fix a rounding bug that effected screenshots and resolutions.
Previously, you may have gotten values like 639x480 (4:3) or 853x480 (16:9).
These are due to rounding errors caused by lrintf; ceilf does what we really want.

[RageDisplay.cpp] modified screenshot function
[ScreenDimensions] modified SCREEN_WIDTH and SCREEN_HEIGHT algorithms (no longer do you need to SCREEN_WIDTH+1 for 16:9 support)
[StepMania.cpp] modified windowed mode width calculation
2010-03-21 17:02:42 -05:00
AJ Kelly f0b911725b "freestyle" in .ksf files should be considered as a doubles chart. This should fix it. 2010-03-15 18:48:33 -05:00
AJ Kelly dca9182138 various cleanup and commenting 2010-03-14 19:46:05 -05:00
AJ Kelly 5ef1c42e3b ScoreKeeperNormal double shot.
1) convert toasty trigger from a single number to a Lua table. Only problem is, the toasty only triggers on the first one. Since this makes it equivalent to how it was set up before, I'm okay with this.
2) FSX submitted a patch that supposedly fixes the broken combo problem. I can't fully test this, so I'm committing it in the hopes that someone else tests it too.
----
Various theme fixes/changes as well.
2010-03-14 19:24:17 -05:00
AJ Kelly 04317c14ae f8270c6, "draw glow using stroke texture" forces the BitmapText to glow both the inner and stroke elements. This makes BitmapText elementswith an invisible stroke have a glowing stroke instead. Not good.
To combat this, I have developed the BitmapText::textglowmode command, along with the TextGlowMode enum.
Valid values include 'TextGlowMode_Inner', 'TextGlowMode_Stroke', 'TextGlowMode_Both'.
2010-03-12 19:47:08 -06:00
AJ Kelly b5b761234e 23e241a: if a BGCHANGE file can't be resolved, don't use the specified effect because it may require 2 files and all random BGs specify only 1 file [Chris Danford] 2010-03-12 14:09:35 -06:00
AJ Kelly 0c96a43e98 update docs, cleanup memcardman comments and such 2010-03-11 23:48:39 -06:00
AJ Kelly a059209dcb GrooveRadar base is now an ActorFrame. 2010-03-11 19:14:54 -06:00
AJ Kelly f38037b7a8 re-add the ability to reload a theme's Lua scripts, this time via Ctrl+F2. 2010-03-11 13:44:51 -06:00
AJ Kelly cd17227872 don't add checkpoints to combo if autoplay is on. 2010-03-11 13:31:40 -06:00
AJ Kelly 5ea71cfa1b thanks for fixing my oversignt jnr :D
oh right merging of the branches and such etc. etc.
2010-03-09 13:23:05 -06:00
Nicole Reid 0213ac82d4 Fix apparent typo in Player.cpp. 2010-03-09 13:52:36 -05:00
AJ Kelly a7b52df0fa cleanup and comment part unknown of a trillion 2010-03-09 12:21:56 -06:00
AJ Kelly 31c69f1d9c okay I'm not done with the commits yet but mercurial is not making it easy for me
to commit just a subsection of files so I have to dump everything in here. :|
2010-03-09 03:36:44 -06:00
AJ Kelly 8ba30b523c SM4SVN commits, all code by Chris Danford:
* 57e8159: fix handling of noteskins with an uppercase letter
* 3be4d7e: track W4 full combo
* f8270c6: draw glow using stroke texture
2010-03-09 03:22:58 -06:00
AJ Kelly 4d50f8da6e [ScreenEvaluation] new metric DetailLineFormat. must contain two integer flags (%d or %i should work.) 2010-03-09 03:22:05 -06:00
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 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 02c7037721 sm-ssc v1.0 Public Beta 1 code changes 2010-03-01 00:44:39 -06:00
AJ Kelly 60b86919ba [Player] CheckpointsFlashOnHold metric added (bool). also cleanup/comment/etc. 2010-02-24 02:40:36 -06:00