//Copyright (C) 2007 SiegeLord
//See ReadMe.txt and License.txt for copying information

#pragma once

#include "neonz.h"

enum ENewObjectType
{
	genericweapon_type = userobject_type,
	rocketweapon_type,
	plasmaweapon_type,
	ionbeamweapon_type,
	solar_array_type,
	flasher_type,
	objectex_type,
	solar_proj_type,
	genericship_type,
	rocket_type,
	plasma_type,
	ionbeam_type,
	thrusterparticle_type,
	explosionparticle_type,
	mothership_type,
	soundholder_type
};

struct SObjectEx : SObject
{
	SObjectEx()
	{
		dead = false;
	}

	bool dead;//used for removal of children, if a parent finds a dead child... it can remove it
	virtual int Handle();
};
