Commit Graph
65 Commits
Author SHA1 Message Date
Renaud Lepage 469b53e120 Move Xbox into Xbox arch_setup 2006-01-23 16:11:23 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 0062b24e2f RageException is a very low-level helper (usable by any code). Eliminate
StepMania.cpp dependency.
2005-12-30 08:23:56 +00:00
Glenn Maynard b61ab59e03 use HOOKS->AppHasFocus() 2005-12-30 04:00:05 +00:00
Glenn Maynard 3fbde68e4a better encapsulation, reduce GameLoop.cpp depending on StepMania.cpp: move
CheckForChangedInputDevicesAndRemap into InputMapper
2005-12-18 23:45:46 +00:00
Chris Danford c95a5dc8e5 add InputDevice::DevicesChanged 2005-12-18 03:08:12 +00:00
Chris Danford 800158e185 move floating globals into a namespace 2005-12-02 01:16:28 +00:00
Chris Danford 730a113ed6 enumerate resolutions
use mixed case for prefs values
2005-11-26 07:22:33 +00:00
Glenn Maynard 8142decec5 fix search/replace 2005-11-23 02:21:41 +00:00
Glenn Maynard 90ad56522c move GetCommandlineArgument, g_argc and g_argv into RageUtil.cpp,
so tests don't have to duplicate stuff, and because PrefsManager
uses it
2005-11-22 21:18:43 +00:00
Chris Danford 311fd70573 when resetting the D3D device, use the preferred video mode and not the current desktop mode. This fixes "Win98, full-screen, alt-tab away, alt-tab back and the game is running fullscreen at the desktop video mode" 2005-11-10 18:55:03 +00:00
Chris Danford 7f5a4b8373 move VideoModeParams out of RageDisplay to reduce header dependencies 2005-11-10 18:37:04 +00:00
Steve Checkoway 8d56d70e0f Move ExitGame into GameLoop.h. 2005-10-30 09:45:52 +00:00
Chris Danford 5d7885c764 move game prefs into PrefsManager 2005-10-27 04:54:45 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Chris Danford e439ae2a96 return "" -> return NULL 2005-09-02 00:14:07 +00:00
Glenn Maynard cf22782ab9 add AppHasFocus 2005-07-13 00:22:59 +00:00
Glenn Maynard d9ed603f18 implement coin settling 2005-06-19 21:58:11 +00:00
Chris Danford 47681f4684 DebugMenu: ReloadScreen load the current screen, not the initial screen 2005-05-24 23:32:39 +00:00
Glenn Maynard acc86207d0 Don't re-read game prefs at reset; it's a hack to load game prefs
and mappings after changing the game.  Do it in ChangeCurrentGame
instead.  Don't expose ReadGamePrefsFromDisk.  (This code path
is still a little overcomplicated, but it's a bit simpler now ...)
2005-05-19 05:12:30 +00:00
Glenn Maynard 715a688008 remove platform-specific stuff from StpeMania.cpp 2005-02-07 09:17:57 +00:00
Glenn Maynard e84e8f6a7a implement RageException::Throw without actually using exceptions 2004-11-30 09:08:32 +00:00
Glenn Maynard 210f848139 SMmain doesn't exist 2004-09-06 04:37:10 +00:00
Ryan Dortmans bdcd44e369 Changed Xbox main to take no arguments. 2004-09-06 02:34:28 +00:00
Ryan Dortmans 9bed99724f Removed XboxCompliance/stdafx.h include 2004-08-31 08:18:54 +00:00
Chris Danford ff4c12b727 rename GameDef -> Game 2004-07-25 17:07:32 +00:00
Chris Danford 64628fac21 remove enum Game. Instead, pass around the GameDef pointer 2004-07-25 04:27:20 +00:00
Renaud Lepage 1198d2d731 Modified the "main" declaration to be changed if XBOX is defined. 2004-07-20 15:50:01 +00:00
Glenn Maynard bc7a7b0d37 FocusChanged prototype 2004-06-14 03:09:28 +00:00
Chris Danford 5af7a99be2 add ScreenInsertCredit 2004-06-13 05:05:42 +00:00
Glenn Maynard 9c03c0d0eb license update 2004-06-08 05:49:00 +00:00
Glenn Maynard 2bf13a89f0 move exception dialog behavior to HandleException 2004-05-06 09:06:24 +00:00
Glenn Maynard 81eaecbc63 add interface for multiple options with the same name 2004-04-30 07:24:29 +00:00
Glenn Maynard 585f92c5f3 clean up commandline handling, make network stuff more self-contained 2004-04-15 20:21:39 +00:00
Glenn Maynard 203af6d23f cleanup 2004-04-15 19:32:31 +00:00
Charles Lohr 16e5e7bb68 I have added some command-line processing. Look at the bottom of
StepMania.cpp for it.  I have also moved the connect stuff out of the
NetworkSyncManager constructor, so it doens't do ANYTHING unless
it's in the command-line args.  Also, now NSMAN works by the '--NETIP='
flag.
2004-04-15 15:31:59 +00:00
Glenn Maynard 8a58411dd5 move InitialWorkingDirectory, DirOfExecutable, ChangeToDirOfExecutable into RageFileManager 2004-03-04 00:19:42 +00:00
Chris Danford 721f29c458 clean up screenshot saving
use a unique name for every screenshot in case image files are moved off the memory card
2004-02-22 05:04:11 +00:00
Chris Danford d1a3f1fbde add grade counts, screenshots to stats.html 2004-02-17 01:16:57 +00:00
Chris Danford dfd5e7eb36 sign screenshots saved to a profile 2004-02-14 20:47:50 +00:00
Chris Danford 646f67a3d2 allow save screenshot on eval screen with MenuLeft-MenuRight-Start 2004-02-12 09:44:16 +00:00
Manu Evans ce888de237 fixed some xbox build errors :/ 2004-01-17 05:21:24 +00:00
Glenn Maynard cca4b5944c save InitialWorkingDirectory 2003-12-12 07:23:44 +00:00
Glenn Maynard b72d42361a add headers 2003-11-14 17:17:36 +00:00
Glenn Maynard fdaac32a8f Add ChangeCurrentGame. Move the currently-selected game to
GamePrefs.ini.
2003-10-02 03:06:20 +00:00
Glenn Maynard e41a094ee5 Move ReadGamePrefsFromDisk() and SaveGamePrefsToDisk()
to StepMania.cpp.  This is to reduce the dependencies of PrefsManager:
code everywhere depends on it, but it depends on code everywhere,
resulting in lots of cross-dependencies.  (Just a small step to being able
to compile smaller bits of the engine for testing.)
2003-10-02 01:39:23 +00:00
Glenn Maynard 2d546f92ef Fix input mappings, etc. not being reloaded after change game code. 2003-09-25 06:05:19 +00:00
Glenn Maynard ded559d84a Make DirOfExecutable available. 2003-09-05 06:39:32 +00:00
Chris Danford 278cb4c3f1 runs on Xbox 2003-07-22 07:47:27 +00:00
Steve Checkoway 4c3792f43b my bad, the problem was in StepMania.cpp where not StepMania.h 2003-07-15 00:47:53 +00:00