It looks like you're new here. If you want to get involved, click one of these buttons!
In file included from /home/chaz/Projects/Sweet Dreams Project/SDP00/src/paradigm.cpp:1:0:
/home/chaz/Projects/Sweet Dreams Project/SDP00/src/paradigm.h:26:1: warning: ISO C++ prohibits anonymous structs [-pedantic]
/home/chaz/Projects/Sweet Dreams Project/SDP00/src/paradigm.h:8:16: error: an anonymous struct cannot have function members
/home/chaz/Projects/Sweet Dreams Project/SDP00/src/paradigm.h:8:16: error: member ‘ScrollObject <anonymous class>::<anonymous>’ with constructor not allowed in anonymous aggregate
/home/chaz/Projects/Sweet Dreams Project/SDP00/src/paradigm.h:8:16: error: member ‘ScrollObject <anonymous class>::<anonymous>’ with destructor not allowed in anonymous aggregate
/home/chaz/Projects/Sweet Dreams Project/SDP00/src/paradigm.h:8:16: error: member ‘ScrollObject <anonymous class>::<anonymous>’ with copy assignment operator not allowed in anonymous aggregate
/home/chaz/Projects/Sweet Dreams Project/SDP00/src/paradigm.h:26:1: error: abstract declarator ‘<anonymous class>’ used as declaration
#ifndef Paradigm
#define Paradigm
#include "OrxScroll.h"
#include "weapon.h"
#include "bomb.h"
#include "skill.h"
class Paradigm : public ScrollObject
{
Weapon *p_weapon;
Bomb *p_bomb;
Skill *p_skill;
// Callback functions.
virtual void OnCreate ();
virtual void OnDelete ();
virtual void Update (const orxCLOCK_INFO &_rstInfo);
virtual orxBOOL OnCollide ( ScrollObject *_poCollider, const orxSTRING _zPartName,
const orxVECTOR &_rvPosition, const orxVECTOR &_rvNormal);
public:
void FireWeapon ();
void LaunchBomb ();
void ActivateSkill ();
};
#endif // Paradigm
Comments
Maybe can you send us your project if you want us to check?