Code:
#ifndef OBJECT_H
#define OBJECT_H
#include <vector>
#include <string>
#include <gl/gl.h>
using namespace std;
class OBJECT
{
struct VERTEX
{
float x, y, z;
float u, v;
};
GLuint surface;
vector<VERTEX>
#ifndef OBJECT_H
#define OBJECT_H
#include <vector>
#include <string>
#include <gl/gl.h>
using namespace std;
class OBJECT
{
struct VERTEX
{
float x, y, z;
float u, v;
};
GLuint surface;
vector<VERTEX>
#ifndef LIB_H #define LIB_H #include <windows.h> #include <gl\gl.h> #include <vector> #include <string> #include <fstream>
LRESULT CALLBACK NewTexture(HWND
class Tile
{
private:
SDL_Rect tile;
string type;
string texture;
int clip_num;
int col_num;
int ID;
struct warp_coords
{
string name;
int x;
Leave a comment: