Commit Graph
221 Commits
Author SHA1 Message Date
Steve Checkoway 4633edaefa Comment. 2006-02-10 15:05:51 +00:00
Steve Checkoway 3a61afbc08 Attempt to do this with slightly less voodoo. It was spamming output due to failure before, which was causing skips every time the log/info was flushed. 2006-02-10 13:36:26 +00:00
Steve Checkoway c0c7804333 Revert. 2006-02-10 11:48:41 +00:00
Steve Checkoway d2136fb15b Cleanup. There is no way to prevent being preempted on OS X. 2006-02-10 10:28:01 +00:00
Steve Checkoway f1e8662ac6 Spacing cleanup. 2006-02-10 10:14:15 +00:00
Glenn Maynard 9d10cf5fb4 connect crash handler 2006-02-09 23:31:10 +00:00
Steve Checkoway 63faf60b0e Simplify. 2006-01-24 11:58:57 +00:00
Renaud Lepage 519357929b Correction based on recent code. 2006-01-23 23:10:34 +00:00
Renaud Lepage e900d0062f Added Language ID. 2006-01-23 18:50:54 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Steve Checkoway 5d2d6692c3 If we don't have a crash handler, don't try to invoke it. 2006-01-15 23:39:48 +00:00
Steve Checkoway f4f0d604b3 Cleanup. 2006-01-15 23:20:13 +00:00
Chris Danford b96fa184ee spacing cleanup 2006-01-07 05:43:38 +00:00
Glenn Maynard 4b92224743 lame fix for Linux build for now 2006-01-04 18:03:42 +00:00
Glenn Maynard 6a5b7540cc this should not be static 2006-01-04 18:02:25 +00:00
Glenn Maynard b5414c435c fix linux build 2006-01-04 18:01:34 +00:00
Steve Checkoway c7c10fa06d fix compile. 2006-01-03 02:57:24 +00:00
Glenn Maynard 8689b087f8 Static globals are still globals, and the global qualifier seems more useful than a static one. (don't want to start with the multiple-qualifiers business, eg 'sg_'; that gets ugly fast, and doesn't really help anything) 2005-12-31 06:19:54 +00:00
Glenn Maynard a692d9f58d cleanup 2005-12-31 06:16:22 +00:00
Glenn Maynard 4d97933c43 move into namespace 2005-12-31 04:00:41 +00:00
Glenn Maynard 644801396c move globals into namespace 2005-12-31 03:56:25 +00:00
Glenn Maynard d454d09298 This code isn't worth it. It's only used for one driver. It's
mostly useful for pointing casual users to drivers, but any URLs
we give them will just go out of date, and 404s don't help people.
It's also too heavyweight to be done in ArchHooks; aim to not use
anything in it that we don't want to always include.

(I'm sort of undecided about this. This definitely needs to be out
of HOOKS; it could be moved to GraphicsWindow.  It's potentially
useful, in theory, but it'd be a major hassle to maintain and always
be incomplete.  Since it's only used for one ancient card and has
never been used for anything else, I'm just removing it for now.)
2005-12-31 03:26:18 +00:00
Glenn Maynard f4570700fa build fix 2005-12-31 01:40:24 +00:00
Glenn Maynard 9de5ac05a1 compile fix 2005-12-30 05:48:45 +00:00
Glenn Maynard 21da00170d unneeded includes 2005-12-30 04:06:45 +00:00
Glenn Maynard fcdb6602ab Move focus handling from StepMania.cpp to ArchHooks. Arch-specific
code calls HOOKS->SetHasFocus when focus is lost or regained; user
code calls HOOKS->AppHasFocus as needed.  This moves the very
simple task of remembering focus to ArchHooks, and removes a
few annoying dependencies on StepMania.cpp.  (That's the highest-
level code there is, so very few things should depend on it.)

The original design of HOOKS is to be a place where portable
code calls to do platform-specific things, not to be a place
for nonportable code to call to do generic things.  These
state calls (SetHasFocus, SetToggleWindowed, SetUserQuit) don't
quite fit that.  But there's currently no better place to put
these, and they're just as low-level, so it's not really a
layering violation.  Hmm.

(This also eliminates GameLoop's dependency on StepMania.cpp.  Keeping
GL.cpp independent of SM.cpp is helpful.  It's not as useful to
split apart two files, if the two files are cross-dependent anyway;
you still have to know how both files work in order to understand
either of them.)
2005-12-30 03:57:01 +00:00
Steve Checkoway 8d70bcdbf4 Lookup the bundle identifier and the version number at runtime. Simplify logic (slightly). 2005-12-29 11:54:54 +00:00
Steve Checkoway bc22d83f6f Cleanup. 2005-12-29 11:35:52 +00:00
Chris Danford c7d769829a add ThemeManager to smtools 2005-12-29 05:52:50 +00:00
Chris Danford f7952eaf63 CString -> RString
make GetDefaultLanguage static for smtools
2005-12-28 05:41:04 +00:00
Renaud Lepage 2fd7cdab74 Little correction. 2005-12-23 17:42:25 +00:00
Steve Checkoway b0177e38a4 Add support for toggling windowed mode other than alt-enter. E.g. from a menu item. 2005-12-23 14:19:43 +00:00
Steve Checkoway 8c47a17f67 I think this should be s not g. 2005-12-23 13:36:56 +00:00
Steve Checkoway 1f78c80200 Put written files in ~/Library/Application Support/PRODUCT_ID. 2005-12-23 13:11:59 +00:00
Glenn Maynard f446ae9436 use GetMyDocumentsDir, GetApplicationDataDir 2005-12-23 01:58:45 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford 9cd3b4d4ba theme some common exception strings 2005-12-20 02:45:25 +00:00
Steve Checkoway 7fab468409 Make UserQuit and SetUserQuit static members of ArchHooks. Windows and linux not tested. MountInitialFilesystems also appears to be static, fix compile on OS X. 2005-12-17 12:44:46 +00:00
Chris Danford 353e0c5b6e break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff 2005-12-16 04:16:09 +00:00
Glenn Maynard 0014e24b65 remove unused Update 2005-12-12 01:09:34 +00:00
Glenn Maynard f8c0c0124a cleanup 2005-12-10 18:58:43 +00:00
Glenn Maynard 24b9237800 UserQuit for GraphicsWindow 2005-12-10 18:43:34 +00:00
Glenn Maynard d439765145 implement UserQuit to eliminate bad GameLoop.h dependency 2005-12-10 18:42:55 +00:00
Glenn Maynard 33ba805849 add UserQuit 2005-12-10 18:40:20 +00:00
Glenn Maynard df8b92dd3a cleanup 2005-12-10 18:07:14 +00:00
Glenn Maynard b84c910e90 fix compile 2005-12-10 18:04:43 +00:00
Steve Checkoway 745744193b Fix compile. 2005-12-10 05:06:19 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Chris Danford f1c876a16c fix compile 2005-12-09 04:28:49 +00:00
Chris Danford bea1d2dfd8 save cache in Application Data 2005-12-09 04:23:44 +00:00