Hello
in en.h i've:
#include "player.h"
if i do now include in player.h another header file:
#include "sod.h"
i get errors in en.h:
en.h:54: error: syntax error before `*' token
that's at this line:
public:
CPlayer *player; //here now the above error
if i do it like that in player.h:
//#include "sod.h"
there's no error. WHY? This looks weird to me.
All header files begin like this:
#ifndef __PLAYER_H
#define __PLAYER_H
same for all header. So ifndef __EN_H etc.
secondly, I'll post this also in a OpenGL newsgroup:
This, under Windows generates a new texID each time
it gets called but not under Linux. WHY? My model doesn't
get drawed and i guess because of that.
glGenTextures(1, &this->texID);
THANKS and regards
Michael