The externs are not complete and are currently not working, hxcpp's temp vars don't match the stack access of c.
Haxe externs for the raylib library, version 2.4.
This requires a C++ compiler, cmake and make to build raylib during your first build.
Currently this only covers the raylib.h
header.
Some functions have been changed to make it haxe friendlier, mainly ones dealing with strings, or to make it type safer.
Run haxe buildExamples.hxml
to compile all the examples, this may take a while.
Instead of doing #include <raylib.h>
do import raylib.Raylib; import raylib.Raylib.*;
and add -lib raylib
to your hxml.
raylib is a simple and easy-to-use library to enjoy videogames programming.
raylib is highly inspired by Borland BGI graphics lib and by XNA framework.
raylib is especially well suited for prototyping, tooling, graphical applications, embedded systems and education.
NOTE for ADVENTURERS: raylib is a programming library to enjoy videogames programming; no fancy interface, no visual helpers, no auto-debugging... just coding in the most pure spartan-programmers way.
The externs and raylib are both an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software.
Check raylib's LICENSE for further details on the fonts and art included with it.