diff options
author | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
commit | 51657e10769faa2617d546a06c42e4c62a19bb50 (patch) | |
tree | 688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/Video.h | |
parent | db987e23d5dd33a5db8764743facbb906ac22b0f (diff) | |
download | starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2 |
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/Video.h')
-rw-r--r-- | Stars45/Video.h | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |