diff options
Diffstat (limited to 'Magic2/VideoDX9.h')
-rw-r--r-- | Magic2/VideoDX9.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Magic2/VideoDX9.h b/Magic2/VideoDX9.h index fdc37ff..675a464 100644 --- a/Magic2/VideoDX9.h +++ b/Magic2/VideoDX9.h @@ -33,7 +33,7 @@ OVERVIEW ======== - Direct3D and Direct3D Video classes for DirectX 7 + Direct3D and Direct3D Video classes for DirectX 7 */ #ifndef VideoDX9_h @@ -67,7 +67,7 @@ public: VideoDX9(const HWND& window, VideoSettings* vs); virtual ~VideoDX9(); - virtual const VideoSettings* + virtual const VideoSettings* GetVideoSettings() const { return &video_settings; } virtual bool SetVideoSettings(const VideoSettings* vs); @@ -114,9 +114,9 @@ public: virtual bool SetEnvironment(Bitmap** faces); virtual bool SetAmbient(Color c); virtual bool SetLights(const List<Light>& lights); - virtual bool SetProjection(float fov, - float znear=1.0f, - float zfar=1.0e6f, + virtual bool SetProjection(float fov, + float znear=1.0f, + float zfar=1.0e6f, DWORD type=PROJECTION_PERSPECTIVE); virtual bool SetRenderState(RENDER_STATE state, DWORD value); virtual bool SetBlendType(int blend_type); |