Updated raylib syntax analysis (markdown)

master
Ray преди 3 години
родител
ревизия
b9eb6cec41
променени са 1 файла, в които са добавени 12 реда и са изтрити 15 реда
  1. +12
    -15
      raylib-syntax-analysis.md

+ 12
- 15
raylib-syntax-analysis.md

@ -62,8 +62,7 @@ pattern | function format | API count | examples
01 | `TYPE Color*()` | 7 | `ColorAlpha()`, `ColorFromHSV()`, `ColorToHSV()`
02 | `Image Image*()`<br>`void Image*()` | **40** | `ImageFormat()`, `ImageCrop()`, `ImageResize()`,` ImageFlipVertical()`
03 | `TYPE Text*()` | **16** | `TextFormat()`, `TextReplace()`, `TextSplit()`, `TextToLower()`
04 | `Mesh*()` | 2 | `MeshTangents()`, `MeshBinormals()`
05 | `Wave Wave*()`<br>`void Wave*()` | 3 | `WaveFormat()`, `WaveCopy()`, `WaveCrop()`
04 | `Wave Wave*()`<br>`void Wave*()` | 3 | `WaveFormat()`, `WaveCopy()`, `WaveCrop()`
_NOTE: Maybe some of them are renamed in the future for consistency._
@ -142,7 +141,6 @@ void ImageDrawTextEx();
void DrawTextureEx();
Font LoadFontEx();
void DrawTextEx();
void DrawTextRecEx();
Vector2 MeasureTextEx();
void DrawSphereEx();
void DrawModelEx();
@ -151,6 +149,7 @@ void DrawModelWiresEx();
// Suffix: *Pro() -> Used for "Professional" versions of same name functions, more advanced than "Ex"
void DrawRectanglePro();
void DrawTexturePro();
void DrawTextPro();
void DrawBillboardPro();
// Suffix: *Rec() -> Used for functions requiring a "Rectangle" as one main input parameter
@ -161,7 +160,6 @@ Rectangle GetCollisionRec();
void ImageDrawRectangleRec();
void UpdateTextureRec();
void DrawTextureRec();
void DrawTextRec();
void DrawBillboardRec();
// Suffix: *FromMemory() -> Used for functions loading data "from memory" instead of from files
@ -231,17 +229,16 @@ count| function | param count | comments
020 | `LoadFontData()` | 6 |
021 | `GenImageFontAtlas()` | 6 |
022 | `DrawTextEx()` | 6 |
023 | `DrawTextRec()` | 7 | _WARNING: >6 parameters_
024 | `DrawTextRecEx()` | **11** | **TODO: Review!!!**
025 | `DrawCubeTexture()` | 6 |
026 | `DrawCylinder()` | 6 |
027 | `DrawCylinderWires()` | 6 |
028 | `DrawModelEx()` | 6 |
029 | `DrawModelWiresEx()` | 6 |
030 | `DrawBillboardRec()` | 6 |
031 | `DrawBillboardPro()` | 8 | _WARNING: >6 parameters_
Note that **only 7 function out of 470** require more than 6 parameters. This is what makes raylib so special.
023 | `DrawTextPro()` | 8 | _WARNING: >6 parameters_
024 | `DrawCubeTexture()` | 6 |
025 | `DrawCylinder()` | 6 |
026 | `DrawCylinderWires()` | 6 |
027 | `DrawModelEx()` | 6 |
028 | `DrawModelWiresEx()` | 6 |
029 | `DrawBillboardRec()` | 6 |
030 | `DrawBillboardPro()` | 8 | _WARNING: >6 parameters_
Note that **only 6 function out of 470** require more than 6 parameters. This is what makes raylib so special.
## Structures

Зареждане…
Отказ
Запис