From ed49fffbcf4f2853c9f5336b18310e8de5a36658 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 20 Mar 2021 19:41:50 +0100 Subject: [PATCH] Updated raylib enumerated types (markdown) --- raylib-enumerated-types.md | 39 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/raylib-enumerated-types.md b/raylib-enumerated-types.md index e890e22..9db5a00 100644 --- a/raylib-enumerated-types.md +++ b/raylib-enumerated-types.md @@ -8,12 +8,12 @@ Here it is the list with the provided enums and the functions intended to use th SetConfigFlags(unsigned int flags); SetWindowState(unsigned int flags); ``` -[`enum TraceLogLevel](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L498) +[`enum TraceLogLevel`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L498) ```c TraceLog(int logLevel, const char *text, ...); SetTraceLogLevel(int logLevel); ``` -[`enum KeyboardKey](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L512) +[`enum KeyboardKey`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L512) ```c IsKeyPressed(int key); IsKeyDown(int key); @@ -22,18 +22,18 @@ Here it is the list with the provided enums and the functions intended to use th SetExitKey(int key); //GetKeyPressed(void); ``` -[`enum MouseButton](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L632) +[`enum MouseButton`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L632) ```c IsMouseButtonPressed(int button); IsMouseButtonDown(int button); IsMouseButtonReleased(int button); IsMouseButtonUp(int button); ``` -[`enum MouseCursor](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L639) +[`enum MouseCursor`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L639) ```c SetMouseCursor(int cursor); ``` -[`enum GamepadButton](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L654) +[`enum GamepadButton`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L654) ```c IsGamepadButtonPressed(int gamepad, int button); IsGamepadButtonDown(int gamepad, int button); @@ -41,64 +41,65 @@ Here it is the list with the provided enums and the functions intended to use th IsGamepadButtonUp(int gamepad, int button); //GetGamepadButtonPressed(void); ``` -[`enum GamepadAxis](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L690) +[`enum GamepadAxis`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L690) ```c GetGamepadAxisMovement(int gamepad, int axis); ``` -[`enum ShaderLocationIndex](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L705) -[`enum ShaderUniformDataType](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L737) +[`enum ShaderLocationIndex`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L705) +[`enum ShaderUniformDataType`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L737) ```c SetShaderValue(Shader shader, int locIndex, const void *value, int uniformType); SetShaderValueV(Shader shader, int locIndex, const void *value, int uniformType, int count); SetShaderValueMatrix(Shader shader, int locIndex, Matrix mat); SetShaderValueTexture(Shader shader, int locIndex, Texture2D texture); ``` -[`enum MaterialMapIndex](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L750) +[`enum MaterialMapIndex`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L750) ```c struct Material.maps[index] ``` -[`enum PixelFormat](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L769) +[`enum PixelFormat`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L769) ```c struct Image.format struct Texture.format LoadImageRaw(const char *fileName, int width, int height, int format, int headerSize); ImageFormat(Image *image, int newFormat); ``` -[`enum TextureFilter](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L796) +[`enum TextureFilter`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L796) ```c SetTextureFilter(Texture2D texture, int filter); ``` -[`enum TextureWrap](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L806) +[`enum TextureWrap`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L806) ```c SetTextureWrap(Texture2D texture, int wrap); ``` -[`enum CubemapLayout](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L814) +[`enum CubemapLayout`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L814) ```c LoadTextureCubemap(Image image, int layout); ``` -[`enum FontType](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L824) +[`enum FontType`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L824) ```c LoadFontData(const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount, int type); ``` -[`enum BlendMode](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L831) +[`enum BlendMode`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L831) ```c BeginBlendMode(int mode); ``` -[`enum Gestures](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L842) +[`enum Gestures`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L842) ```c SetGesturesEnabled(unsigned int flags); IsGestureDetected(int gesture); //GetGestureDetected(void); ``` -[`enum CameraMode](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L857) +[`enum CameraMode`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L857) ```c SetCameraMode(Camera camera, int mode); ``` -[`enum CameraProjection](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L866) +[`enum CameraProjection`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L866) ```c struct Camera3D.projection ``` -[`enum NPatchLayout](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L872) +[`enum NPatchLayout`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L872) +```c struct nPatchInfo.layout ```