Commit Graph
20012 Commits
Author SHA1 Message Date
Glenn Maynard bea70df82c fix alignment 2006-02-09 23:41:54 +00:00
Glenn Maynard 6af30022f4 update 2006-02-09 23:35:20 +00:00
Glenn Maynard 9d10cf5fb4 connect crash handler 2006-02-09 23:31:10 +00:00
Glenn Maynard 2d75617c33 removes backtrace list and "reason" 2006-02-09 23:13:22 +00:00
Glenn Maynard 607a8e2e11 I've been hesitant to do this, but it's the next step in
making crash handling more consistent.  Move the crash
handling dialog into a new process, like the Unix handler
does.

 - We're allowed to operate normally; we have a new heap,
so allocations are safe.
 - Gzipping the VDI is easy now; we can simply use GunzipFile().

The only particularly ugly thing in this is the need to run
CrashGetModuleBaseName in the original process.  That's lame,
but straightforward.  It'd be better to use GetModuleFileNameEx,
but I didn't want to drag psapi.dll into this.

This may also make window hiding more reliable.  Previously,
we wrote the crashinfo, tried to hide the window, then showed
the dialog.  Hiding the window was risky and could hang or
crash again.  Now we can forcibly kill the process from the
child, if needed, and still be able to show a dialog.

This also removes the backtrace and "reason" displays from the
dialog.  Those weren't useful in practice; I always loaded the
crashinfo.txt and never used them, and they're intimidating to
casual users.
2006-02-09 23:11:31 +00:00
Glenn Maynard 2344c9edb6 update 2006-02-09 22:22:00 +00:00
Glenn Maynard 901cf153e9 theme 2006-02-09 22:20:14 +00:00
Glenn Maynard 6603bb8a45 fix text 2006-02-09 22:08:14 +00:00
AJ Kelly eaf9b3d8c2 add CatalogXML things to prevent warnings from popping up in other game modes 2006-02-09 19:41:25 +00:00
Glenn Maynard fa747fcbb4 cleanup 2006-02-09 08:28:20 +00:00
Chris Danford 02786346b8 use gamepads 2006-02-09 01:53:24 +00:00
Chris Danford 08759a1f67 map ignition Back to Back, not Tri to Back 2006-02-09 01:24:20 +00:00
Chris Danford 7546366890 add assert 2006-02-09 00:59:26 +00:00
Chris Danford a1fcc64baf poll DInput for number of joysticks instead of polling registry for num HID devices. Fixes us resetting INPUTMAN too early (after Windows sees the HID device but before DirectInput exposes it) 2006-02-09 00:53:20 +00:00
Chris Danford ecce21a0b4 automapping cleanup 2006-02-09 00:50:00 +00:00
Chris Danford ce0d196ad9 fix EMS USB2 mapping 2006-02-09 00:10:39 +00:00
Glenn Maynard 00f89eb307 %D -> %0D 2006-02-09 00:08:40 +00:00
Glenn Maynard 478de001c6 move URLEncode into RageUtil 2006-02-09 00:08:10 +00:00
Chris Danford c1848ab4a5 unmap joystick before applying its automappings 2006-02-09 00:04:01 +00:00
Glenn Maynard eda3b04c1a simplify 2006-02-08 23:51:10 +00:00
Chris Danford bad42fef01 don't localize error dialog. THEME is shutdown by that time. 2006-02-08 22:28:47 +00:00
Chris Danford 38d439c713 fix ugly headers when using large fonts 2006-02-08 22:20:15 +00:00
Chris Danford 4d6d0f9815 fix ugly headers when using large fonts 2006-02-08 20:57:09 +00:00
Charles Lohr 27c0547052 OOps! (from a year ago) Thanks Glenn for pointing this one out! 2006-02-08 16:04:28 +00:00
Glenn Maynard 994cdd256b cleanup 2006-02-08 05:28:22 +00:00
Glenn Maynard 7b1f5c173b missing license 2006-02-08 03:49:03 +00:00
Glenn Maynard fa1dec128f cleanup 2006-02-08 03:43:49 +00:00
Glenn Maynard 4b09a38d36 build fix 2006-02-08 03:39:57 +00:00
Chris Danford ecd578c21c 2nd start mapping back to slot index 1 2006-02-07 09:08:44 +00:00
Chris Danford 2e156ab4cb fix bad button comment 2006-02-07 09:07:18 +00:00
Glenn Maynard fd0c169858 fix race condition 2006-02-07 08:43:25 +00:00
Steve Checkoway d449ca554c Add stretch hint. 2006-02-07 08:34:36 +00:00
Steve Checkoway c1520c025b Add bStretched as a hint that the display will stretch the pixels to fill the screen. 2006-02-07 08:33:45 +00:00
Steve Checkoway a65d13c6d1 class -> typedef set. 2006-02-07 08:29:36 +00:00
Glenn Maynard 1597b6fe22 Don't store PREFSMAN->m_iRefreshRate from the actual settings
if the setting was "don't care".

This wasn't possible previously, since code expected PREFSMAN
settings to line up with the actual settings; now, use
DISPLAY->GetActualVideoModeParams.
2006-02-07 08:16:45 +00:00
Chris Danford 04577935f7 fix assert if no songs loaded 2006-02-07 08:12:47 +00:00
Steve Checkoway 2ea7e8c897 GetMonitorAspectRatio. 2006-02-07 08:08:37 +00:00
Glenn Maynard 2a6d75848f split out GetActualGraphicOptionsString 2006-02-07 07:40:12 +00:00
Glenn Maynard 47cd3ee640 fix vc7 compile 2006-02-07 07:12:42 +00:00
Steve Checkoway 0b9330ccf6 Fix abort at runtime. 2006-02-07 06:08:30 +00:00
Chris Danford fd6b7b5551 add AdjustSync.* 2006-02-07 05:15:03 +00:00
Chris Danford 158ec4ab43 syncmachine touchup 2006-02-07 05:05:03 +00:00
Chris Danford d1977740e6 fix system message runs off screen 2006-02-07 04:59:29 +00:00
Chris Danford 0d7a34ad01 add missing strings 2006-02-07 04:51:37 +00:00
Chris Danford ddbe74e1e2 add GetMonitorAspectRatio 2006-02-07 04:39:48 +00:00
Chris Danford b46e53e27b make dialogs localizable
adjust control to fit longer text
2006-02-07 04:38:51 +00:00
Chris Danford f904f05fcc add GetMonitorAspectRatio 2006-02-07 04:28:24 +00:00
Glenn Maynard 5db90ce71d cleanup 2006-02-07 02:55:29 +00:00
Chris Danford 2ff000fc8a give up on auto AR. Handling the AR when the resolution is falling back is more complicated than it's worth. 2006-02-07 00:55:03 +00:00
Chris Danford bcf84d9bda re-add Auto AR. Tie it to the desktop resolution which does not change when toggling between fullscreen and windowed. This assumes that the desktop resolution is using square pixels. This assumption will hold true for all out-of-the-box machines with a widescreen display. 2006-02-06 23:40:28 +00:00