mirror of
https://github.com/gwdevhub/gMod.git
synced 2026-07-16 07:29:30 +00:00
55 lines
1.2 KiB
C++
55 lines
1.2 KiB
C++
/*
|
|
This file is part of Universal Modding Engine.
|
|
|
|
|
|
Universal Modding Engine is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Universal Modding Engine is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Universal Modding Engine. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
|
|
#ifndef uMod_ADDTEXTURE_H_
|
|
#define uMod_ADDTEXTURE_H_
|
|
|
|
#include "uMod_Main.h"
|
|
|
|
class AddTextureClass
|
|
{
|
|
public:
|
|
AddTextureClass(void);
|
|
~AddTextureClass(void);
|
|
int ReleaseMemory(void);
|
|
|
|
int SetSize(int num);
|
|
int InheriteMemory(AddTextureClass &tex);
|
|
|
|
unsigned int Num;
|
|
char **Textures;
|
|
unsigned int *Size;
|
|
unsigned long *Hash;
|
|
bool *WasAdded;
|
|
unsigned int Len;
|
|
|
|
bool Add;
|
|
bool Force;
|
|
bool Loaded;
|
|
bool OwnMemory;
|
|
wxString File;
|
|
wxString Comment;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* uMod_ADDTEXTURE_H_ */
|