raylib-cpp
C++ object-oriented wrapper library for raylib.
Loading...
Searching...
No Matches
raylib.hpp
1
4#ifndef RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
5#define RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11#ifndef RAYLIB_H_FILE
12#define RAYLIB_H_FILE "raylib.h"
13#endif
14
15#include RAYLIB_H_FILE // NOLINT
16
17#if !defined(RAYLIB_VERSION_MAJOR) || !defined(RAYLIB_VERSION_MINOR)
18 #error "raylib-cpp requires raylib >= 5"
19#endif
20
21#if RAYLIB_VERSION_MAJOR < 5
22 #error "raylib-cpp requires raylib >= 5"
23#endif
24
25#if RAYLIB_VERSION_MAJOR > 5
26 #error "raylib-cpp requires raylib ~5.0. Use the `next` branch for the next version of raylib."
27#endif
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif // RAYLIB_CPP_INCLUDE_RAYLIB_HPP_