16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 17:09:19 +02:00

removed dependencies on the old parser. The code can now be compiled outside of Borland C++

This commit is contained in:
tmj-fstate
2017-01-15 15:04:17 +01:00
parent 7df7c8b76e
commit 15cf3d73a8
87 changed files with 3395 additions and 3232 deletions

View File

@@ -7,14 +7,10 @@ obtain one at
http://mozilla.org/MPL/2.0/.
*/
#ifndef TextureH
#define TextureH
#pragma once
#include <map>
#include <string>
#include "opengl/glew.h"
#include "usefull.h"
/*
//Ra: miejsce umieszczenia tego jest deczko bezsensowne
@@ -54,7 +50,7 @@ class TTexturesManager
static void SetFiltering(int filter);
static void SetFiltering(bool alpha, bool hash);
static GLuint CreateTexture(char *buff, GLint bpp, int width, int height, bool bHasAlpha,
static GLuint CreateTexture(GLubyte *buff, GLint bpp, int width, int height, bool bHasAlpha,
bool bHash, bool bDollar = true, int filter = -1);
static Names _names;
@@ -62,4 +58,3 @@ class TTexturesManager
// std::list<TTexture> Textures;
};
//---------------------------------------------------------------------------
#endif