REVIEWED: Modules description layout
This commit is contained in:
parent
a4a5a798bd
commit
7d68aa6869
11 changed files with 218 additions and 232 deletions
|
@ -11,7 +11,6 @@
|
||||||
* - Play/Stop/Pause/Resume loaded audio
|
* - Play/Stop/Pause/Resume loaded audio
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
|
||||||
* #define SUPPORT_MODULE_RAUDIO
|
* #define SUPPORT_MODULE_RAUDIO
|
||||||
* raudio module is included in the build
|
* raudio module is included in the build
|
||||||
*
|
*
|
||||||
|
@ -42,7 +41,7 @@
|
||||||
* David Reid (github: @mackron) (Nov. 2017):
|
* David Reid (github: @mackron) (Nov. 2017):
|
||||||
* - Complete port to miniaudio library
|
* - Complete port to miniaudio library
|
||||||
*
|
*
|
||||||
* Joshua Reisenauer (github: @kd7tck) (2015)
|
* Joshua Reisenauer (github: @kd7tck) (2015):
|
||||||
* - XM audio module support (jar_xm)
|
* - XM audio module support (jar_xm)
|
||||||
* - MOD audio module support (jar_mod)
|
* - MOD audio module support (jar_mod)
|
||||||
* - Mixing channels support
|
* - Mixing channels support
|
||||||
|
|
|
@ -2,8 +2,15 @@
|
||||||
*
|
*
|
||||||
* raymath v1.5 - Math functions to work with Vector2, Vector3, Matrix and Quaternions
|
* raymath v1.5 - Math functions to work with Vector2, Vector3, Matrix and Quaternions
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONVENTIONS:
|
||||||
|
* - Functions are always self-contained, no function use another raymath function inside,
|
||||||
|
* required code is directly re-implemented inside
|
||||||
|
* - Functions input parameters are always received by value (2 unavoidable exceptions)
|
||||||
|
* - Functions use always a "result" variable for return
|
||||||
|
* - Functions are always defined inline
|
||||||
|
* - Angles are always in radians (DEG2RAD/RAD2DEG macros provided for convenience)
|
||||||
*
|
*
|
||||||
|
* CONFIGURATION:
|
||||||
* #define RAYMATH_IMPLEMENTATION
|
* #define RAYMATH_IMPLEMENTATION
|
||||||
* Generates the implementation of the library into the included file.
|
* Generates the implementation of the library into the included file.
|
||||||
* If not defined, the library is in header only mode and can be included in other headers
|
* If not defined, the library is in header only mode and can be included in other headers
|
||||||
|
@ -13,15 +20,6 @@
|
||||||
* Define static inline functions code, so #include header suffices for use.
|
* Define static inline functions code, so #include header suffices for use.
|
||||||
* This may use up lots of memory.
|
* This may use up lots of memory.
|
||||||
*
|
*
|
||||||
* CONVENTIONS:
|
|
||||||
*
|
|
||||||
* - Functions are always self-contained, no function use another raymath function inside,
|
|
||||||
* required code is directly re-implemented inside
|
|
||||||
* - Functions input parameters are always received by value (2 unavoidable exceptions)
|
|
||||||
* - Functions use always a "result" variable for return
|
|
||||||
* - Functions are always defined inline
|
|
||||||
* - Angles are always in radians (DEG2RAD/RAD2DEG macros provided for convenience)
|
|
||||||
*
|
|
||||||
*
|
*
|
||||||
* LICENSE: zlib/libpng
|
* LICENSE: zlib/libpng
|
||||||
*
|
*
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* rcamera - Basic camera system with support for multiple camera modes
|
* rcamera - Basic camera system with support for multiple camera modes
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
|
||||||
* #define CAMERA_IMPLEMENTATION
|
* #define CAMERA_IMPLEMENTATION
|
||||||
* Generates the implementation of the library into the included file.
|
* Generates the implementation of the library into the included file.
|
||||||
* If not defined, the library is in header only mode and can be included in other headers
|
* If not defined, the library is in header only mode and can be included in other headers
|
||||||
|
|
14
src/rcore.c
14
src/rcore.c
|
@ -13,10 +13,9 @@
|
||||||
* - PLATFORM_WEB: HTML5 with WebAssembly
|
* - PLATFORM_WEB: HTML5 with WebAssembly
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
|
||||||
* #define PLATFORM_DESKTOP
|
* #define PLATFORM_DESKTOP
|
||||||
* Windowing and input system configured for desktop platforms: Windows, Linux, OSX, FreeBSD, OpenBSD, NetBSD, DragonFly
|
* Windowing and input system configured for desktop platforms:
|
||||||
* NOTE: Oculus Rift CV1 requires PLATFORM_DESKTOP for mirror rendering - View [rlgl] module to enable it
|
* Windows, Linux, OSX, FreeBSD, OpenBSD, NetBSD, DragonFly
|
||||||
*
|
*
|
||||||
* #define PLATFORM_ANDROID
|
* #define PLATFORM_ANDROID
|
||||||
* Windowing and input system configured for Android device, app activity managed internally in this module.
|
* Windowing and input system configured for Android device, app activity managed internally in this module.
|
||||||
|
@ -41,7 +40,8 @@
|
||||||
* NOTE: If enabled, uses external module functions to load default raylib font (module: text)
|
* NOTE: If enabled, uses external module functions to load default raylib font (module: text)
|
||||||
*
|
*
|
||||||
* #define SUPPORT_CAMERA_SYSTEM
|
* #define SUPPORT_CAMERA_SYSTEM
|
||||||
* Camera module is included (rcamera.h) and multiple predefined cameras are available: free, 1st/3rd person, orbital
|
* Camera module is included (rcamera.h) and multiple predefined cameras are available:
|
||||||
|
* free, 1st/3rd person, orbital, custom
|
||||||
*
|
*
|
||||||
* #define SUPPORT_GESTURES_SYSTEM
|
* #define SUPPORT_GESTURES_SYSTEM
|
||||||
* Gestures module is included (rgestures.h) to support gestures detection: tap, hold, swipe, drag
|
* Gestures module is included (rgestures.h) to support gestures detection: tap, hold, swipe, drag
|
||||||
|
@ -54,8 +54,8 @@
|
||||||
*
|
*
|
||||||
* #define SUPPORT_SSH_KEYBOARD_RPI (Raspberry Pi only)
|
* #define SUPPORT_SSH_KEYBOARD_RPI (Raspberry Pi only)
|
||||||
* Reconfigure standard input to receive key inputs, works with SSH connection.
|
* Reconfigure standard input to receive key inputs, works with SSH connection.
|
||||||
* WARNING: Reconfiguring standard input could lead to undesired effects, like breaking other running processes or
|
* WARNING: Reconfiguring standard input could lead to undesired effects, like breaking other
|
||||||
* blocking the device if not restored properly. Use with care.
|
* running processes orblocking the device if not restored properly. Use with care.
|
||||||
*
|
*
|
||||||
* #define SUPPORT_BUSY_WAIT_LOOP
|
* #define SUPPORT_BUSY_WAIT_LOOP
|
||||||
* Use busy wait loop for timing sync, if not defined, a high-resolution timer is setup and used
|
* Use busy wait loop for timing sync, if not defined, a high-resolution timer is setup and used
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
* Support automatic generated events, loading and recording of those events when required
|
* Support automatic generated events, loading and recording of those events when required
|
||||||
*
|
*
|
||||||
* DEPENDENCIES:
|
* DEPENDENCIES:
|
||||||
* rglfw - Manage graphic device, OpenGL context and inputs on PLATFORM_DESKTOP (Windows, Linux, OSX. FreeBSD, OpenBSD, NetBSD, DragonFly)
|
* rglfw - Manage graphic device, OpenGL context and inputs on PLATFORM_DESKTOP (Windows, Linux, OSX, FreeBSD...)
|
||||||
* raymath - 3D math functionality (Vector2, Vector3, Matrix, Quaternion)
|
* raymath - 3D math functionality (Vector2, Vector3, Matrix, Quaternion)
|
||||||
* camera - Multiple 3D camera modes (free, orbital, 1st person, 3rd person)
|
* camera - Multiple 3D camera modes (free, orbital, 1st person, 3rd person)
|
||||||
* gestures - Gestures system for touch-ready devices (or simulated from mouse inputs)
|
* gestures - Gestures system for touch-ready devices (or simulated from mouse inputs)
|
||||||
|
|
|
@ -2,10 +2,7 @@
|
||||||
*
|
*
|
||||||
* rgestures - Gestures system, gestures processing based on input events (touch/mouse)
|
* rgestures - Gestures system, gestures processing based on input events (touch/mouse)
|
||||||
*
|
*
|
||||||
* NOTE: Memory footprint of this library is aproximately 128 bytes (global variables)
|
|
||||||
*
|
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
|
||||||
* #define GESTURES_IMPLEMENTATION
|
* #define GESTURES_IMPLEMENTATION
|
||||||
* Generates the implementation of the library into the included file.
|
* Generates the implementation of the library into the included file.
|
||||||
* If not defined, the library is in header only mode and can be included in other headers
|
* If not defined, the library is in header only mode and can be included in other headers
|
||||||
|
|
|
@ -2,25 +2,25 @@
|
||||||
*
|
*
|
||||||
* rlgl v4.5 - A multi-OpenGL abstraction layer with an immediate-mode style API
|
* rlgl v4.5 - A multi-OpenGL abstraction layer with an immediate-mode style API
|
||||||
*
|
*
|
||||||
|
* DESCRIPTION:
|
||||||
* An abstraction layer for multiple OpenGL versions (1.1, 2.1, 3.3 Core, 4.3 Core, ES 2.0)
|
* An abstraction layer for multiple OpenGL versions (1.1, 2.1, 3.3 Core, 4.3 Core, ES 2.0)
|
||||||
* that provides a pseudo-OpenGL 1.1 immediate-mode style API (rlVertex, rlTranslate, rlRotate...)
|
* that provides a pseudo-OpenGL 1.1 immediate-mode style API (rlVertex, rlTranslate, rlRotate...)
|
||||||
*
|
*
|
||||||
|
* ADDITIONAL NOTES:
|
||||||
* When choosing an OpenGL backend different than OpenGL 1.1, some internal buffer are
|
* When choosing an OpenGL backend different than OpenGL 1.1, some internal buffer are
|
||||||
* initialized on rlglInit() to accumulate vertex data.
|
* initialized on rlglInit() to accumulate vertex data.
|
||||||
*
|
*
|
||||||
* When an internal state change is required all the stored vertex data is renderer in batch,
|
* When an internal state change is required all the stored vertex data is renderer in batch,
|
||||||
* additionally, rlDrawRenderBatchActive() could be called to force flushing of the batch.
|
* additionally, rlDrawRenderBatchActive() could be called to force flushing of the batch.
|
||||||
*
|
*
|
||||||
* Some additional resources are also loaded for convenience, here the complete list:
|
* Some resources are also loaded for convenience, here the complete list:
|
||||||
* - Default batch (RLGL.defaultBatch): RenderBatch system to accumulate vertex data
|
* - Default batch (RLGL.defaultBatch): RenderBatch system to accumulate vertex data
|
||||||
* - Default texture (RLGL.defaultTextureId): 1x1 white pixel R8G8B8A8
|
* - Default texture (RLGL.defaultTextureId): 1x1 white pixel R8G8B8A8
|
||||||
* - Default shader (RLGL.State.defaultShaderId, RLGL.State.defaultShaderLocs)
|
* - Default shader (RLGL.State.defaultShaderId, RLGL.State.defaultShaderLocs)
|
||||||
*
|
*
|
||||||
* Internal buffer (and additional resources) must be manually unloaded calling rlglClose().
|
* Internal buffer (and resources) must be manually unloaded calling rlglClose().
|
||||||
*
|
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
|
||||||
* #define GRAPHICS_API_OPENGL_11
|
* #define GRAPHICS_API_OPENGL_11
|
||||||
* #define GRAPHICS_API_OPENGL_21
|
* #define GRAPHICS_API_OPENGL_21
|
||||||
* #define GRAPHICS_API_OPENGL_33
|
* #define GRAPHICS_API_OPENGL_33
|
||||||
|
@ -77,7 +77,6 @@
|
||||||
* #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 "texture2" // texture2 (texture slot active 2)
|
* #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 "texture2" // texture2 (texture slot active 2)
|
||||||
*
|
*
|
||||||
* DEPENDENCIES:
|
* DEPENDENCIES:
|
||||||
*
|
|
||||||
* - OpenGL libraries (depending on platform and OpenGL version selected)
|
* - OpenGL libraries (depending on platform and OpenGL version selected)
|
||||||
* - GLAD OpenGL extensions loading library (only for OpenGL 3.3 Core, 4.3 Core)
|
* - GLAD OpenGL extensions loading library (only for OpenGL 3.3 Core, 4.3 Core)
|
||||||
*
|
*
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* rmodels - Basic functions to draw 3d shapes and load and draw 3d models
|
* rmodels - Basic functions to draw 3d shapes and load and draw 3d models
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
|
||||||
* #define SUPPORT_MODULE_RMODELS
|
* #define SUPPORT_MODULE_RMODELS
|
||||||
* rmodels module is included in the build
|
* rmodels module is included in the build
|
||||||
*
|
*
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
*
|
*
|
||||||
* rshapes - Basic functions to draw 2d shapes and check collisions
|
* rshapes - Basic functions to draw 2d shapes and check collisions
|
||||||
*
|
*
|
||||||
* NOTES:
|
* ADDITIONAL NOTES:
|
||||||
* Shapes can be draw using 3 types of primitives: LINES, TRIANGLES and QUADS.
|
* Shapes can be draw using 3 types of primitives: LINES, TRIANGLES and QUADS.
|
||||||
* Some functions implement two drawing options: TRIANGLES and QUADS, by default TRIANGLES
|
* Some functions implement two drawing options: TRIANGLES and QUADS, by default TRIANGLES
|
||||||
* are used but QUADS implementation can be selected with SUPPORT_QUADS_DRAW_MODE define
|
* are used but QUADS implementation can be selected with SUPPORT_QUADS_DRAW_MODE define
|
||||||
|
@ -16,7 +16,6 @@
|
||||||
* a single draw call and it also allows users to configure it the same way with their own fonts.
|
* a single draw call and it also allows users to configure it the same way with their own fonts.
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
|
||||||
* #define SUPPORT_MODULE_RSHAPES
|
* #define SUPPORT_MODULE_RSHAPES
|
||||||
* rshapes module is included in the build
|
* rshapes module is included in the build
|
||||||
*
|
*
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* rtext - Basic functions to load fonts and draw text
|
* rtext - Basic functions to load fonts and draw text
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
|
||||||
* #define SUPPORT_MODULE_RTEXT
|
* #define SUPPORT_MODULE_RTEXT
|
||||||
* rtext module is included in the build
|
* rtext module is included in the build
|
||||||
*
|
*
|
||||||
|
@ -22,7 +21,6 @@
|
||||||
* #define MAX_TEXTSPLIT_COUNT
|
* #define MAX_TEXTSPLIT_COUNT
|
||||||
* TextSplit() function static substrings pointers array (pointing to static buffer)
|
* TextSplit() function static substrings pointers array (pointing to static buffer)
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* DEPENDENCIES:
|
* DEPENDENCIES:
|
||||||
* stb_truetype - Load TTF file and rasterize characters data
|
* stb_truetype - Load TTF file and rasterize characters data
|
||||||
* stb_rect_pack - Rectangles packing algorithms, required for font atlas generation
|
* stb_rect_pack - Rectangles packing algorithms, required for font atlas generation
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* rtextures - Basic functions to load and draw textures
|
* rtextures - Basic functions to load and draw textures
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
|
||||||
* #define SUPPORT_MODULE_RTEXTURES
|
* #define SUPPORT_MODULE_RTEXTURES
|
||||||
* rtextures module is included in the build
|
* rtextures module is included in the build
|
||||||
*
|
*
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* raylib.utils - Some common utility functions
|
* raylib.utils - Some common utility functions
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
|
||||||
* #define SUPPORT_TRACELOG
|
* #define SUPPORT_TRACELOG
|
||||||
* Show TraceLog() output messages
|
* Show TraceLog() output messages
|
||||||
* NOTE: By default LOG_DEBUG traces not shown
|
* NOTE: By default LOG_DEBUG traces not shown
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue