Commit Graph
4533 Commits
Author SHA1 Message Date
AJ Kelly dfefecaa25 just some small comment cleanup 2011-12-15 21:03:14 -06:00
AJ Kelly c8e99cc18b [LifeMeterBattery] Fixed various issues (lives not fully disappearing on fail, P2 lose life animation having the wrong x zoom, hide the lives number if it falls below 0). 2011-12-12 22:13:32 -06:00
Jason Felds 058f03e495 Allow versus oni graceful failure. 2011-12-12 21:27:32 -05:00
Jason Felds 1376a46b01 Add the GAMESTATE:InStepEditor LUA binding. 2011-12-12 18:49:10 -05:00
Jason Felds 84f07b8503 Restore segment cycling in the editor. 2011-12-11 19:30:37 -05:00
Jason Felds a52ccc33c8 Respect optimization opportunity.
Considering how often this can be called,
it's probably worth the code duplication.
2011-12-10 01:41:01 -05:00
Jason Felds 6d1517c9ce Reuse already established variable.
It won't change in this position.

Wonder if it should just be forced const then.
2011-12-09 21:15:29 -05:00
AJ Kelly f1e412e961 [PlayerState] Added GetSuperMeterLevel() Lua binding. 2011-11-30 00:44:27 -06:00
AJ Kelly a49044501e [PlayerOptions] Added IsEasierForSongAndSteps(Song,Steps,PlayerNumber) and IsEasierForCourseAndTrail(Course, Trail) Lua bindings. 2011-11-30 00:35:06 -06:00
Jason Felds 1234afec1f Gotta stay caught up. 2011-11-30 00:32:46 -05:00
Jason Felds fd40fea9cb Remove PMSLoader.
The BPMSLoader now handles PMS files considering their
similarities.
2011-11-30 00:32:17 -05:00
AJ Kelly aabb060446 [LifeMeterBattery] Added MaxLives metric, which limits the maximum amount of lives. Setting this to 0 will remove the limit. 2011-11-28 22:13:30 -06:00
Jason Felds 2d3c3628a1 Add the SurvivalModOverride metric. 2011-11-28 19:13:15 -05:00
AJ Kelly 6a700d5cd8 added some alpha to the locked value 2011-11-27 22:33:34 -06:00
AJ Kelly c2f79eb423 very small formatting changes 2011-11-27 22:28:50 -06:00
AJ Kelly 06e54b3985 make this assert message more descriptive 2011-11-27 22:20:32 -06:00
Jason Felds 5d26c474d9 Well, that was a doozy.
Allow inserting and removing of beats and timing changes
in increments other than 4th notes.
2011-11-27 18:33:34 -05:00
Jason Felds d8cfd1155b ...forgot the prototype.
Sorry all, you get to recompile.
2011-11-27 18:28:01 -05:00
Jason Felds c4e5cc16f8 Whoops: forgot _M. 2011-11-27 18:24:58 -05:00
Jason Felds 952297703a Add companion NoteTypeToRow function.
Time to try to get a use for this.
2011-11-27 18:14:37 -05:00
Jason Felds c566686aff Be direct. 2011-11-27 18:06:50 -05:00
Jason Felds fcbb15e79f The missing semicolon was annoying. 2011-11-27 17:25:52 -05:00
AJ Kelly 6919da8e5a [PlayerOptions] Pretty large changes here, namely a bunch of new bindings. Fixed the logic for GetReversePercentForColumn; It will now return nil for invalid columns. Also fixed the logic for UsingReverse (now checks for 1.0f) and SetPassmark (no longer allows values < 0.00f and > 1.0f). 2011-11-27 05:02:39 -06:00
Jason Felds 22487df03c New editor feature: Shift + F9/F10 for delays.
Works the same as stops really.
2011-11-26 13:56:27 -05:00
Jason Felds 5a53bde988 Minor syntax adjustment. 2011-11-26 13:45:29 -05:00
Jason Felds f4ad43e2c9 Minor convenience issue that I wanted done with. 2011-11-26 13:40:14 -05:00
Jason Felds 40965d3c8d Restore F9/F10 for stops in the editor. 2011-11-26 13:33:21 -05:00
Jason Felds 16a7d5bab7 I am an IDIOT. 2011-11-25 22:10:13 -05:00
AJ Kelly 805bd89b4d it's ugly, but it should work. Only have mines nullify full combo if [Gameplay] MineHitIncrementsMissCombo=true 2011-11-25 17:31:51 -06:00
AJ Kelly d46db6e9c0 [PlayerStageStats] Hitting a mine no longer gives you full combo.
TODO: make this work with [Gameplay] MineHitIncrementsMissCombo metric
2011-11-25 17:27:36 -06:00
AJ Kelly b141db3f55 small todo for later when I have time 2011-11-25 17:19:24 -06:00
AJ Kelly a589fecb5f [PlayerStageStats] Added GetFailed and GetNumControllerSteps Lua bindings. 2011-11-24 20:51:53 -06:00
Jason Felds 596ada95f4 Slightly more efficient kludge.
I am once again reminded that I need to de-couple
GAMESTATE from NoteData.
2011-11-19 19:58:10 -05:00
Thai Pangsakulyanont f119c8cead add Paint() to SetProgress()
so that Windows does not think that the application is not responding.
2011-11-17 14:24:48 +07:00
Flameshadowxeroshin 8d11f9f136 change a metric 2011-11-15 21:09:27 -06:00
Jason Felds aa470b4def Add the ExtraStageFreshBar metric. 2011-11-15 21:30:29 -05:00
Jason Felds fdd3728ab6 Better var name, phrasing. 2011-11-11 14:21:29 -05:00
Thai Pangsakulyanont 2f10209fcf removed the ugly debugging code
I still don't know how to make LOG->Trace work so I just use fprintf. Just forgot to remove it before last commit.
2011-11-11 19:02:45 +07:00
Thai Pangsakulyanont 248504f275 escape # in first keysound entry, fixed ADPCM reader and make PMS load more correctly.
- [NoteField] fix build warnings, and change the maximum number of displayed notes
  after the receptor to 64.
- [Player] fix build warnings.
- [NotesLoaderSSC, NotesWriterSSC] The MSD file reader seems to treat # that comes
  directly after : as new tag, and as many PMS and BMS files has keysounds which filename
  starts with #, so it looks like this: #KEYSOUNDS:#bgm.wav,01.wav,02.wav,..
  The MSD parser will see it as 2 different tags. So I added a backslash in front of the
  # sign if it's at the start when saving and remove it when loading.
- [RageSoundReader_WAV] ADPCM now works very well and doesn't return error when
  end of file is reached anymore.
- [Steps] Use BMS loader when loading the note data.
2011-11-11 18:40:34 +07:00
AJ Kelly a4c7355c78 small comment update 2011-11-11 02:24:55 -06:00
AJ Kelly 011b696bec fix assert 2011-11-10 23:19:08 -06:00
AJ Kelly 382f16cc00 small todo 2011-11-10 23:13:16 -06:00
AJ Kelly 391dd8624a try to get attack tags (song timing) to print out like course mods do in .ssc files (I tried doing the same with the one in the steps, but it didn't work so it's not included) 2011-11-10 01:11:28 -06:00
Jason Felds d513d73bd2 Possible fix for bug 584:
Don't compress note data in the editor.

I need confirmation that this works as intended before
it goes into the changelog and whatnot.
2011-11-07 14:59:50 -05:00
Jason Felds 61000a1776 Better warning. This may help with debugging. 2011-11-07 02:04:25 -05:00
AJ Kelly 42d7a29ffa [GameplayAssist] Don't play sounds if the player is dead. Fixes issue 621. 2011-11-06 22:15:54 -06:00
AJ Kelly 9793a08b16 [ScreenSelectMusic] Fixed Rave difficulties not being synced on late join. Fixes issue 577. 2011-11-06 16:44:23 -06:00
Jason Felds 4171a40d9d Been awhile since we had a conflict. 2011-11-06 10:37:03 -05:00
Jason Felds 34f3ff2c31 Add RefreshNoteSkinData lua binding.
If anyone recalls the other ways of getting
arbitrary games, a similar binding could be
added to NoteSkinManager.
2011-11-06 10:36:08 -05:00
AJ Kelly f8da50b52f I don't know why in the hell these values were positive but i'm going to hit someone. fixes issue 622. 2011-11-04 15:37:23 -05:00