mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 00:59:19 +02:00
reformat: functions can be made static
This commit is contained in:
@@ -267,7 +267,8 @@ bool TAnimModel::Init(std::string const &asName, std::string const &asReplacable
|
||||
}
|
||||
|
||||
bool
|
||||
TAnimModel::is_keyword( std::string const &Token ) const {
|
||||
TAnimModel::is_keyword( std::string const &Token )
|
||||
{
|
||||
|
||||
return Token == "endmodel"
|
||||
|| Token == "lights"
|
||||
|
||||
@@ -171,7 +171,7 @@ public:
|
||||
// export() subclass details, sends basic content of the class in legacy (text) format to provided stream
|
||||
void export_as_text_( std::ostream &Output ) const;
|
||||
// checks whether provided token is a legacy (text) format keyword
|
||||
bool is_keyword( std::string const &Token ) const;
|
||||
static bool is_keyword( std::string const &Token );
|
||||
|
||||
// members
|
||||
std::shared_ptr<TAnimContainer> pRoot; // pojemniki sterujące, tylko dla aniomowanych submodeli
|
||||
|
||||
@@ -100,7 +100,7 @@ struct opengl_texture : public ITexture {
|
||||
public:
|
||||
// methods
|
||||
void make_request();
|
||||
void load_PNG();
|
||||
static void load_PNG();
|
||||
void load_DDS();
|
||||
void load_KTX();
|
||||
void load_TEX();
|
||||
@@ -143,7 +143,7 @@ public:
|
||||
~texture_manager() { delete_textures(); }
|
||||
|
||||
// activates specified texture unit
|
||||
void
|
||||
static void
|
||||
unit( GLint Textureunit );
|
||||
// creates texture object out of data stored in specified file
|
||||
texture_handle
|
||||
|
||||
Reference in New Issue
Block a user