AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzTypes.h
Go to the documentation of this file.
00001 // 
00002 //
00003 // AppEasy SDK - Cross Platform Multi-purpose Game and App Engine
00004 //
00005 // Developed by Matthew Hopwood of Pocketeers Limited - www.pocketeers.co.uk
00006 //
00007 // For updates, tutorials and more details check out www.appeasymobile.com
00008 //
00009 // This code is provided free of charge and without any warranty whatsoever. You must ensure that this whole notice is present in all files and derivatives, so the reader knows its origin.
00010 // If you use this SDK in your product then please ensure that you credit AppEasy's usage appropriately. Please see www.appeasymobile.com for licensing details and support
00011 //
00012 //
00013 
00014 #if !defined(_CCZ_TYPES_H_)
00015 #define _CCZ_TYPES_H_
00016 
00017 #include <list>
00018 #include <vector>
00019 
00020 #include "CzRect.h"
00021 #include "CzVec2.h"
00022 #include "CzIVec2.h"
00023 #include "CzSVec2.h"
00024 #include "CzVec3.h"
00025 #include "CzVec4.h"
00026 #include "CzMatrix3.h"
00027 #include "CzMatrix4.h"
00028 #include "CzColour.h"
00029 
00030 #define CzList      std::list
00031 #define CzVector    std::vector
00032 
00033 typedef CzList<char> CzCharList;
00034 typedef CzList<int> CzIntList;
00035 typedef CzList<float> CzFloatList;
00036 typedef CzList<bool> CzBoolList;
00037 typedef CzVector<char> CzCharVector;
00038 typedef CzVector<int> CzIntVector;
00039 typedef CzVector<float> CzFloatVector;
00040 typedef CzVector<bool> CzBoolVector;
00041 
00042 #if !defined(NULL)
00043 #define NULL    0
00044 #endif
00045 
00046 /*typedef char          int8;
00047 typedef unsigned char   uint8;
00048 typedef short           int16;
00049 typedef unsigned short  uint16;
00050 typedef int             int32;
00051 typedef unsigned int    uint32;
00052 #if defined(_MSC_VER) || defined(__BORLANDC__)
00053 typedef __int64         int64;
00054 typedef unsigned __int64 uint64;
00055 #else
00056 typedef long long int   int64;
00057 typedef unsigned long long int uint64;
00058 #endif*/
00059 
00060 #if defined(_MSC_VER) || defined(__BORLANDC__)
00061    #define CZ_LITTLE_ENDIAN
00062 #else
00063    #define CZ_BIG_ENDIAN
00064 #endif
00065 
00066 /**
00067  @enum  eCzOrientation
00068 
00069  @brief Values that represent orientation.
00070  */
00071 enum eCzOrientation
00072 {
00073     Orientation_Horizontal, 
00074     Orientation_Vertical, 
00075 };
00076 
00077 /**
00078  @enum  eCzAlignH
00079 
00080  @brief Values that represent horizontal alignment.
00081  */
00082 enum eCzAlignH
00083 {
00084     AlignH_Left, 
00085     AlignH_Centre, 
00086     AlignH_Right, 
00087 };
00088 
00089 /**
00090  @enum  eCzAlignV
00091 
00092  @brief Values that represent vertical alignment.
00093  */
00094 enum eCzAlignV
00095 {
00096     AlignV_Top, 
00097     AlignV_Middle, 
00098     AlignV_Bottom, 
00099 };
00100 
00101 /**
00102  @enum  eCzAspectLock
00103 
00104  @brief Values that represent aspect lock.
00105  */
00106 enum eCzAspectLock
00107 {
00108     AL_None,  
00109     AL_X,  
00110     AL_Y, 
00111 };
00112 
00113 typedef void*       CzFileHandle;
00114 typedef void*       CzTexture;
00115 typedef void*       CzFontHandle;
00116 typedef void*       CzFontPreparedText;
00117 typedef void*       CzSoundInst;
00118 typedef void*       CzSoundSpec;
00119 typedef void*       CzSoundData;
00120 typedef void*       CzWebView;
00121 typedef void*       CzFacebookRequest;
00122 
00123 
00124 
00125 #endif  // _CCZ_TYPES_H_