Commit Graph

83 Commits

Author SHA1 Message Date
sigatrev ce2b729710 SetGame method
Added SetGame method to GameManager.

Altered Stepmania::ChangeCurrentGame() to allow a second input,
selecting which theme will be loaded after game is changed.
2014-08-02 00:38:23 -07:00
Kyzentun f8e1e28286 Exposed StepMania::SaveScreenshot to Lua. Added prefix and suffix args for setting the screenshot name and removed the unused index arg. Added GetHighScore to PlayerStageStats and AddScreenshot to Profile so that Lua can imitate ScreenEvaluation's code for adding a screenshot to the profile. Removed hungarian notation from variable names in StepMania::SaveScreenshot. 2014-06-17 00:29:09 -06:00
freem dd187e204c we actually don't need this anymore, even in releases. (things only freem remembers) 2014-03-07 20:56:51 -06:00
Devin J. Pohly 1220dbe085 Revert "Round 2-2 of this."
This reverts commit 0ae4183f7b.
2013-06-04 23:47:22 -04:00
Jason Felds 0ae4183f7b Round 2-2 of this. 2013-04-16 00:16:02 -04:00
Devin J. Pohly f68d921d4c we don't need an extra variable here 2013-01-25 18:02:57 -05:00
Jason Felds 5fd75f49ce Nothing against goto, but this must goto trash.
...ugh. Bad pun.
2013-01-24 22:18:24 -05:00
phantom 5fa1e3d2a0 Splash should show up properly now. 2013-01-01 17:40:29 +01:00
Devin J. Pohly bd0e2074ad replace ASSERT(0) with useful fail messages 2012-12-27 16:59:35 -05:00
Jason Felds 1fc16698ba War on -Werror, part 12: explicit bool usage.
It may save a few cycles, but it's best to be
explicit on boolean operations, especially with
ASSERT.
2012-12-27 11:38:53 -05:00
Colby Klein 8146ced92a Load up GLES2 renderer if specified in Preferences 2012-12-09 03:01:38 -08:00
Jason Felds 00f7991759 Temporarily disable the version checker properly.
Sorry Aldo, but I still want this to point
to the proper version of SM5. ;)
2012-05-21 21:47:19 -04:00
AJ Kelly 96969ce4e8 only run update logic after applying command line options; allows --ExportLuaInformation to run without requiring user input 2012-05-21 13:14:23 -05:00
Aldo Fregoso 09f369cd33 Imported the check for updates code from StepMania AMX.
---
TODO: Move the code from NSMAN to a new class
TODO: HOOKS->GetURL for Linux
TODO: Do not run the check every time the game is launched, use:
PREFSMAN->m_iUpdateCheckIntervalSeconds - Seconds to wait before running the next check
PREFSMAN->m_iUpdateCheckLastCheckedSecond - Timestamp of the last check
2012-05-21 02:29:59 -05:00
Jonathan Payne cd3fc694cc revert comments 2012-03-17 00:27:05 -07:00
Jonathan Payne 4d4856495a force portable mode for now. let's see how bad this breaks things. 2012-02-23 16:26:54 -08:00
AJ Kelly c65b453e70 [StepMania.cpp] Fix initial aspect ratio on first boot, hopefully. (See issues 6 and 27) 2011-12-23 14:09:16 -06:00
AJ Kelly dfefecaa25 just some small comment cleanup 2011-12-15 21:03:14 -06:00
Jonathan Payne c6498250b2 [default] hotkey to refresh noteskins without having to refresh everything 2011-10-14 15:18:55 -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 4e3a15d587 let's try handling this aspect ratio thing a little differently... 2011-08-20 13:16:15 -05:00
Colby Klein 75c8b0949c Disable automatic aspect ratio guessing, default to 854x480 (16:9 because most newer displays are wide). 2011-08-19 13:22:44 -07:00
Mark Cannon e1a447cc36 revert henke's loadingwindow "improvements"; if you're reading this, henke, you do *NOT* sacrifice readability for misguided optimization, and you do *NOT* use a globally externed variable for something with a useful lifetime of part of one function 2011-08-06 21:33:49 +00:00
Mark Cannon 9c362efb2c one more commit to fix, and then I'll stop committing at 3 AM 2011-08-04 03:16:36 +00:00
Mark Cannon 1fc7012d2e revert a bunch of LoadingWindow text that is processor bound and won't display anyway; also reverted ArchHooks in SongManager (seriously, wtf?); if we need it that badly, let's make a better structure 2011-08-04 03:07:52 +00:00
Henrik Andersson 363947d46a [default->loading window] Catching up. 2011-07-20 20:06:28 +02:00
Jason Felds dbdab4759e [Xcode4] May as well fix switch warnings.
Still need some assistance for the linker error.
2011-07-20 11:11:04 -04:00
AJ Kelly b1f4bb151d [LoadingWindow] Added the ability for themes to have custom splash banners. (Currently Windows-only.) 2011-07-19 19:40:44 -05:00
Aldo Fregoso c14dfd767c Shared change with SMA, Low Level Hooks to disable Window's system shortcuts, try to press Windows Key when SM has focus :D 2011-07-18 22:41:13 -05:00
Jason Felds 35b5dffcf8 ...what country are we in for this spelling? 2011-07-16 23:17:24 -04:00
Henrik Andersson 1ee1bd384b [loading window] Hey look, the load can be aborted now!
Also, loading messages are now in the language file.
2011-07-11 14:56:44 +02:00
Jason Felds c3c8753620 More prototype warning stuff.
I know these should be in the .h files,
but we can cover that later.
2011-06-12 19:20:43 -04:00
Henrik Andersson 167cd9238a [loading window] Should really have included this in the initial design. Now it can be indeterminate too. 2011-06-05 11:32:51 +02:00
Henrik Andersson 6c7ebfafe8 [loading window] Note to self #2: Refresh the file list before commiting. 2011-06-04 23:37:36 +02:00
Henrik Andersson 1dfb3a6f9a [loading window] More use of the global instead of as an argument. 2011-06-04 23:21:33 +02:00
Henrik Andersson 9bff0653c0 [loading window]It's now a global, and it wasn't even used. 2011-06-04 23:10:07 +02:00
Henrik Andersson 813c2d8f09 [loading window] Theme loading should also list itself in the loading window. 2011-06-04 16:09:47 +02:00
Henrik Andersson 75d595878a [loading window] Reporting progress for more than just song loading. 2011-06-04 14:55:38 +02:00
Alberto Ramos 470aa2d948 woes 2011-05-23 02:30:12 -06:00
AJ Kelly 69c7cfa581 remove last xbox references 2011-05-19 05:18:32 -05:00
AJ Kelly fb1dbd4463 merge 2011-05-02 20:11:26 -05:00
Colby Klein e9d6fada14 Fix compile, rename _Legacy to _OGL so I stop being confused 2011-05-02 11:23:37 -07:00
AJ Kelly cf81f8cc3b remove xbox support; it doesn't work, and it'd take too much effort to get it working again 2011-03-19 19:28:57 -05:00
Colby Klein 53865866d3 [opengl] merge (part 2) 2011-03-16 23:35:47 -07:00
Colby Klein 0c457ba55b [opengl] merge (part 1?) 2011-03-16 23:27:50 -07:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Colby Klein 5cf68a2f76 [opengl] Remove all references to RageDisplay_OGL (changed to _Legacy). Start removing old D3D stuff. 2011-03-13 23:36:20 -07:00
Jason Felds 650653b4d2 Multiple warning fixes dealing with casts.
Yes, I am using static_casts. Generally safer.
2011-03-14 02:09:58 -04:00
AJ Kelly e890bd446c fix bugs, for real this time 2011-03-09 19:12:15 -06:00
AJ Kelly 319efa9060 o
o                     _____,
                                  .iiiii>`
        ()                      .=ii||i+`                        .,
                               =iii|ii|;                          =_
                              _-~~~~~~~`                          -|i
  o                    .__=iiii|i|i|i||=_______                    ii|
                  ._iiiiiiiii||i|i|i|iiiililiiiii|=_               i|i|;
           o   .=iiii|||i|i|i|i|i|i|i||i|i|i|i|i|iiii__            i|i|;
              _iii|i|iii|i|i|i|i|i|i|ii|i|i|i|i|i|i||ii=,          i|i|i;
        _ac, ~~ii|i|i|||i|i|i|i|i|i|i|i|i|i|i|i|i|i|i|iii=_.      .i|i|i;
       ]P\awQQma/+i|i|ii|i|i|i|i|i|i|i|i|i|i|i|i|i|i|i||iii=      =|i|i|;
       ?4QQQQQQWW6/i|i|i|i|i|i|i|i|i|i|i|i|i|i|i|i|i|i|i||i|_    .=i|i|i;
       ')4P?QQQQQQQ_"i|i|i|i|i|i|i|i|i|i|i|i|i|i|i|i|i|iii|ii__._=li|i|i;
   ()       QQQQQQQQ i|i|i|i|i|i|i+~_ ~i|i|i|i|i|i|i|i|i||i||iiiiii|i|i;
       ,    QQQQQQQH i|i|i|i|i|i+==ii| <|i|i|i|i|i|i|i|i|i|ii|i|i|i|i|i`
       )46ajQQQQQQ@ i|i|i|i|i|i:=ii|i|| :i|i|i|i|i|i|i|i|i|i|i|i|i|i|i|
       -` )??QQ@P\=ii|i_,-~<|i|iii|i|i| =|i|i|i|i|i|i|i|i|i|i|i|i|i|i|i;
           -~___=|i||i|+||=/||i+i|i|i| :i|i|i|i|i|i|i|i|i|ii|i|i|i|i|i|;
       _,               -<|||i|=/+|i|~ =ii|i|i|i|i|ii|ii|i|i|i|i|i|i|i|=,
       ]f]ggS ..   _____,-=ii|ii|==~~ _ii|i|i|i|i|i|i|i|i|i|i~~~+|i|i|ii;
       ]f]QQS __=l|iiiii=,:|i|i|iiii__ii|i|i|i|i+~~~i|i|i|i|     :i|i|i|;
       ]f]QQS iii>~_i|i|i=,:i|i|i|i|iii|i|i|i|i|i|i|_______,      =|i|i|;
       ]f]QQS    .=ii|i|ii==ii|i|i|i|i|i|i|i|_~i|i|iiiiiiii>      -|i|i;
       )']QQX  iiiii|i|>+|iii|i|i|i|i|i|i|ii|ii=/+i|i|i|>`         i|i|;
         ]QQX  -~<||i|~:i|i|i|i|i|i|i|i|i|i|i|ii|=/||i~`           i|i|`
          )?"          i|i|i|i|i|i|i|i|i|i|i|i||i+` ~              i|i~
                         -~<|i|i|i|i|i|i|i|+~~~                   .i~
                              ~~~~~~~~~`                          -
2011-03-09 17:27:28 -06:00