mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- use 'override' qualifier on renderer interface.
Bad things can happen if these get changed in ZDoom without adapting to the change so better let the compiler handle this automatically.
This commit is contained in:
parent
475077f1de
commit
146b5d2d06
1 changed files with 16 additions and 16 deletions
|
@ -979,25 +979,25 @@ void FGLRenderer::WriteSavePic (player_t *player, FILE *file, int width, int hei
|
|||
|
||||
struct FGLInterface : public FRenderer
|
||||
{
|
||||
bool UsesColormap() const;
|
||||
bool UsesColormap() const override;
|
||||
void PrecacheTexture(FTexture *tex, int cache);
|
||||
void PrecacheSprite(FTexture *tex, SpriteHits &hits);
|
||||
void Precache(BYTE *texhitlist, TMap<PClassActor*, bool> &actorhitlist);
|
||||
void RenderView(player_t *player);
|
||||
void WriteSavePic (player_t *player, FILE *file, int width, int height);
|
||||
void StateChanged(AActor *actor);
|
||||
void StartSerialize(FArchive &arc);
|
||||
void EndSerialize(FArchive &arc);
|
||||
void RenderTextureView (FCanvasTexture *self, AActor *viewpoint, int fov);
|
||||
sector_t *FakeFlat(sector_t *sec, sector_t *tempsec, int *floorlightlevel, int *ceilinglightlevel, bool back);
|
||||
void SetFogParams(int _fogdensity, PalEntry _outsidefogcolor, int _outsidefogdensity, int _skyfog);
|
||||
void PreprocessLevel();
|
||||
void CleanLevelData();
|
||||
bool RequireGLNodes();
|
||||
void Precache(BYTE *texhitlist, TMap<PClassActor*, bool> &actorhitlist) override;
|
||||
void RenderView(player_t *player) override;
|
||||
void WriteSavePic (player_t *player, FILE *file, int width, int height) override;
|
||||
void StateChanged(AActor *actor) override;
|
||||
void StartSerialize(FArchive &arc) override;
|
||||
void EndSerialize(FArchive &arc) override;
|
||||
void RenderTextureView (FCanvasTexture *self, AActor *viewpoint, int fov) override;
|
||||
sector_t *FakeFlat(sector_t *sec, sector_t *tempsec, int *floorlightlevel, int *ceilinglightlevel, bool back) override;
|
||||
void SetFogParams(int _fogdensity, PalEntry _outsidefogcolor, int _outsidefogdensity, int _skyfog) override;
|
||||
void PreprocessLevel() override;
|
||||
void CleanLevelData() override;
|
||||
bool RequireGLNodes() override;
|
||||
|
||||
int GetMaxViewPitch(bool down);
|
||||
void ClearBuffer(int color);
|
||||
void Init();
|
||||
int GetMaxViewPitch(bool down) override;
|
||||
void ClearBuffer(int color) override;
|
||||
void Init() override;
|
||||
};
|
||||
|
||||
//===========================================================================
|
||||
|
|
Loading…
Reference in a new issue