All pastes #238533 Raw Edit

Something

public text v1 · immutable
·published 2006-11-05 00:57 UTC
rendered paste body
error 
src/bodydata.h:26: error: expected ‘,’ or ‘...’ before ‘;’ token


code

#ifndef __bodydata_h
#define __bodydata_h

// CS Files
#include <cssysdef.h>
#include <crystalspace.h>

class BodyData : public scfImplementationExt1<BodyData, csObject,
	scfFakeInterface<BodyData> >
{
private:
  	int			body_no;
	long double radius;
	long double a;					/* semi-major axis of the orbit (in AU)*/
	long double e;					/* eccentricity of the orbit		 */
	long double	axial_tilt;			/* units of degrees					 */
	long double mass;				/* mass (in solar masses)			 */
	long double day;				/* length of the local day (hours)	 */
	int 		resonant_period;	/* TRUE if in resonant rotation		 */	

public:
	SCF_INTERFACE (BodyData, 1, 0, 0);

	BodyData () : scfImplementationType (this) { };
	virtual ~BodyData () { };
	virtual void Init (	int			Body_no;			
								long double Radius;
								long double A;
								long double E;				
								long double	Axial_tilt;	
								long double Mass;			
								long double Day;			
								int 		Resonant_period;) = 0 ;

};

#endif