StarEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Enumerations | Functions | Variables
star Namespace Reference

Classes

class  PathFindManager
 
struct  SearchCell
 
struct  fontVertices
 
struct  fontUvCoords
 
class  Font
 
struct  TextDesc
 
class  FontManager
 
struct  ResourceDescriptor
 
class  Resource
 
class  Texture2D
 
class  TextureManager
 
class  BaseGame
 
class  PathFindNodeComponent
 
class  BaseComponent
 
class  CameraComponent
 
class  SpriteComponent
 
class  SpritesheetComponent
 
class  TextComponent
 
class  BaseColliderComponent
 
class  CircleColliderComponent
 
class  RectangleColliderComponent
 
class  TransformComponent
 
struct  Context
 
struct  Color
 
class  GraphicsManager
 
class  ScaleSystem
 
class  Shader
 
class  SpriteAnimationManager
 
struct  SpriteInfo
 
class  SpriteBatch
 
class  UIDock
 
class  UIUserElement
 
struct  pos
 
class  AARect
 
class  Dictionary
 
class  Filepath
 
struct  FPS
 
class  Rect
 
class  SpriteAnimation
 
class  Spritesheet
 
class  State
 
class  StateManager
 
class  Stopwatch
 
class  Timer
 
class  BaseGesture
 
class  DoubleTapGesture
 
class  GestureManager
 
class  SwipeGesture
 
class  TapGesture
 
struct  FingerPointerANDR
 
class  InputManager
 
class  XMLContainer
 
class  XMLFileParser
 
class  XMLFileSerializer
 
class  Logger
 
class  BaseCamera
 
class  Button
 
class  FreeCamera
 
class  Object
 
class  QuadCol
 
class  CollisionManager
 
class  BaseScene
 
class  LoadScreen
 
class  SceneManager
 
class  TiledScene
 
class  SoundEffect
 
class  SoundFile
 
class  SoundService
 
class  StarEngine
 
class  TimeManager
 

Enumerations

enum  Direction {
  GoingUp, GoingLeft, GoingDown, GoingRight,
  GoingUpLeft, GoingUpRight, GoingDownLeft, GoingDownRight
}
 
enum  {
  ATTRIB_VERTEX, ATTRIB_TEXTUREPOSITON, ATTRIB_PROJECTION, ATTRIB_TRANSLATION,
  NUM_ATTRIBUTES
}
 
enum  LogLevel : byte { Info, Warning, Error, Debug }
 

Functions

bool idCheckerCompare (int leftId, int rightId)
 
Color operator+ (const vec3 &yRef, const Color &op2)
 
Color operator+ (const vec4 &yRef, const Color &op2)
 
Color operator+ (const ivec3 &yRef, const Color &op2)
 
Color operator+ (const ivec4 &yRef, const Color &op2)
 
Color operator- (const vec3 &yRef, const Color &op2)
 
Color operator- (const vec4 &yRef, const Color &op2)
 
Color operator- (const ivec3 &yRef, const Color &op2)
 
Color operator- (const ivec4 &yRef, const Color &op2)
 
bool operator== (const vec3 &yRef, const Color &op2)
 
bool operator== (const vec4 &yRef, const Color &op2)
 
bool operator== (const ivec3 &yRef, const Color &op2)
 
bool operator== (const ivec4 &yRef, const Color &op2)
 
bool operator!= (const vec3 &yRef, const Color &op2)
 
bool operator!= (const vec4 &yRef, const Color &op2)
 
bool operator!= (const ivec3 &yRef, const Color &op2)
 
bool operator!= (const ivec4 &yRef, const Color &op2)
 
pos operator* (unsigned int n, const pos &yRef)
 
pos operator* (unsigned long n, const pos &yRef)
 
pos operator* (int n, const pos &yRef)
 
pos operator* (long n, const pos &yRef)
 
pos operator* (float n, const pos &yRef)
 
pos operator* (double n, const pos &yRef)
 
pos operator* (const vec2 &v, const pos &yRef)
 
pos operator/ (unsigned int n, const pos &yRef)
 
pos operator/ (unsigned long n, const pos &yRef)
 
pos operator/ (int n, const pos &yRef)
 
pos operator/ (long n, const pos &yRef)
 
pos operator/ (float n, const pos &yRef)
 
pos operator/ (double n, const pos &yRef)
 
pos operator/ (const vec2 &v, const pos &yRef)
 
bool operator== (const vec2 &lRef, const pos &rRef)
 
bool operator!= (const vec2 &lRef, const pos &rRef)
 
template<typename TKey , typename TValue >
void swap (Dictionary< TKey, TValue > &lhs, Dictionary< TKey, TValue > &rhs)
 
template<typename TKey , typename TValue >
bool operator== (Dictionary< TKey, TValue > &lhs, Dictionary< TKey, TValue > &rhs)
 
template<typename TKey , typename TValue >
bool operator!= (Dictionary< TKey, TValue > &lhs, Dictionary< TKey, TValue > &rhs)
 
const uint32 GenerateHash (const tstring &str)
 
template<>
std::wstring string_cast< std::wstring, std::wstring > (const std::wstring &value)
 
template<>
std::string string_cast< std::string, std::string > (const std::string &value)
 
template<>
std::string string_cast< std::string, std::wstring > (const std::wstring &value)
 
template<>
std::wstring string_cast< std::wstring, std::string > (const std::string &value)
 
template<>
std::wstring string_cast< std::wstring, wchar_t > (const wchar_t *value)
 
template<>
std::string string_cast< std::string, char > (const char *value)
 
template<>
std::string string_cast< std::string, wchar_t > (const wchar_t *value)
 
template<>
std::wstring string_cast< std::wstring, char > (const char *value)
 
template<>
bool string_cast< bool, tstring > (const tstring &value)
 
template<>
int string_cast< int, tstring > (const tstring &value)
 
template<>
uint32 string_cast< uint32, tstring > (const tstring &value)
 
template<>
long string_cast< long, tstring > (const tstring &value)
 
template<>
float string_cast< float, tstring > (const tstring &value)
 
template<>
double string_cast< double, tstring > (const tstring &value)
 
template<typename TReturnValue , typename TValue >
TReturnValue string_cast (const TValue &value)
 
template<typename TReturnValue , typename TValue >
TReturnValue string_cast (const TValue *value)
 
float DegreesToRadians (float degrees)
 
vec2 DegreesToRadians (const vec2 &degrees)
 
vec3 DegreesToRadians (const vec3 &degrees)
 
vec4 DegreesToRadians (const vec4 &degrees)
 
float RadiansToDegrees (float radians)
 
vec2 RadiansToDegrees (const vec2 &radians)
 
vec3 RadiansToDegrees (const vec3 &radians)
 
vec4 RadiansToDegrees (const vec4 &radians)
 
mat4x4 TransposeMatrix (const mat4x4 &matrix)
 

Variables

const int MAX_SAMPLES = 10
 
const double NSMULTIPLIER = 1.0e-9
 
const double MICROMULTIPLIER = 1000000.0
 
const double MILLIMULTIPLIER = 1000.0
 
const double SECONDMULTIPLIER = 1.0
 

Enumeration Type Documentation

anonymous enum
Enumerator
ATTRIB_VERTEX 
ATTRIB_TEXTUREPOSITON 
ATTRIB_PROJECTION 
ATTRIB_TRANSLATION 
NUM_ATTRIBUTES 
Enumerator
GoingUp 
GoingLeft 
GoingDown 
GoingRight 
GoingUpLeft 
GoingUpRight 
GoingDownLeft 
GoingDownRight 
enum star::LogLevel : byte
Enumerator
Info 
Warning 
Error 
Debug 

Function Documentation

float star::DegreesToRadians ( float  degrees)
vec2 star::DegreesToRadians ( const vec2 &  degrees)
vec3 star::DegreesToRadians ( const vec3 &  degrees)
vec4 star::DegreesToRadians ( const vec4 &  degrees)
const uint32 star::GenerateHash ( const tstring str)
bool star::idCheckerCompare ( int  leftId,
int  rightId 
)
template<typename TKey , typename TValue >
bool star::operator!= ( Dictionary< TKey, TValue > &  lhs,
Dictionary< TKey, TValue > &  rhs 
)
bool star::operator!= ( const vec2 &  lRef,
const pos &  rRef 
)
bool star::operator!= ( const vec3 &  yRef,
const Color &  op2 
)
bool star::operator!= ( const vec4 &  yRef,
const Color &  op2 
)
bool star::operator!= ( const ivec3 &  yRef,
const Color &  op2 
)
bool star::operator!= ( const ivec4 &  yRef,
const Color &  op2 
)
pos star::operator* ( unsigned int  n,
const pos &  yRef 
)
pos star::operator* ( unsigned long  n,
const pos &  yRef 
)
pos star::operator* ( int  n,
const pos &  yRef 
)
pos star::operator* ( long  n,
const pos &  yRef 
)
pos star::operator* ( float  n,
const pos &  yRef 
)
pos star::operator* ( double  n,
const pos &  yRef 
)
pos star::operator* ( const vec2 &  v,
const pos &  yRef 
)
Color star::operator+ ( const vec3 &  yRef,
const Color &  op2 
)
Color star::operator+ ( const vec4 &  yRef,
const Color &  op2 
)
Color star::operator+ ( const ivec3 &  yRef,
const Color &  op2 
)
Color star::operator+ ( const ivec4 &  yRef,
const Color &  op2 
)
Color star::operator- ( const vec3 &  yRef,
const Color &  op2 
)
Color star::operator- ( const vec4 &  yRef,
const Color &  op2 
)
Color star::operator- ( const ivec3 &  yRef,
const Color &  op2 
)
Color star::operator- ( const ivec4 &  yRef,
const Color &  op2 
)
pos star::operator/ ( unsigned int  n,
const pos &  yRef 
)
pos star::operator/ ( unsigned long  n,
const pos &  yRef 
)
pos star::operator/ ( int  n,
const pos &  yRef 
)
pos star::operator/ ( long  n,
const pos &  yRef 
)
pos star::operator/ ( float  n,
const pos &  yRef 
)
pos star::operator/ ( double  n,
const pos &  yRef 
)
pos star::operator/ ( const vec2 &  v,
const pos &  yRef 
)
template<typename TKey , typename TValue >
bool star::operator== ( Dictionary< TKey, TValue > &  lhs,
Dictionary< TKey, TValue > &  rhs 
)
bool star::operator== ( const vec2 &  lRef,
const pos &  rRef 
)
bool star::operator== ( const vec3 &  yRef,
const Color &  op2 
)
bool star::operator== ( const vec4 &  yRef,
const Color &  op2 
)
bool star::operator== ( const ivec3 &  yRef,
const Color &  op2 
)
bool star::operator== ( const ivec4 &  yRef,
const Color &  op2 
)
float star::RadiansToDegrees ( float  radians)
vec2 star::RadiansToDegrees ( const vec2 &  radians)
vec3 star::RadiansToDegrees ( const vec3 &  radians)
vec4 star::RadiansToDegrees ( const vec4 &  radians)
template<typename TReturnValue , typename TValue >
TReturnValue star::string_cast ( const TValue &  value)
template<typename TReturnValue , typename TValue >
TReturnValue star::string_cast ( const TValue *  value)
template<>
bool star::string_cast< bool, tstring > ( const tstring value)
template<>
double star::string_cast< double, tstring > ( const tstring value)
template<>
float star::string_cast< float, tstring > ( const tstring value)
template<>
int star::string_cast< int, tstring > ( const tstring value)
template<>
long star::string_cast< long, tstring > ( const tstring value)
template<>
std::string star::string_cast< std::string, char > ( const char *  value)
template<>
std::string star::string_cast< std::string, std::string > ( const std::string &  value)
template<>
std::string star::string_cast< std::string, std::wstring > ( const std::wstring &  value)
template<>
std::string star::string_cast< std::string, wchar_t > ( const wchar_t *  value)
template<>
std::wstring star::string_cast< std::wstring, char > ( const char *  value)
template<>
std::wstring star::string_cast< std::wstring, std::string > ( const std::string &  value)
template<>
std::wstring star::string_cast< std::wstring, std::wstring > ( const std::wstring &  value)
template<>
std::wstring star::string_cast< std::wstring, wchar_t > ( const wchar_t *  value)
template<>
uint32 star::string_cast< uint32, tstring > ( const tstring value)
template<typename TKey , typename TValue >
void star::swap ( Dictionary< TKey, TValue > &  lhs,
Dictionary< TKey, TValue > &  rhs 
)
mat4x4 star::TransposeMatrix ( const mat4x4 &  matrix)

Variable Documentation

const int star::MAX_SAMPLES = 10
const double star::MICROMULTIPLIER = 1000000.0
const double star::MILLIMULTIPLIER = 1000.0
const double star::NSMULTIPLIER = 1.0e-9
const double star::SECONDMULTIPLIER = 1.0