mirror of
https://github.com/glest/glest-source.git
synced 2025-08-09 01:46:28 +02:00
- attempt to ensure color picking ALWAYS has unique colors
- better handling of scenario's that are missing techtrees
This commit is contained in:
@@ -286,9 +286,12 @@ private:
|
||||
|
||||
static unsigned char nextColorID[COLOR_COMPONENTS];
|
||||
static vector<vector<unsigned char> > nextColorIDReuseList;
|
||||
static map<string,bool> usedColorIDList;
|
||||
static Mutex mutexNextColorID;
|
||||
|
||||
static auto_ptr<PixelBufferWrapper> pbo;
|
||||
|
||||
void assign_color();
|
||||
};
|
||||
|
||||
}}//end namespace
|
||||
|
Reference in New Issue
Block a user