Sha256: 3664fec30e70a81cff37b2b532fadcb10e98811837d4cd5941adf153f2db7221

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

#ifndef SAY_ALL_H_
#define SAY_ALL_H_

/* Dependencies for all of the files */

/* Data structures */
#include "mo.h"

/* Standard headers */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <math.h>
#include <stdbool.h>
#include <unistd.h>

/* Threading */
#ifndef SAY_WIN
# include <pthread.h>
#endif

/* OpenGL */
#include <GL/glew.h>

/* Fonts */
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_GLYPH_H
#include FT_OUTLINE_H
#include FT_BITMAP_H

/* Audio */
#ifdef SAY_OSX
# include <OpenAL/al.h>
# include <OpenAL/alc.h>
#else
# include <AL/al.h>
# include <AL/alc.h>
#endif

#include <sndfile.h>

#ifdef HAVE_X11_EXTENSIONS_XRANDR_H
# define HAVE_XRANDR 1
#endif

/* Windowing */

#ifdef SAY_OSX
# include "say_osx.h"
#endif

#ifdef SAY_X11
# include "say_x11.h"
#endif

#ifdef SAY_WIN
# include "say_win.h"
#endif

#include "say_imp.h"

/* Clean up */
void say_clean_up();

/* String manipulations */
uint32_t say_utf8_to_utf32(const uint8_t *string);
char *say_strdup(const char *str);

/* Errors */

const char *say_error_get_last();
void say_error_set(const char *message);

void say_error_clean_up();

/* Get OpenGL proc */
void *say_get_proc(const char *name);

#define SAY_PI 3.14159265358979323846

#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ray-0.2.1 ext/say_all.h
ray-0.2.0 ext/say_all.h