move all URLs into ProductInfo.h

This commit is contained in:
Chris Danford
2005-10-28 03:10:48 +00:00
parent 6e5b3a5ed8
commit 092b5d969d
6 changed files with 10 additions and 5 deletions
+3
View File
@@ -10,6 +10,9 @@
//#define PRODUCT_VER "4.0 alpha 1"
#define PRODUCT_NAME_VER PRODUCT_NAME " " PRODUCT_VER
#define VIDEO_TROUBLESHOOTING_URL "http://www.stepmania.com/stepmania/mediawiki.php?title=Video_Driver_Troubleshooting"
#define REPORT_BUG_URL "http://sourceforge.net/tracker/?func=add&group_id=37892&atid=421366"
#endif
/*
+2 -1
View File
@@ -46,6 +46,7 @@
#include "RageMath.h"
#include "RageTypes.h"
#include "RageUtil.h"
#include "ProductInfo.h"
#include "arch/LowLevelWindow/LowLevelWindow.h"
@@ -456,7 +457,7 @@ CString RageDisplay_OGL::Init( VideoModeParams p, bool bAllowUnacceleratedRender
* too using Direct3D directly. (If we can't, it's a bug that we can work
* around--if GLDirect can do it, so can we!) */
if( !strncmp( (const char *) glGetString(GL_RENDERER), "GLDirect", 8 ) )
return "GLDirect was detected. GLDirect is not compatible with StepMania, and should be disabled.\n";
return "GLDirect was detected. GLDirect is not compatible with " PRODUCT_NAME ", and should be disabled.\n";
#endif
#if defined(UNIX)
+1 -1
View File
@@ -693,7 +693,7 @@ RageDisplay *CreateDisplay()
CString error = "There was an error while initializing your video card.\n\n"
"Please do not file this error as a bug! Use the web page below to troubleshoot this problem.\n\n"
"http://www.stepmania.com/stepmania/mediawiki.php?title=Video_Driver_Troubleshooting\n\n"
VIDEO_TROUBLESHOOTING_URL "\n\n"
"Video Driver: "+GetVideoDriverName()+"\n\n";
CStringArray asRenderers;
@@ -132,7 +132,7 @@ void ArchHooks_Win32::CheckVideoDriver()
if( info.sDescription != sPrimaryDeviceName )
continue;
/* "IntelR 810 Chipset Graphics Driver PV 2.1". I get a lot of crash reports
/* "IntelR 810 Chipset Graphics Driver PV 2.1". There are a lot of crash reports
* with people using this version. */
if( Regex( "Intel.* 810 Chipset Graphics Driver PV 2.1").Compare( info.sDescription ) )
{
@@ -3,6 +3,7 @@
#include "RageUtil.h"
#include "CommonMetrics.h" // for WINDOW_TITLE
#include "ThemeManager.h"
#include "ProductInfo.h"
#include "archutils/win32/AppInstance.h"
#include "archutils/win32/GotoURL.h"
@@ -113,7 +114,7 @@ static BOOL CALLBACK ErrorWndProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
}
break;
case IDC_BUTTON_REPORT:
GotoURL( "http://sourceforge.net/tracker/?func=add&group_id=37892&atid=421366" );
GotoURL( REPORT_BUG_URL );
break;
case IDC_BUTTON_RESTART:
Win32RestartProgram();
+1 -1
View File
@@ -931,7 +931,7 @@ BOOL APIENTRY CrashDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
EndDialog( hDlg, FALSE );
break;
case IDC_BUTTON_REPORT:
GotoURL( "http://sourceforge.net/tracker/?func=add&group_id=37892&atid=421366" );
GotoURL( REPORT_BUG_URL );
break;
}
break;