Commit Graph

2740 Commits

Author SHA1 Message Date
Colby Klein 195361e94a Add padding to the loading window progress bar on OS X. 2011-12-20 00:40:31 -08:00
Jason Felds 70f1a05c6f Have Glew be compiled on its own.
This is designed to be compatible with VS2008.

It has not been tested yet for VS2010.
2011-12-19 20:13:00 -05:00
Jason Felds 9bf47cbebd Remove deprecated switch, disable warnings. 2011-12-19 19:56:37 -05:00
Jason Felds 77e226bf4d Force saving when editing an attack. 2011-12-18 11:31:49 -05:00
Colby Klein 4d327d32a5 Make it possible to actually find all of SM's files on Windows. I know this had
good intentions, but it was infuriating and confusing to everyone I've ever
had to explain it to. %APPDATA% will work fine.
2011-12-17 11:47:13 -08:00
AJ Kelly c7fab6014f [Various] Allow loading of *.jpeg in addition to *.jpg. 2011-12-17 03:21:12 -06:00
AJ Kelly be2a2a981f [StreamDisplay] Added VelocityMultiplier, VelocityMin, VelocityMax, SpringMultiplier and ViscosityMultiplier metrics. 2011-12-16 12:05:34 -06:00
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