mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 19:29:47 +02:00
- added ability to change background color and take screenshots (see file and Custom Color menus)
This commit is contained in:
@@ -79,6 +79,9 @@ private:
|
||||
bool normals;
|
||||
bool grid;
|
||||
|
||||
int width;
|
||||
int height;
|
||||
|
||||
ModelRenderer *modelRenderer;
|
||||
TextureManager *textureManager;
|
||||
ParticleRenderer *particleRenderer;
|
||||
@@ -96,6 +99,11 @@ private:
|
||||
Texture2D *customTextureMagenta;
|
||||
MeshCallbackTeamColor meshCallbackTeamColor;
|
||||
|
||||
float red;
|
||||
float green;
|
||||
float blue;
|
||||
float alpha;
|
||||
|
||||
Renderer();
|
||||
void checkGlCaps();
|
||||
void checkExtension(const string &extension, const string &msg);
|
||||
@@ -135,6 +143,9 @@ public:
|
||||
void initModelManager();
|
||||
|
||||
void end();
|
||||
|
||||
void setBackgroundColor(float red, float green, float blue, float alpha);
|
||||
void saveScreen(const string &path);
|
||||
};
|
||||
|
||||
}}//end namespace
|
||||
|
Reference in New Issue
Block a user