orx 1.16
Portable Game Engine
Loading...
Searching...
No Matches
orxVersion.h
Go to the documentation of this file.
1/* Orx - Portable Game Engine
2 *
3 * Copyright (c) 2008- Orx-Project
4 *
5 * This software is provided 'as-is', without any express or implied
6 * warranty. In no event will the authors be held liable for any damages
7 * arising from the use of this software.
8 *
9 * Permission is granted to anyone to use this software for any purpose,
10 * including commercial applications, and to alter it and redistribute it
11 * freely, subject to the following restrictions:
12 *
13 * 1. The origin of this software must not be misrepresented; you must not
14 * claim that you wrote the original software. If you use this software
15 * in a product, an acknowledgment in the product documentation would be
16 * appreciated but is not required.
17 *
18 * 2. Altered source versions must be plainly marked as such, and must not be
19 * misrepresented as being the original software.
20 *
21 * 3. This notice may not be removed or altered from any source
22 * distribution.
23 */
24
32
40
41
42#ifndef _orxVERSION_H_
43#define _orxVERSION_H_
44
45
46#include "base/orxType.h"
47
48#if !defined(__orxANDROID__) && !defined(__orxIOS__)
49
50#ifndef __orxVERSION_BUILD__
51#include "base/orxBuild.h"
52#endif /* __orxVERSION_BUILD__ */
53
54#endif /* !__orxANDROID__ && !__orxIOS__ */
55
58
59#define __orxVERSION_MAJOR__ 1
60#define __orxVERSION_MINOR__ 17
61
62#ifndef __orxVERSION_RELEASE__
63 #define __orxVERSION_RELEASE__ dev
64#endif /* __orxVERSION_RELEASE__ */
65
66#ifndef __orxVERSION_BUILD__
67 #define __orxVERSION_BUILD__ 0
68#endif /* __orxVERSION_BUILD__ */
69
70#define __orxVERSION_STRING__ orxSTRINGIFY(__orxVERSION_MAJOR__) "." orxSTRINGIFY(__orxVERSION_MINOR__) "-" orxSTRINGIFY(__orxVERSION_RELEASE__)
71#define __orxVERSION_FULL_STRING__ orxSTRINGIFY(__orxVERSION_MAJOR__) "." orxSTRINGIFY(__orxVERSION_MINOR__) "." orxSTRINGIFY(__orxVERSION_BUILD__) "-" orxSTRINGIFY(__orxVERSION_RELEASE__)
72
73#define __orxVERSION_MASK_MAJOR__ 0xFF000000
74#define __orxVERSION_SHIFT_MAJOR__ 24
75#define __orxVERSION_MASK_MINOR__ 0x00FF0000
76#define __orxVERSION_SHIFT_MINOR__ 16
77#define __orxVERSION_MASK_BUILD__ 0x0000FFFF
78#define __orxVERSION_SHIFT_BUILD__ 0
79
80#define __orxVERSION__ (((__orxVERSION_MAJOR__ << __orxVERSION_SHIFT_MAJOR__) & __orxVERSION_MASK_MAJOR__) | ((__orxVERSION_MINOR__ << __orxVERSION_SHIFT_MINOR__) & __orxVERSION_MASK_MINOR__) | ((__orxVERSION_BUILD__ << __orxVERSION_SHIFT_BUILD__) & __orxVERSION_MASK_BUILD__))
81
82
85
86typedef struct __orxVERSION_t
87{
88 const orxSTRING zRelease;
89 orxU32 u32Major;
90 orxU32 u32Minor;
91 orxU32 u32Build;
92
94
95
96#endif /*_orxVERSION_H_*/
97
const orxSTRING zRelease
Definition orxVersion.h:88
orxU32 u32Build
Definition orxVersion.h:91
orxU32 u32Major
Definition orxVersion.h:89
orxU32 u32Minor
Definition orxVersion.h:90

Generated for orx by doxygen 1.8.11