Skip to content

Commit

Permalink
Moved g_fov to xrEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Nov 3, 2018
1 parent 0df6ce5 commit 8132471
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/xrEngine/xr_ioc_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ class CCC_CenterScreen : public IConsole_Command
}
};

ENGINE_API float g_fov = 55.0f;
ENGINE_API float psHUD_FOV = 0.45f;

// extern int psSkeletonUpdate;
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/Actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ void CActor::g_Physics(Fvector& _accel, float jump, float dt)
}
}
}
float g_fov = 55.0f;
extern ENGINE_API float g_fov;

float CActor::currentFOV()
{
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/Level.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class CStreamReader;
class CDebugRenderer;
#endif

extern float g_fov;
extern ENGINE_API float g_fov;

const int maxRP = 64;
const int maxTeams = 32;
Expand Down

0 comments on commit 8132471

Please sign in to comment.