1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Halofreak1990 e7a47c8ed9 Revamped the List class so that it can (properly) handle pointers as well
Added 'ValueTypes' Single and Double
Added some components in the new System::Net namespace
Added the Console class, which can be used to output text to the screen
Updated a bunch of structs to include the IComparable and IEquatable interfaces, and inheritance from Object to allow better interoperability between container classes and other types
Replaced all exception handling code with a report to stdout.txt - this will, I hope, eventually be reversed, but as of yet, there is no support for exceptions.

BEWARE! Even though all libraries correctly compile, you cannot use any class/structure that inherits from a template class, because stupid G++ wants to include exception handling for each template.
2011-11-07 01:29:50 +00:00

94 lines
1.9 KiB
C++

/********************************************************
* Enums.h *
* *
* XFX enumeration definition file *
* Copyright © XFX Team. All Rights Reserved *
********************************************************/
#ifndef _XFX_ENUMS_
#define _XFX_ENUMS_
namespace XFX
{
struct ContainmentType
{
enum type
{
Contains,
Disjoint,
Intersects
};
};
struct CurveContinuity
{
enum type
{
Smooth,
Step
};
};
struct CurveLoopType
{
enum type
{
Constant,
Cycle,
CycleOffset,
Linear,
Oscillate
};
};
struct CurveTangent
{
enum type
{
Flat,
Linear,
Smooth
};
};
struct PlaneIntersectionType
{
enum type
{
Back,
Front,
Intersecting
};
};
struct PlayerIndex
{
enum type
{
One,
Two,
Three,
Four
};
};
struct TargetPlatform
{
enum type
{
Unknown,
Linux,
XBOX
};
};
typedef ContainmentType::type ContainmentType_t; // Describes how one bounding volume contains another.
typedef CurveContinuity::type CurveContinuity_t; // Defines the continuity of CurveKeys on a Curve.
typedef CurveLoopType::type CurveLoopType_t; // Defines how the value of a Curve will be determined for positions before the first point on the Curve or after the last point on the Curve.
typedef CurveTangent::type CurveTangent_t; // Specifies different tangent types to be calculated for CurveKey points in a Curve.
typedef PlaneIntersectionType::type PlaneIntersectionType_t; // Describes the intersection between a plane and a bounding volume.
typedef PlayerIndex::type PlayerIndex_t; // Specifies the index of a player.
typedef TargetPlatform::type TargetPlatform_t; // Defines the target platform to be used when compiling content.
}
#endif //_ENUMS_