Well crap on me to, still wont work *sigh*

I have this in the .cpp

#include "extdll.h"
#include "util.h"
#include "cbase.h"
#include "player.h"
#include "weapons.h"
#include "gamerules.h"
#include "teamplay_gamerules.h"
#include "GB_RoundRules.h"
#include "monsters.h"

Then In the .h


class CSgRoundRules : public CHalfLifeTeamplay
{
...
...
...
};


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Yacketta,
Ronald
Sent: Sunday, February 24, 2002 6:46 PM
To: [EMAIL PROTECTED]
Subject: RE: [hlcoders] Argh!


ARGH!
Stupid compilers ;)
I had the includes in the file alright, but in the wrong order..

Like I said stupididty!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Miguel
Aleman
Sent: Sunday, February 24, 2002 6:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] Argh!


You have to define the CHalfLifeTeamplay class before you can that
class. So, whenever you have "#include "SgRoundRules.h" you need to add
"#include teamplay_gamerules.h" before it.

----- Original Message -----
From: "Yacketta, Ronald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 24, 2002 5:38 PM
Subject: [hlcoders] Argh!


> Okay, stupid basic C++ question *sigh*
>
> Why does this
>
> class CSgRoundRules : public CHalfLifeTeamplay
> {
> Blah
> Blah
> Blah
> };
>
> Result in this
>
> GB_RoundRules.h(6) : error C2504: 'CHalfLifeTeamplay' : base class
> undefined
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to