The KISS Game Engine.

Main
Parallelism
Runtime Types
Memory Management
Graphics (in process)

Runtime Types

Were going to provide a set of portable cross platform sized types. Although I'm only going to build this on PC for now it'll make things easier later on if there is a need for a port to a different platform.

Sine the C99 standard actually has definitions for sized types, we'll use those even though they are a little verbose for my tastes. Since I'm lazy I'm just going to add the types as I use them.

These types need to be included prior to any other KISS includes, the easy way to do this is to add them as a "force include". Both GCC and MSVC support force includes.


#ifndef KISS_TYPES_H
#define KISS_TYPES_H

typedef int int32_t;
typedef unsigned int uint32_t;

#if defined(_MSC_VER)
#if defined (_WIN64)
    typedef __int64 intptr_t;
#else
    typedef int intptr_t;
#endif
#endif


#endif


 

Contact me