Gold engine changes
This commit is contained in:
parent
8c99a508c6
commit
a085542da5
47
src/Macros.h
Normal file
47
src/Macros.h
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
#ifdef ENVIRONMENT64
|
||||
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#define WIN32
|
||||
#define _WINDOWS
|
||||
#define NDEBUG
|
||||
#define BUILD_LIBTYPE_SHARED
|
||||
#define CMAKE_INTDIR = "Release"
|
||||
#define raylib_EXPORTS
|
||||
|
||||
// RCORE
|
||||
|
||||
#define PLATFORM_DESKTOP
|
||||
#define GRAPHICS_API_OPENGL_33
|
||||
|
||||
// RAUDIO
|
||||
|
||||
#define SUPPORT_FILEFORMAT_FLAC
|
||||
|
||||
// LIBS
|
||||
|
||||
#pragma comment(lib, "winmm.lib")
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef ENVIRONMENT32
|
||||
|
||||
#define BUILD_LIBTYPE_SHARED
|
||||
#define WIN32
|
||||
#define _WINDOWS
|
||||
#define NDEBUG
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#define CMAKE_INTDIR = "Release"
|
||||
#define raylib_EXPORTS
|
||||
|
||||
// RCORE
|
||||
|
||||
#define PLATFORM_DESKTOP
|
||||
#define GRAPHICS_API_OPENGL_21
|
||||
|
||||
// RAUDIO
|
||||
|
||||
#define SUPPORT_FILEFORMAT_FLAC
|
||||
|
||||
#pragma comment(lib, "winmm.lib")
|
||||
|
||||
#endif
|
||||
|
|
@ -69,6 +69,8 @@
|
|||
*
|
||||
**********************************************************************************************/
|
||||
|
||||
#include "Macros.h"
|
||||
|
||||
#if defined(RAUDIO_STANDALONE)
|
||||
#include "raudio.h"
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -82,6 +82,8 @@
|
|||
*
|
||||
**********************************************************************************************/
|
||||
|
||||
#include "Macros.h"
|
||||
|
||||
#ifndef RAYLIB_H
|
||||
#define RAYLIB_H
|
||||
|
||||
|
|
@ -1707,6 +1709,12 @@ RLAPI void DetachAudioStreamProcessor(AudioStream stream, AudioCallback processo
|
|||
RLAPI void AttachAudioMixedProcessor(AudioCallback processor); // Attach audio stream processor to the entire audio pipeline, receives frames x 2 samples as 'float' (stereo)
|
||||
RLAPI void DetachAudioMixedProcessor(AudioCallback processor); // Detach audio stream processor from the entire audio pipeline
|
||||
|
||||
// Cameras
|
||||
|
||||
RLAPI void CameraYaw(Camera* cameraPointer, float yaw, bool local);
|
||||
RLAPI void CameraPitch(Camera* cameraPointer, float pitch);
|
||||
RLAPI void CameraRoll(Camera* cameraPointer, float roll);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user