Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

VERY strange class problem

Started by Xtremehobo May 25, 2003 at 12:54 PM 4 replies 200+ views
Original Post
Xtremehobo
Xtremehobo
Code:
  
// Terrain.h- Interface for the CTerrain Class

//

//////////////////////////////////////////////////////////////////////

#include <d3dx9.h>
//#include "Helper.h"


//Define a FVF for our cubiods

#define CUBOID_D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ|D3DFVF_NORMAL|D3DFVF_TEX1)

class CTerrain
{

public:
	CTerrain(LPDIRECT3DDEVICE8 pD3DDevice);
...
  
Error: c:\vcpp\d3dapp\terrain.h(14) : error C2629: unexpected ''class CTerrain ('' c:\vcpp\d3dapp\terrain.h(14) : error C2238: unexpected token(s) preceding '';'' wtf It doesn''t like my constructor Anyone know why? -----
pixelwrench.com | [email="matt[nospam]@pixelwrench[nospam]com"]email[/email] lethalhamster: gamedev keeps taking my money, but im too lazy to not let them
Xtremehobo
Xtremehobo
huh?
pixelwrench.com | [email="matt[nospam]@pixelwrench[nospam]com"]email[/email] lethalhamster: gamedev keeps taking my money, but im too lazy to not let them
Xtremehobo
Xtremehobo
*doh*
/me slaps him self in the face

Thanks lol
pixelwrench.com | [email="matt[nospam]@pixelwrench[nospam]com"]email[/email] lethalhamster: gamedev keeps taking my money, but im too lazy to not let them
IFooBar
IFooBar
/me slaps Xtremehobo on the face too

everyone help now.
[size=2]aliak.net

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.