@@ -3843,23 +3843,23 @@ void GLimp_LogComment_( std::string comment );
3843
3843
virtual const RenderCommand *ExecuteSelf () const = 0;
3844
3844
};
3845
3845
3846
- struct SetColorCommand : public RenderCommand {
3846
+ struct SetColorCommand final : public RenderCommand {
3847
3847
const RenderCommand *ExecuteSelf () const override ;
3848
3848
3849
3849
Color::Color color;
3850
3850
};
3851
- struct SetColorGradingCommand : public RenderCommand {
3851
+ struct SetColorGradingCommand final : public RenderCommand {
3852
3852
const RenderCommand *ExecuteSelf () const override ;
3853
3853
3854
3854
image_t *image;
3855
3855
int slot;
3856
3856
};
3857
- struct DrawBufferCommand : public RenderCommand {
3857
+ struct DrawBufferCommand final : public RenderCommand {
3858
3858
const RenderCommand *ExecuteSelf () const override ;
3859
3859
3860
3860
int buffer;
3861
3861
};
3862
- struct SwapBuffersCommand : public RenderCommand {
3862
+ struct SwapBuffersCommand final : public RenderCommand {
3863
3863
const RenderCommand *ExecuteSelf () const override ;
3864
3864
};
3865
3865
struct StretchPicCommand : public RenderCommand {
@@ -3871,25 +3871,25 @@ void GLimp_LogComment_( std::string comment );
3871
3871
float s1, t1;
3872
3872
float s2, t2;
3873
3873
};
3874
- struct RotatedPicCommand : public StretchPicCommand {
3874
+ struct RotatedPicCommand final : public StretchPicCommand {
3875
3875
const RenderCommand *ExecuteSelf () const override ;
3876
3876
3877
3877
float angle;
3878
3878
};
3879
- struct GradientPicCommand : public StretchPicCommand {
3879
+ struct GradientPicCommand final : public StretchPicCommand {
3880
3880
const RenderCommand *ExecuteSelf () const override ;
3881
3881
3882
3882
Color::Color32Bit gradientColor; // color values 0-255
3883
3883
int gradientType;
3884
3884
};
3885
- struct Poly2dCommand : public RenderCommand {
3885
+ struct Poly2dCommand final : public RenderCommand {
3886
3886
const RenderCommand *ExecuteSelf () const override ;
3887
3887
3888
3888
polyVert_t *verts;
3889
3889
int numverts;
3890
3890
shader_t *shader;
3891
3891
};
3892
- struct Poly2dIndexedCommand : public RenderCommand {
3892
+ struct Poly2dIndexedCommand final : public RenderCommand {
3893
3893
const RenderCommand *ExecuteSelf () const override ;
3894
3894
3895
3895
polyVert_t *verts;
@@ -3899,30 +3899,30 @@ void GLimp_LogComment_( std::string comment );
3899
3899
shader_t *shader;
3900
3900
int translation[2 ];
3901
3901
};
3902
- struct ScissorSetCommand : public RenderCommand {
3902
+ struct ScissorSetCommand final : public RenderCommand {
3903
3903
const RenderCommand *ExecuteSelf () const override ;
3904
3904
3905
3905
int x;
3906
3906
int y;
3907
3907
int w;
3908
3908
int h;
3909
3909
};
3910
- struct SetMatrixTransformCommand : public RenderCommand {
3910
+ struct SetMatrixTransformCommand final : public RenderCommand {
3911
3911
const RenderCommand *ExecuteSelf () const override ;
3912
3912
3913
3913
matrix_t matrix;
3914
3914
};
3915
- struct ResetMatrixTransformCommand : public RenderCommand {
3915
+ struct ResetMatrixTransformCommand final : public RenderCommand {
3916
3916
const RenderCommand *ExecuteSelf () const override ;
3917
3917
};
3918
- struct DrawViewCommand : public RenderCommand {
3918
+ struct DrawViewCommand final : public RenderCommand {
3919
3919
const RenderCommand *ExecuteSelf () const override ;
3920
3920
3921
3921
trRefdef_t refdef;
3922
3922
viewParms_t viewParms;
3923
3923
bool depthPass;
3924
3924
};
3925
- struct SetupLightsCommand : public RenderCommand {
3925
+ struct SetupLightsCommand final : public RenderCommand {
3926
3926
const RenderCommand *ExecuteSelf () const override ;
3927
3927
3928
3928
trRefdef_t refdef;
@@ -3933,7 +3933,7 @@ void GLimp_LogComment_( std::string comment );
3933
3933
SSF_JPEG,
3934
3934
SSF_PNG
3935
3935
};
3936
- struct ScreenshotCommand : public RenderCommand {
3936
+ struct ScreenshotCommand final : public RenderCommand {
3937
3937
const RenderCommand *ExecuteSelf () const override ;
3938
3938
3939
3939
int x;
@@ -3943,7 +3943,7 @@ void GLimp_LogComment_( std::string comment );
3943
3943
char fileName[MAX_OSPATH];
3944
3944
ssFormat_t format;
3945
3945
};
3946
- struct VideoFrameCommand : public RenderCommand {
3946
+ struct VideoFrameCommand final : public RenderCommand {
3947
3947
const RenderCommand *ExecuteSelf () const override ;
3948
3948
3949
3949
int width;
@@ -3952,33 +3952,33 @@ void GLimp_LogComment_( std::string comment );
3952
3952
byte *encodeBuffer;
3953
3953
bool motionJpeg;
3954
3954
};
3955
- struct RenderPostProcessCommand : public RenderCommand {
3955
+ struct RenderPostProcessCommand final : public RenderCommand {
3956
3956
const RenderCommand *ExecuteSelf () const override ;
3957
3957
3958
3958
trRefdef_t refdef;
3959
3959
viewParms_t viewParms;
3960
3960
};
3961
- struct ClearBufferCommand : public RenderCommand {
3961
+ struct ClearBufferCommand final : public RenderCommand {
3962
3962
const RenderCommand *ExecuteSelf () const override ;
3963
3963
3964
3964
trRefdef_t refdef;
3965
3965
viewParms_t viewParms;
3966
3966
};
3967
- struct PreparePortalCommand : public RenderCommand {
3967
+ struct PreparePortalCommand final : public RenderCommand {
3968
3968
const RenderCommand *ExecuteSelf () const override ;
3969
3969
3970
3970
trRefdef_t refdef;
3971
3971
viewParms_t viewParms;
3972
3972
drawSurf_t *surface;
3973
3973
};
3974
- struct FinalisePortalCommand : public RenderCommand {
3974
+ struct FinalisePortalCommand final : public RenderCommand {
3975
3975
const RenderCommand *ExecuteSelf () const override ;
3976
3976
3977
3977
trRefdef_t refdef;
3978
3978
viewParms_t viewParms;
3979
3979
drawSurf_t *surface;
3980
3980
};
3981
- struct EndOfListCommand : public RenderCommand {
3981
+ struct EndOfListCommand final : public RenderCommand {
3982
3982
const RenderCommand *ExecuteSelf () const override ;
3983
3983
};
3984
3984
0 commit comments