newspeoplefor developersdocumentationdownloads

attributes.h

Go to the documentation of this file.
00001 #ifndef GAME_ATTRIBUTES_H
00002 #define GAME_ATTRIBUTES_H
00003 //------------------------------------------------------------------------------
00012 #include "attr/attributeid.h"
00013 
00014 //------------------------------------------------------------------------------
00015 namespace Attr
00016 {
00017     DeclareFloat(TestFloatAttr);
00018     DeclareInt(TestIntAttr);
00019     DeclareString(TestStringAttr);
00020     DeclareVector3(TestVector3Attr);
00021     DeclareVector4(TestVector4Attr);
00022     DeclareBool(TestBoolAttr);
00023     DeclareString(_Dummy);
00024     DeclareString(_Type);
00025     DeclareString(_Category);
00026     DeclareString(_Level);
00027     DeclareString(_ID);
00028     DeclareBool(StartLevel);
00029     DeclareString(GUID);
00030     DeclareVector3(Center);
00031     DeclareVector3(Extents);
00032     DeclareString(CurrentLevel);
00033     DeclareString(Id);
00034     DeclareString(Name);
00035     DeclareString(Placeholder);
00036     DeclareMatrix44(Transform);
00037     DeclareInt(AnimIndex);
00038     DeclareString(Physics);
00039     DeclareString(Audio);
00040     DeclareBool(Collide);
00041     DeclareBool(AllowScale);
00042     DeclareString(PhysicMaterial);
00043     DeclareFloat(AudioInnerRadius);
00044     DeclareFloat(AudioOuterRadius);
00045     DeclareBool(AudioFadein);
00046     DeclareInt(TargetEntityId);
00047     DeclareFloat(Time);
00048     DeclareString(File);
00049     DeclareString(EntityGroup);
00050 
00051     // PhysicsProperty
00052     DeclareVector3(VelocityVector);    // the current absolute velocity vector
00053 
00054     // ActorPhysicsProperty
00055     DeclareFloat(RelVelocity);       // the currently set relative velocity (0..1)
00056     DeclareFloat(MaxVelocity);       // the maximum velocity
00057     DeclareBool(Following);         // true if currently following somebody
00058     DeclareBool(Moving);            // true if currently moving
00059 
00060     // (simple) graphics property
00061     DeclareString(Graphics);    // name of the graphics resource
00062 
00063     // actor graphics property
00064     DeclareString(AnimSet);     // name of the animation set
00065     DeclareString(CharacterSet);// name of the character 3 charset
00066 
00067 }; // namespace Attr
00068 //------------------------------------------------------------------------------
00069 #endif

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.