GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi_low.cc File Reference
#include "GameApi_low.hh"
#include <cassert>
#include <iostream>
#include <sstream>
#include <GL/glew.h>
#include <GL/gl.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include "GameApi_h.hh"
#include <SDL2/SDL_mixer.h>
Include dependency graph for GameApi_low.cc:

Classes

struct  SDL_EVENT_HACK
class  OpenglApi
class  SDLApi
class  SDLMixerApi

Macros

#define VIRTUAL_REALITY   1
#define SDL2_USED
#define GAME_API_DEF
#define _SCL_SECURE_NO_WARNINGS
#define THREADS   1
#define BATCHING   1
#define VAO   1
#define USE_MIX   1
#define USE_TEXTURE_READ   1
#define NO_SDL_GLEXT
#define COLONCOLON   ::
#define WRAP(a)

Functions

std::string to_str (int val)
void check_err (const char *name)
void map_enums_sdl (unsigned int &i)
void map_enums_sdl (int &i)
void map_enums2 (unsigned int &i)
void map_enums (int &i)
void GLAPIENTRY MessageCallback (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam)
void map_enums_mix (int &i)
void initialize_stub (int flags)
IMPORT void initialize_low (int flags)

Variables

IMPORT LowApi * g_low

Macro Definition Documentation

◆ _SCL_SECURE_NO_WARNINGS

#define _SCL_SECURE_NO_WARNINGS

◆ BATCHING

#define BATCHING   1

◆ COLONCOLON

#define COLONCOLON   ::

◆ GAME_API_DEF

#define GAME_API_DEF

◆ NO_SDL_GLEXT

#define NO_SDL_GLEXT

◆ SDL2_USED

#define SDL2_USED

◆ THREADS

#define THREADS   1

◆ USE_MIX

#define USE_MIX   1

◆ USE_TEXTURE_READ

#define USE_TEXTURE_READ   1

◆ VAO

#define VAO   1

◆ VIRTUAL_REALITY

#define VIRTUAL_REALITY   1

◆ WRAP

#define WRAP ( a)
Value:
a

Function Documentation

◆ check_err()

void check_err ( const char * name)

◆ initialize_low()

IMPORT void initialize_low ( int flags)
Here is the caller graph for this function:

◆ initialize_stub()

void initialize_stub ( int flags)

◆ map_enums()

void map_enums ( int & i)

◆ map_enums2()

void map_enums2 ( unsigned int & i)
Here is the caller graph for this function:

◆ map_enums_mix()

void map_enums_mix ( int & i)
Here is the caller graph for this function:

◆ map_enums_sdl() [1/2]

void map_enums_sdl ( int & i)

◆ map_enums_sdl() [2/2]

void map_enums_sdl ( unsigned int & i)

◆ MessageCallback()

void GLAPIENTRY MessageCallback ( GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
const GLchar * message,
const void * userParam )

◆ to_str()

std::string to_str ( int val)

Variable Documentation

◆ g_low

IMPORT LowApi* g_low