All pastes #559958 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-11 23:35 UTC
rendered paste body
ifndef _HEADER_GAMEOBJS
#define _HEADER_GAMEOBJS


#include "defs.h"
#include "assert.h" <-- contains the offending macro
#include "coll_data.h"
#include "animation.h"
/**
 * This is the base class for all game entities. It handles drawing etc.
 */


class GameObj {
        public:
                virtual bool is_colliding_with(const Rectangle &position,collision_data &output,int damage=0);
                GameObj(real x,real y,int t,const Rectangle &size,int health);
                GameObj() {
//                      assert("Called default gameobj constructor",0); <-- line which cause all that shit.
                }
                virtual ~GameObj() {