Well I have been working on other things atm, right now my ideas are just theoretical, though I plan on actually trying them out in a project soon. But your help has been very much appreciated, and I...
Type: Posts; User: dcco
Well I have been working on other things atm, right now my ideas are just theoretical, though I plan on actually trying them out in a project soon. But your help has been very much appreciated, and I...
Thank you. That is a very interesting idea. How would I deal with things like caverns or floating blocks or if there are two separate kinds of blocks in one column? Would I just simply have each tile...
Okay, I still got the same error, but I when I tried it again using by only including circ.h in the cpp file and just using a forward declaration for the header file, I managed to get it to work....
this is part of point.h
virtual bool checkCol(circ a);
and this is part of point.cpp
bool point::checkCol(circ a)
{
return dist(a.x,a.y,x,y) <= a.rad;
}
Could that be used to emulate the same thing?
I got rid of the extra inclusion guards and now I have the error
c:\users\john\documents\visual studio 2005\projects\ogl3\ogl3\point.h(16) : error C2061: syntax error : identifier 'circ'
circ.cpp...
I am thinking about making a game that stores its world map in a 3 dimensional array and it renders the tiles to screen using OpenGL. This is fine, however when I draw things to the screen, I do NOT...
I have a program with these four files as part of it.
point.h
#ifndef POINT_H
#define POINT_H
#ifndef CIRCC_H
#define CIRCC_H
#include "circ.h"