mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Mark PrecacheTexture private and remove unneeded declarations
This commit is contained in:
parent
4c12ba740f
commit
aaee6e333f
1 changed files with 11 additions and 10 deletions
|
@ -9,28 +9,27 @@ struct FSoftwareRenderer : public FRenderer
|
|||
~FSoftwareRenderer();
|
||||
|
||||
// Can be overridden so that the colormaps for sector color/fade won't be built.
|
||||
virtual bool UsesColormap() const override;
|
||||
bool UsesColormap() const override;
|
||||
|
||||
// precache one texture
|
||||
void PrecacheTexture(FTexture *tex, int cache);
|
||||
virtual void Precache(BYTE *texhitlist, TMap<PClassActor*, bool> &actorhitlist) override;
|
||||
// precache textures
|
||||
void Precache(BYTE *texhitlist, TMap<PClassActor*, bool> &actorhitlist) override;
|
||||
|
||||
// render 3D view
|
||||
virtual void RenderView(player_t *player) override;
|
||||
void RenderView(player_t *player) override;
|
||||
|
||||
// Remap voxel palette
|
||||
virtual void RemapVoxels() override;
|
||||
void RemapVoxels() override;
|
||||
|
||||
// renders view to a savegame picture
|
||||
virtual void WriteSavePic (player_t *player, FileWriter *file, int width, int height) override;
|
||||
void WriteSavePic (player_t *player, FileWriter *file, int width, int height) override;
|
||||
|
||||
// draws player sprites with hardware acceleration (only useful for software rendering)
|
||||
virtual void DrawRemainingPlayerSprites() override;
|
||||
void DrawRemainingPlayerSprites() override;
|
||||
|
||||
virtual int GetMaxViewPitch(bool down) override;
|
||||
int GetMaxViewPitch(bool down) override;
|
||||
bool RequireGLNodes() override;
|
||||
|
||||
void OnModeSet () override;
|
||||
void OnModeSet() override;
|
||||
void ClearBuffer(int color) override;
|
||||
void Init() override;
|
||||
void RenderTextureView (FCanvasTexture *tex, AActor *viewpoint, int fov) override;
|
||||
|
@ -40,4 +39,6 @@ struct FSoftwareRenderer : public FRenderer
|
|||
void PreprocessLevel() override;
|
||||
void CleanLevelData() override;
|
||||
|
||||
private:
|
||||
void PrecacheTexture(FTexture *tex, int cache);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue