瀏覽代碼

Merge branch 'master' of https://github.com/raysan5/raylib

Ray 1 年之前
父節點
當前提交
449f7d3fa6
共有 4 個文件被更改,包括 171 次插入137 次删除
  1. 15 0
      parser/output/raylib_api.json
  2. 9 0
      parser/output/raylib_api.lua
  3. 142 136
      parser/output/raylib_api.txt
  4. 5 1
      parser/output/raylib_api.xml

+ 15 - 0
parser/output/raylib_api.json

@@ -8368,6 +8368,21 @@
         }
         }
       ]
       ]
     },
     },
+    {
+      "name": "ColorIsEqual",
+      "description": "Check if two colors are equal",
+      "returnType": "bool",
+      "params": [
+        {
+          "type": "Color",
+          "name": "col1"
+        },
+        {
+          "type": "Color",
+          "name": "col2"
+        }
+      ]
+    },
     {
     {
       "name": "Fade",
       "name": "Fade",
       "description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
       "description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f",

+ 9 - 0
parser/output/raylib_api.lua

@@ -6154,6 +6154,15 @@ return {
         {type = "Color", name = "tint"}
         {type = "Color", name = "tint"}
       }
       }
     },
     },
+    {
+      name = "ColorIsEqual",
+      description = "Check if two colors are equal",
+      returnType = "bool",
+      params = {
+        {type = "Color", name = "col1"},
+        {type = "Color", name = "col2"}
+      }
+    },
     {
     {
       name = "Fade",
       name = "Fade",
       description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
       description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f",

文件差異過大導致無法顯示
+ 142 - 136
parser/output/raylib_api.txt


+ 5 - 1
parser/output/raylib_api.xml

@@ -669,7 +669,7 @@
             <Param type="unsigned int" name="frames" desc="" />
             <Param type="unsigned int" name="frames" desc="" />
         </Callback>
         </Callback>
     </Callbacks>
     </Callbacks>
-    <Functions count="560">
+    <Functions count="561">
         <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
         <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
             <Param type="int" name="width" desc="" />
             <Param type="int" name="width" desc="" />
             <Param type="int" name="height" desc="" />
             <Param type="int" name="height" desc="" />
@@ -2111,6 +2111,10 @@
             <Param type="float" name="rotation" desc="" />
             <Param type="float" name="rotation" desc="" />
             <Param type="Color" name="tint" desc="" />
             <Param type="Color" name="tint" desc="" />
         </Function>
         </Function>
+        <Function name="ColorIsEqual" retType="bool" paramCount="2" desc="Check if two colors are equal">
+            <Param type="Color" name="col1" desc="" />
+            <Param type="Color" name="col2" desc="" />
+        </Function>
         <Function name="Fade" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f">
         <Function name="Fade" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f">
             <Param type="Color" name="color" desc="" />
             <Param type="Color" name="color" desc="" />
             <Param type="float" name="alpha" desc="" />
             <Param type="float" name="alpha" desc="" />

部分文件因文件數量過多而無法顯示