From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/Video.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Stars45/Video.h') diff --git a/Stars45/Video.h b/Stars45/Video.h index e600a3f..d9b96f0 100644 --- a/Stars45/Video.h +++ b/Stars45/Video.h @@ -75,7 +75,7 @@ struct RenderStats int total_polys; int total_lines; - void Clear() { nverts = npolys = nlines = ncalls = + void Clear() { nverts = npolys = nlines = ncalls = total_verts = total_polys = total_lines = 0; } }; @@ -146,7 +146,7 @@ public: virtual ~Video(); STATUS Status() const { return status; } - virtual const VideoSettings* + virtual const VideoSettings* GetVideoSettings() const { return 0; } virtual bool SetVideoSettings(const VideoSettings* vs) { return false; } virtual bool Reset(const VideoSettings* vs) { return false; } @@ -194,9 +194,9 @@ public: virtual bool SetViewport(int x, int y, int w, int h) { return false; } virtual bool SetCamera(const Camera* cam) { camera = cam; return false; } - virtual bool SetProjection(float fov, + virtual bool SetProjection(float fov, float znear=1.0f, - float zfar=1.0e6f, + float zfar=1.0e6f, DWORD type=PROJECTION_PERSPECTIVE) { return false; } virtual bool SetEnvironment(Bitmap** faces) { return false; } virtual bool SetAmbient(Color c) { return false; } @@ -212,7 +212,7 @@ public: virtual bool DrawShadow(Solid* s, int nverts, Vec3* verts, bool vis=false) { return false; } virtual bool DrawLines(int nlines, Vec3* v, Color c, int blend=0) { return false; } - virtual bool DrawScreenLines(int nlines, float* v, Color c, int blend=0) + virtual bool DrawScreenLines(int nlines, float* v, Color c, int blend=0) { return false; } virtual bool DrawPoints(VertexSet* v) { return false; } virtual bool DrawPolyOutline(Poly* p) { return false; } -- cgit v1.1