Commit Graph
3358 Commits
Author SHA1 Message Date
Jason Felds 602aed8d97 Fix unlocking of steps via previous difficulty.
Thanks to Sta and Kevin for the fix.
2011-09-29 23:51:23 -04:00
Jason Felds 91999148d8 Add GameState::EditAllowedForExtra metric. 2011-09-29 22:09:52 -04:00
Jason Felds 4f2e40874c I don't like plain asserts. Add a message. 2011-09-29 22:00:57 -04:00
AJ Kelly 2168af0d3d partial revert of revision 0eec6f0; restores screenshot functionality on Direct3D (fixes issue 463) 2011-09-26 18:25:40 -05:00
AJ Kelly 0e56c9aeaf oops 2011-09-26 17:57:05 -05:00
AJ Kelly e590230968 [ThemeManager] Add global Scripts dir. [originally by shakesoda from broken] 2011-09-26 17:52:08 -05:00
AJ Kelly b675524073 eol crap? are you serious bro? 2011-09-25 23:31:11 -05:00
Flameshadowxeroshin ed9c3934c7 all the live long eh 2011-09-25 21:23:01 -05:00
Flameshadowxeroshin 400e10e79b senhor saturno~~~~~ 2011-09-25 21:21:21 -05:00
Flameshadowxeroshin f2f4a67918 senhor saturno episode II: stupid star wars joke here 2011-09-26 02:08:31 +00:00
Flameshadowxeroshin e9cd8cf863 senhor saturno beckons 2011-09-26 02:03:12 +00:00
AJ Kelly 17f47c7de6 small cleanup 2011-09-25 15:07:04 -05:00
AJ Kelly 3548810ad5 make the 'attempt to index a function value' stand out as a lua panid 2011-09-25 11:17:19 -05:00
Jonathan Payne 94ec7daa21 why was this never added in the first place? seriously. 2011-09-25 02:31:00 -07:00
AJ Kelly 0bab252b0d [WheelItemBase] Added GetColor and GetText Lua bindings. 2011-09-25 01:18:31 -05:00
AJ Kelly a3c1cfc7c2 [FadingBanner] Added LoadFromSortOrder(SortOrder) Lua binding. 2011-09-24 23:47:21 -05:00
AJ Kelly 9ced908183 [MusicWheelItem] Add/reinstate MusicWheelItem Mode Normal/Color/OverPart. 2011-09-24 23:41:03 -05:00
Thai Pangsakulyanont abf23da02f merge 2011-09-25 10:00:34 +07:00
Jason Felds e1ccf9be94 How long must we support this "hack"? 2011-09-24 15:25:17 -04:00
AJ Kelly dbba5bd934 fix visual studio 2008 compile; will check other vs versions soonish 2011-09-24 01:57:19 -05:00
Jason Felds cdcb917e76 Stop some beat 0 crash bugs in the editor.
I suspect that the removal of shifting timing changes at beat 0
will stay in regardless. It is the removal of converting measures
to stops/delays that may be fought against. That is fine.

The bugs attached to these issues, 415 and 525, will only be
resolved when enough devs agree this is a fair fix.
2011-09-24 02:01:46 -04:00
Jason Felds 041d59f315 Anyone recall WHY I had this code?
Remove forced timing data copying if only one Step.
2011-09-23 22:51:06 -04:00
Jason Felds c6fff60998 Finish the 3 decimal write out.
Observation: we have two ways of writing out timing tags in
NotesWriterSSC. Perhaps these should be unified soon.
2011-09-23 22:33:46 -04:00
Jason Felds 83c3899c00 Fix loading of steps from .sm files.
Some files were using non standard difficulty names
that weren't being caught properly.
2011-09-23 22:06:43 -04:00
Jason Felds 3bd53a5cb4 Hopefully linux is caught up. 2011-09-23 19:43:05 -04:00
Jason Felds 79aefde204 These windows builds...well, hopefully are good. 2011-09-23 19:41:54 -04:00
Jason Felds b04438a546 These Windows builds should be good. 2011-09-23 19:41:46 -04:00
Colby Klein 69431604e3 Remove the old files. (also I am very sorry for nuking the line by line history, this has been pissing me off for ages) 2011-09-23 15:44:01 -07:00
Colby Klein 6fed94a210 Move Actors into a folder. The very beginning of organizing things. This WILL break compile. 2011-09-23 15:39:54 -07:00
AJ Kelly a8031d4b11 attempt to fix the resolution problem by going back to the old code 2011-09-23 16:00:23 -05:00
AJ Kelly d782518c14 [ScreenEvaluation] Added RollingNumbersMaxComboClass metric. (also removed unused MaxComboNumDigits metric from C++-side) 2011-09-23 01:26:53 -05:00
AJ Kelly 8d528625de [LoadingWindow_Win32] Make the StepMania window gain focus after the loading window closes. Fixes issue 424. 2011-09-22 20:19:27 -05:00
AJ Kelly 8ae8bab984 [ScreenDebugOverlay] Replaced hardcoded toggle command with ButtonTextToggledCommand metric. 2011-09-22 19:09:58 -05:00
Mark Cannon 561bdeeeb8 fix unnecessary vector copy 2011-09-22 09:19:20 -04:00
AJ Kelly 9b4c2a4b71 [FadingBanner] Added LoadRandom(), LoadRoulette(), LoadFallback(), LoadCourseFallback(), GetBanner(int) Lua bindings. 2011-09-21 22:24:32 -05:00
Marcio Barrientos 6d4b5c8e76 Add one new Lua binding to add one more stage to player (bonus)
AddStageToPlayer(pn)
2011-09-21 16:21:23 -06:00
AJ Kelly d3634e343f remove unneeded logging 2011-09-20 17:40:07 -05:00
Thai Pangsakulyanont c63809125a keep as many notes after the receptor on the screen as it could, but limit
it to 32. [we may need to fine-tune this number later, but now missed notes
no longer disappear on slow / stopped parts using speed/scroll segments]

Please note that this code might not work well with negative speeds/scrolls.
2011-09-19 12:50:18 +07:00
AJ Kelly 7edab29ad7 small formatting changes 2011-09-18 21:02:29 -05:00
AJ Kelly 145d2ebf0f remove duplicated comment 2011-09-18 20:35:10 -05:00
Mark Cannon f0880d6fd2 fix memory leak in TimingData, remove unnecessary structure copies in ScoreKeeperNormal 2011-09-18 19:07:39 +00:00
Jason Felds 9243c78fce Thanks vyhd. 2011-09-18 14:41:44 -04:00
Jason Felds a67ee09abf Added two new Lua bindings to Song.
GetSampleStart()
  GetSampleLength()
2011-09-18 14:41:28 -04:00
Jason Felds 75d1c672c8 Added IsSongLocked() Lua binding.
To be honest, I'm wondering if this should be in SongManager
instead of or as well as UnlockManager.
2011-09-16 23:08:50 -04:00
Jason Felds 8d6ccfb098 Whitespace wars. Deal with it later. 2011-09-16 23:01:45 -04:00
Jason Felds 10f0fa54f2 Added GetNumLockedSongs() Lua binding.
This gets the number of songs that are locked for any reason.

I wonder why the unlocked songs functions say that songs locked
by unlock entries are counted there, but fair enough.
2011-09-16 21:52:27 -04:00
Mark Cannon 5f3a8c446a slightly saner formatting for this block of code 2011-09-16 23:22:16 +00:00
Thai Pangsakulyanont 61a69fe457 prepwork: also generate a data structure for note statistics that can
determine the number of notes to display from any beat to any beat in
O(log n) [n = number of non-empty rows].

it might be used to determine the first displayed beat or last displayed
beat based on number of notes on screen (instead of fixed beats),
if this can be implemented properly, then notes will no longer disappear
or appear during a long slow scrolls/speeds [as long as the number of
notes to display is in our limit].
2011-09-16 22:27:56 +07:00
Thai Pangsakulyanont 9164eccfde oops, it did not erase, but it did not skip. 2011-09-16 21:15:47 +07:00
Thai Pangsakulyanont a03e6f0efa - use a straightforward binary search for GetSegmentIndexAtBeat
- fix a bug where adding a segment with the same value as the old one
  removes the old one [it should just skip adding the new segment].
2011-09-16 21:03:06 +07:00