break battle into two PlayModes: CPU_BATTLE, HUMAN_BATTLE

This commit is contained in:
Chris Danford
2003-07-08 19:56:56 +00:00
parent 0bb99f60a7
commit 332c2b318c
23 changed files with 396 additions and 153 deletions
+7
View File
@@ -415,9 +415,16 @@ void RageDisplay::LoadIdentity()
g_ModelViewStack.LoadIdentity();
}
float g_fLastMenuPerspectiveFOV = -1;
float RageDisplay::GetMenuPerspectiveFOV()
{
return g_fLastMenuPerspectiveFOV;
}
void RageDisplay::LoadMenuPerspective(float fovDegrees)
{
g_fLastMenuPerspectiveFOV = fovDegrees;
/* fovDegrees == 0 looks the same as an ortho projection. However,
* we don't want to mess with the ModelView stack because
* EnterPerspectiveMode's preserve location feature expectes there