Commit Graph
77 Commits
Author SHA1 Message Date
Glenn Maynard b77024f3bc include 2006-09-18 22:45:42 +00:00
Steve Checkoway 5440a7b613 Const. 2006-08-05 02:35:17 +00:00
Chris Danford 3cb84a61b5 add GetMachineId 2006-05-04 05:13:06 +00:00
Chris Danford 5093c59920 add GoToUrl to ArchHooks 2006-04-28 18:36:04 +00:00
Chris Danford d87a17a034 PRODUCT_NAME -> PRODUCT_FAMILY
PRODUCT_NAME_VER -> PRODUCT_ID_VER
2006-02-25 23:59:32 +00:00
Glenn Maynard ad8dbf5e86 cleanup 2006-02-25 03:26:46 +00:00
Glenn Maynard 241724d1d8 do SetErrorMode before the crash handler 2006-02-13 22:05:30 +00:00
Glenn Maynard 5219ea7ae6 make ArchHooks available to the crash handler 2006-02-13 22:05:04 +00:00
Glenn Maynard 9d10cf5fb4 connect crash handler 2006-02-09 23:31:10 +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
Chris Danford f7952eaf63 CString -> RString
make GetDefaultLanguage static for smtools
2005-12-28 05:41:04 +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 24b9237800 UserQuit for GraphicsWindow 2005-12-10 18:43:34 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Chris Danford bea1d2dfd8 save cache in Application Data 2005-12-09 04:23:44 +00:00
Chris Danford 4165c887f0 mount all writable dirs to user's dir 2005-12-09 01:22:31 +00:00
Chris Danford ed6634ba6b remove arbitrary switching on whether exe is in Program Files. Always save to user's dir. 2005-12-09 01:09:01 +00:00
Chris Danford f02b8e3a3d move FS mounting to ArchHooks
if executable is under Program Files, then mount /Save to ~/PRODUCT_ID/Save
2005-12-08 21:38:18 +00:00
Glenn Maynard f0bb643e11 add ArchHooks::CheckForMultipleInstances 2005-11-11 21:10:10 +00:00
Glenn Maynard b339832bbf GetSystemDefaultLangID -> GetUserDefaultLangID. (Like GetUserDefaultUILanguage,
this reports the correct answer on my system.  GUDUIL() is for multilanguage
versions of Windows, I think.)
2005-10-31 23:51:52 +00:00
Chris Danford 1917c30bc1 fix VC6 compile 2005-10-28 17:45:57 +00:00
Glenn Maynard 20efb43a86 add ArchHooks::GetPreferredLanguage 2005-10-28 07:14:53 +00:00
Chris Danford 092b5d969d move all URLs into ProductInfo.h 2005-10-28 03:10:48 +00:00
Glenn Maynard 702c81cf1c fix compile 2005-10-27 12:46:05 +00:00
Glenn Maynard 1783fe71ef simplify 2005-07-19 03:15:24 +00:00
Glenn Maynard f77ae43485 ArchHooks_Win32::SetupConcurrentRenderingThread 2005-07-13 08:33:28 +00:00
Chris Danford c1ab0fcdb3 hook up MonkeyInput and DebugLights to debug menu 2005-05-16 19:47:30 +00:00
Thad Ward 5949e5bc90 (this is possibly going to annoy some people, but..)
put all (obvious) MSVC lines in #if defined(_MSC_VER) blocks, primarilly
to allow alternative win32 compilers to be used.
2005-05-11 04:43:54 +00:00
Glenn Maynard 3a973eecbb move priority boosting stuff to ArchHooks 2005-02-07 09:35:07 +00:00
Glenn Maynard 3776d4a13f cleanup low-level time handling: only make adjustments to the clock that
the arch really needs; Unix gettimeofday does not loop like Win32 timeGetTime
so don't mess with it
2004-08-15 22:40:55 +00:00
Glenn Maynard 66fb9eece6 use RageSurface 2004-06-14 01:09:11 +00:00
Glenn Maynard 7aee50e5fd make this static, so it can be used before main() 2004-06-11 01:01:31 +00:00
Glenn Maynard 49446552c9 GetMicrosecondsSinceStart( bool bAccurate ) 2004-06-11 00:34:04 +00:00
Glenn Maynard db40860b65 ArchHooks::GetMicrosecondsSinceStart (not used yet) 2004-06-11 00:06:07 +00:00
Glenn Maynard 9f07f110ea remove old dialog stuff 2004-06-10 22:58:17 +00:00
Glenn Maynard d72e41227f typo 2004-06-07 02:39:24 +00:00
Glenn Maynard 1063496711 disable thread pri boosting for the main thread 2004-06-07 02:37:50 +00:00
Glenn Maynard 62e665f333 warn about known bad driver versions 2004-05-29 23:21:37 +00:00
Glenn Maynard c90d2369b8 cleanup 2004-05-29 23:17:01 +00:00
Glenn Maynard f1bb0126da license update 2004-05-15 21:53:06 +00:00
Glenn Maynard 53fd27b885 disable "drive not ready", etc. dialogs 2004-05-01 01:44:07 +00:00
Chris Danford d985ca5a74 fix VC7 warnings 2004-03-21 17:23:18 +00:00
Glenn Maynard e779e80350 give RageMutexes names, so they can be identified more easily 2004-03-21 04:10:43 +00:00
Chris Danford b6bc1bf8ec add ScreenSetTime 2004-03-14 06:39:39 +00:00
Glenn Maynard 129e68d484 add EnterTimeCriticalSection(), ExitTimeCriticalSection() 2004-01-18 02:37:48 +00:00
Glenn Maynard 454cbe482e ID for MessageBoxError 2004-01-16 22:43:59 +00:00
Glenn Maynard 4ab53741d9 simplify
fix dialog windows coming up in fullscreen
2004-01-13 00:15:10 +00:00
Chris Danford 3ad08639e6 reorganize ArchHook message box functions 2003-11-15 08:54:57 +00:00