raylib-bindings 0.8.0-aarch64-linux → 0.8.2-aarch64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a05d718093fb891472cbef16d40720624cf18bd5c9cff7470e5c71fdd1cdf0c3
4
- data.tar.gz: f22f9466ab44108b408df5efe62d95153d1ff9afd2f6af57f181af2543893338
3
+ metadata.gz: 66a923935c1ac3f16165ba96f9c1788bc3c1c6c9589322aa90ccd890bf2e3860
4
+ data.tar.gz: eef1f715db39f1ac9e0bc5f55e947657ae527613f975e1654a71a38607058882
5
5
  SHA512:
6
- metadata.gz: 1b67876df6805a0f6c558c6d210d8a6c446b402f6aef00196180f91968b6224a587fdcf32394a506777db2670a6f03b4d90e16af99935dacca78b463828d4cc2
7
- data.tar.gz: 0c080f7c2bbfb6b053eeb534de1efc9ade0c73a875d368c14b3bca2af8ca800099dcff6f0fe2875ad3a512eb627a677be6464508bcd0c184109be2086cebd354
6
+ metadata.gz: 2cb0f3847a83015f1cafe6e298af6f1a86597e1f4d433359f5e9eafc838e5cbafefacb3101db1db754899e96d755aaabe642a1a22195a48a5a16a5f8bc64e05c
7
+ data.tar.gz: ca98c6089d80def866be1e732dddf288975942517e57d9ea686e1684d916c62d7c0a79efdde43b0b2762b5658c7e5087a15131ce65153a5459fd3a463acd4016
data/ChangeLog CHANGED
@@ -1,3 +1,19 @@
1
+ 2026-07-05 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/65abee1cbade6bf7edf55da6eb1eed6980aa754b ) and raygui ( https://github.com/raysan5/raygui/commit/5cc802fd9edb9f2dc0bb02aff222791f14a1ab6f )
4
+
5
+ 2026-06-06 vaiorabbit <http://twitter.com/vaiorabbit>
6
+
7
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/ca46387b64d7c1d7505828b2c67d234d1ed0b81d ) and raygui ( https://github.com/raysan5/raygui/commit/d2d1feed5ce8bf89d7e8ff0e7868a063867b486a )
8
+
9
+ 2026-05-03 vaiorabbit <http://twitter.com/vaiorabbit>
10
+
11
+ * examples/toon_character_sprites.rb : Added
12
+
13
+ 2026-05-02 vaiorabbit <http://twitter.com/vaiorabbit>
14
+
15
+ * examples/flocking_plain.rb, examples/flocking_optimized.rb : Added
16
+
1
17
  2026-04-25 vaiorabbit <http://twitter.com/vaiorabbit>
2
18
 
3
19
  * raylib v6.0 ( https://github.com/raysan5/raylib/releases/tag/6.0 )
data/README.md CHANGED
@@ -3,15 +3,15 @@
3
3
  # Yet another raylib wrapper for Ruby #
4
4
 
5
5
  * Created : 2021-10-17
6
- * Last modified : 2026-04-25
6
+ * Last modified : 2026-07-05
7
7
 
8
8
  Provides Ruby bindings for raylib-related libraries including:
9
9
 
10
- * [raylib](https://github.com/raysan5/raylib) version [6.0]( https://github.com/raysan5/raylib/releases/tag/6.0 )
10
+ * [raylib](https://github.com/raysan5/raylib) version [6.1-dev]( https://github.com/raysan5/raylib/commit/5cc802fd9edb9f2dc0bb02aff222791f14a1ab6f )
11
11
  * raylib
12
12
  * raymath
13
13
  * rlgl
14
- * [raygui](https://github.com/raysan5/raygui) version [5.0-dev]( https://github.com/raysan5/raygui/commit/3b2855842ab578a034f827c38cf8f62c042fc983 )
14
+ * [raygui](https://github.com/raysan5/raygui) version [5.0-dev]( https://github.com/raysan5/raygui/commit/d2d1feed5ce8bf89d7e8ff0e7868a063867b486a )
15
15
  * [Physac](https://github.com/raysan5/physac) version [1.1]( https://github.com/raysan5/physac/commit/4a8e17f263fb8e1150b3fbafc96f880c7d7a4833 )
16
16
 
17
17
  <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/bitmap_font_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/game_of_life_simple_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/lissajous_curve_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/procedural_texture_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/reversi_board_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/utf8_font_rb.png" width="125">
@@ -72,7 +72,7 @@ Exit code policy:
72
72
  * Ruby interpreter
73
73
  * Tested on:
74
74
  * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
75
- * ruby 4.0.2 (2026-03-17 revision d3da9fec82) +PRISM [x64-mingw-ucrt]
75
+ * ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +PRISM [x64-mingw-ucrt]
76
76
 
77
77
  * If you need to build DLLs/shared libralies for your own runtime envrioenment (Linux, etc.):
78
78
  * CMake https://cmake.org/download/
@@ -80,7 +80,7 @@ Exit code policy:
80
80
  * Tested compilers:
81
81
  * [Windows] gcc
82
82
 
83
- gcc (Rev8, Built by MSYS2 project) 15.2.0
83
+ gcc (Rev5, Built by MSYS2 project) 16.1.0
84
84
 
85
85
  <details>
86
86
  <summary>Older versions</summary>
@@ -187,12 +187,20 @@ See the projects below to learn how to use this library:
187
187
  * <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings-flapper/main/doc/screenshot_01.png" width="150">
188
188
  * <https://github.com/vaiorabbit/raylib-bindings-flapper>
189
189
 
190
+ * Animal Tower : Ruby raylib bindings demo
191
+ * <img src="https://github.com/vaiorabbit/raylib-bindings-animal-tower/blob/bfda0f669e7f7f43938adb08a04aeaa0aeeb6958/doc/screenshot_00.png" width="600">
192
+ * <https://github.com/vaiorabbit/raylib-bindings-animal-tower>
193
+
190
194
  ### Libraries ###
191
195
 
192
196
  * raylib-bindings-tileson : Provides Ruby bindings for raylib-tileson ( https://github.com/RobLoach/raylib-tileson )
193
197
  * <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings-tileson/main/doc/screenshot_00.png" width="600">
194
198
  * <https://github.com/vaiorabbit/raylib-bindings-tileson>
195
199
 
200
+ ## Projects using raylib-bindings
201
+
202
+ See <https://github.com/vaiorabbit/raylib-bindings/tree/main/doc/gallery/gallery.md>
203
+
196
204
  ## Limitation ##
197
205
 
198
206
  * `SetTraceLogCallback` and `TraceLogCallback` are unusable since Ruby-FFI does not support `:varargs` parameter in callbacks (`Proc`, etc.)
data/lib/config.rb CHANGED
@@ -39,6 +39,7 @@ module Raylib
39
39
  SUPPORT_FILEFORMAT_JPG = 0 # Disabled by default
40
40
  SUPPORT_FILEFORMAT_GIF = 1
41
41
  SUPPORT_FILEFORMAT_QOI = 1
42
+ SUPPORT_FILEFORMAT_PEP = 0
42
43
  SUPPORT_FILEFORMAT_PSD = 0 # Disabled by default
43
44
  SUPPORT_FILEFORMAT_DDS = 1
44
45
  SUPPORT_FILEFORMAT_HDR = 0 # Disabled by default
Binary file
Binary file
data/lib/raygui_main.rb CHANGED
@@ -11,8 +11,8 @@ module Raylib
11
11
 
12
12
  # Define/Macro
13
13
 
14
- RAYGUI_VERSION_MAJOR = 4
15
- RAYGUI_VERSION_MINOR = 5
14
+ RAYGUI_VERSION_MAJOR = 5
15
+ RAYGUI_VERSION_MINOR = 0
16
16
  RAYGUI_VERSION_PATCH = 0
17
17
  RAYGUI_VERSION = "5.0-dev"
18
18
  SCROLLBAR_LEFT_SIDE = 0
@@ -58,14 +58,14 @@ module Raylib
58
58
  DROPDOWNBOX = 8
59
59
  TEXTBOX = 9 # Used also for: TEXTBOXMULTI
60
60
  VALUEBOX = 10
61
- CONTROL11 = 11
61
+ TABBAR = 11
62
62
  LISTVIEW = 12
63
63
  COLORPICKER = 13
64
64
  SCROLLBAR = 14
65
65
  STATUSBAR = 15
66
66
 
67
67
  # enum GuiControlProperty
68
- # Gui base properties for every control
68
+ # Controls BASE properties for every control (RAYGUI_MAX_PROPS_BASE = 16)
69
69
  BORDER_COLOR_NORMAL = 0 # Control border color in STATE_NORMAL
70
70
  BASE_COLOR_NORMAL = 1 # Control base color in STATE_NORMAL
71
71
  TEXT_COLOR_NORMAL = 2 # Control text color in STATE_NORMAL
@@ -80,21 +80,24 @@ module Raylib
80
80
  TEXT_COLOR_DISABLED = 11 # Control text color in STATE_DISABLED
81
81
  BORDER_WIDTH = 12 # Control border size, 0 for no border
82
82
  TEXT_PADDING = 13 # Control text padding, not considering border
83
- TEXT_ALIGNMENT = 14 # Control text horizontal alignment inside control text bound (after border and padding)
83
+ TEXT_ALIGNMENT = 14 # Control text horizontal alignment inside control text bound (after border and padding): 0-Left, 1-Center, 2-Right
84
+ BASEPROP16 = 15 # Not used yet...
84
85
 
85
86
  # enum GuiDefaultProperty
86
- # DEFAULT extended properties
87
+ # DEFAULT control, extended properties
87
88
  TEXT_SIZE = 16 # Text size (glyphs max height)
88
89
  TEXT_SPACING = 17 # Text spacing between glyphs
89
90
  LINE_COLOR = 18 # Line control color
90
91
  BACKGROUND_COLOR = 19 # Background color
91
92
  TEXT_LINE_SPACING = 20 # Text spacing between lines
92
- TEXT_ALIGNMENT_VERTICAL = 21 # Text vertical alignment inside text bounds (after border and padding)
93
+ TEXT_ALIGNMENT_VERTICAL = 21 # Text vertical alignment inside text bounds (after border and padding): 0-Top, 1-Middle, 2-Bottom
93
94
  TEXT_WRAP_MODE = 22 # Text wrap-mode inside text bounds
95
+ EXTPROP08 = 23 # Not used yet...
94
96
 
95
97
  # enum GuiToggleProperty
96
98
  # Toggle/ToggleGroup
97
- GROUP_PADDING = 16 # ToggleGroup separation between toggles
99
+ GROUP_PADDING = 16 # ToggleGroup separation between toggles
100
+ GROUP_WIDTH_FULL = 17 # ToggleGroup bounds width considers all items: 0-Width per item, 1-Full width
98
101
 
99
102
  # enum GuiSliderProperty
100
103
  # Slider/SliderBar
@@ -104,7 +107,7 @@ module Raylib
104
107
  # enum GuiProgressBarProperty
105
108
  # ProgressBar
106
109
  PROGRESS_PADDING = 16 # ProgressBar internal padding
107
- PROGRESS_SIDE = 17 # ProgressBar increment side: 0-left->right, 1-right-left
110
+ PROGRESS_SIDE = 17 # ProgressBar increment side: 0-Left->Right, 1-Right->Left
108
111
 
109
112
  # enum GuiScrollBarProperty
110
113
  # ScrollBar
@@ -129,29 +132,35 @@ module Raylib
129
132
  ARROW_PADDING = 16 # DropdownBox arrow separation from border and items
130
133
  DROPDOWN_ITEMS_SPACING = 17 # DropdownBox items separation
131
134
  DROPDOWN_ARROW_HIDDEN = 18 # DropdownBox arrow hidden
132
- DROPDOWN_ROLL_UP = 19 # DropdownBox roll up flag (default rolls down)
135
+ DROPDOWN_ROLL_UP = 19 # DropdownBox roll up flag: 0-Roll down, 1-Roll up
133
136
 
134
137
  # enum GuiTextBoxProperty
135
138
  # TextBox/TextBoxMulti/ValueBox/Spinner
136
- TEXT_READONLY = 16 # TextBox in read-only mode: 0-text editable, 1-text no-editable
139
+ TEXT_READONLY = 16 # TextBox in read-only mode: 0-Text editable, 1-Text read-only
137
140
 
138
141
  # enum GuiValueBoxProperty
139
142
  # ValueBox/Spinner
140
143
  SPINNER_BUTTON_WIDTH = 16 # Spinner left/right buttons width
141
144
  SPINNER_BUTTON_SPACING = 17 # Spinner buttons separation
142
145
 
146
+ # enum GuiTabBarProperty
147
+ # TabBar
148
+ TAB_ITEMS_WIDTH = 16 # TabBar tab items width
149
+ TAB_CLOSE_BUTTON = 17 # TabBar tab close button: 0-Not shown, 1-Shown
150
+ TAB_LINE_SIDE = 18 # TabBar tabs side: 0-Bottom, 1-Top
151
+
143
152
  # enum GuiListViewProperty
144
- # ListView
153
+ #
145
154
  LIST_ITEMS_HEIGHT = 16 # ListView items height
146
155
  LIST_ITEMS_SPACING = 17 # ListView items separation
147
156
  SCROLLBAR_WIDTH = 18 # ListView scrollbar size (usually width)
148
- SCROLLBAR_SIDE = 19 # ListView scrollbar side (0-SCROLLBAR_LEFT_SIDE, 1-SCROLLBAR_RIGHT_SIDE)
157
+ SCROLLBAR_SIDE = 19 # ListView scrollbar side: 0-Left side, 1-Right Side
149
158
  LIST_ITEMS_BORDER_NORMAL = 20 # ListView items border enabled in normal state
150
159
  LIST_ITEMS_BORDER_WIDTH = 21 # ListView items border width
151
160
 
152
161
  # enum GuiColorPickerProperty
153
162
  # ColorPicker
154
- COLOR_SELECTOR_SIZE = 16
163
+ COLOR_SELECTOR_SIZE = 16 # ColorPicker selector square size
155
164
  HUEBAR_WIDTH = 17 # ColorPicker right hue bar width
156
165
  HUEBAR_PADDING = 18 # ColorPicker right hue bar separation from panel
157
166
  HUEBAR_SELECTOR_HEIGHT = 19 # ColorPicker right hue bar selector height
@@ -409,12 +418,13 @@ module Raylib
409
418
  ICON_CONE = 247
410
419
  ICON_ELLIPSOID = 248
411
420
  ICON_CAPSULE = 249
412
- ICON_250 = 250
413
- ICON_251 = 251
414
- ICON_252 = 252
415
- ICON_253 = 253
416
- ICON_254 = 254
417
- ICON_255 = 255
421
+ ICON_FILETYPE_FONT = 250
422
+ ICON_FILETYPE_3D = 251
423
+ ICON_FILETYPE_CODE_XML = 252
424
+ ICON_FILETYPE_CODE_C = 253
425
+ ICON_FILETYPE_CODE_PYTHON = 254
426
+ ICON_FILETYPE_CODE_JS = 255
427
+ ICON_FILETYPE_ICON = 256
418
428
 
419
429
 
420
430
  # Typedef
@@ -435,6 +445,7 @@ module Raylib
435
445
  typedef :int, :GuiDropdownBoxProperty
436
446
  typedef :int, :GuiTextBoxProperty
437
447
  typedef :int, :GuiValueBoxProperty
448
+ typedef :int, :GuiTabBarProperty
438
449
  typedef :int, :GuiListViewProperty
439
450
  typedef :int, :GuiColorPickerProperty
440
451
  typedef :int, :GuiIconName
@@ -536,6 +547,13 @@ module Raylib
536
547
  # @return [void]
537
548
  [:GuiLoadStyle, :GuiLoadStyle, [:pointer], :void],
538
549
 
550
+ # @!method GuiLoadStyleFromMemory(fileData, dataSize)
551
+ # GuiLoadStyleFromMemory : Load style from memory (binary only)
552
+ # @param fileData [const unsigned char *]
553
+ # @param dataSize [int]
554
+ # @return [void]
555
+ [:GuiLoadStyleFromMemory, :GuiLoadStyleFromMemory, [:pointer, :int], :void],
556
+
539
557
  # @!method GuiLoadStyleDefault()
540
558
  # GuiLoadStyleDefault : Load style default over global style
541
559
  # @return [void]
@@ -582,6 +600,14 @@ module Raylib
582
600
  # @return [char **]
583
601
  [:GuiLoadIcons, :GuiLoadIcons, [:pointer, :bool], :pointer],
584
602
 
603
+ # @!method GuiLoadIconsFromMemory(fileData, dataSize, loadIconsName)
604
+ # GuiLoadIconsFromMemory : Load raygui icons file (.rgi) from memory into internal icons data
605
+ # @param fileData [const unsigned char *]
606
+ # @param dataSize [int]
607
+ # @param loadIconsName [bool]
608
+ # @return [char **]
609
+ [:GuiLoadIconsFromMemory, :GuiLoadIconsFromMemory, [:pointer, :int, :bool], :pointer],
610
+
585
611
  # @!method GuiDrawIcon(iconId, posX, posY, pixelSize, color)
586
612
  # GuiDrawIcon : Draw icon using pixel size at specified position
587
613
  # @param iconId [int]
@@ -626,15 +652,6 @@ module Raylib
626
652
  # @return [int]
627
653
  [:GuiPanel, :GuiPanel, [Rectangle.by_value, :pointer], :int],
628
654
 
629
- # @!method GuiTabBar(bounds, text, count, active)
630
- # GuiTabBar : Tab Bar control, returns TAB to be closed or -1
631
- # @param bounds [Rectangle]
632
- # @param text [char **]
633
- # @param count [int]
634
- # @param active [int *]
635
- # @return [int]
636
- [:GuiTabBar, :GuiTabBar, [Rectangle.by_value, :pointer, :int, :pointer], :int],
637
-
638
655
  # @!method GuiScrollPanel(bounds, text, content, scroll, view)
639
656
  # GuiScrollPanel : Scroll Panel control
640
657
  # @param bounds [Rectangle]
@@ -823,7 +840,7 @@ module Raylib
823
840
  [:GuiListView, :GuiListView, [Rectangle.by_value, :pointer, :pointer, :pointer], :int],
824
841
 
825
842
  # @!method GuiListViewEx(bounds, text, count, scrollIndex, active, focus)
826
- # GuiListViewEx : List View with extended parameters
843
+ # GuiListViewEx : List View control, using text entries list and returning focus entry
827
844
  # @param bounds [Rectangle]
828
845
  # @param text [char **]
829
846
  # @param count [int]
@@ -833,6 +850,26 @@ module Raylib
833
850
  # @return [int]
834
851
  [:GuiListViewEx, :GuiListViewEx, [Rectangle.by_value, :pointer, :int, :pointer, :pointer, :pointer], :int],
835
852
 
853
+ # @!method GuiTabBar(bounds, text, hscroll, active)
854
+ # GuiTabBar : Tab Bar control
855
+ # @param bounds [Rectangle]
856
+ # @param text [const char *]
857
+ # @param hscroll [int *]
858
+ # @param active [int *]
859
+ # @return [int]
860
+ [:GuiTabBar, :GuiTabBar, [Rectangle.by_value, :pointer, :pointer, :pointer], :int],
861
+
862
+ # @!method GuiTabBarEx(bounds, text, count, hscroll, active, focus)
863
+ # GuiTabBarEx : Tab Bar control, using text entries list and returning focus entry
864
+ # @param bounds [Rectangle]
865
+ # @param text [char **]
866
+ # @param count [int]
867
+ # @param hscroll [int *]
868
+ # @param active [int *]
869
+ # @param focus [int *]
870
+ # @return [int]
871
+ [:GuiTabBarEx, :GuiTabBarEx, [Rectangle.by_value, :pointer, :int, :pointer, :pointer, :pointer], :int],
872
+
836
873
  # @!method GuiMessageBox(bounds, title, message, buttons)
837
874
  # GuiMessageBox : Message Box control, displays a message
838
875
  # @param bounds [Rectangle]
@@ -855,7 +892,7 @@ module Raylib
855
892
  [:GuiTextInputBox, :GuiTextInputBox, [Rectangle.by_value, :pointer, :pointer, :pointer, :pointer, :int, :pointer], :int],
856
893
 
857
894
  # @!method GuiColorPicker(bounds, text, color)
858
- # GuiColorPicker : Color Picker control (multiple color controls)
895
+ # GuiColorPicker : Color Picker control, includes Color bar controls
859
896
  # @param bounds [Rectangle]
860
897
  # @param text [const char *]
861
898
  # @param color [Color *]
@@ -887,7 +924,7 @@ module Raylib
887
924
  [:GuiColorBarHue, :GuiColorBarHue, [Rectangle.by_value, :pointer, :pointer], :int],
888
925
 
889
926
  # @!method GuiColorPickerHSV(bounds, text, colorHsv)
890
- # GuiColorPickerHSV : Color Picker control that avoids conversion to RGB on each call (multiple color controls)
927
+ # GuiColorPickerHSV : Color Picker control, using Hue-Saturation-Value color data, includes Color bar controls
891
928
  # @param bounds [Rectangle]
892
929
  # @param text [const char *]
893
930
  # @param colorHsv [Vector3 *]
@@ -895,7 +932,7 @@ module Raylib
895
932
  [:GuiColorPickerHSV, :GuiColorPickerHSV, [Rectangle.by_value, :pointer, :pointer], :int],
896
933
 
897
934
  # @!method GuiColorPanelHSV(bounds, text, colorHsv)
898
- # GuiColorPanelHSV : Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()
935
+ # GuiColorPanelHSV : Color Panel control, using Hue-Saturation-Value color data
899
936
  # @param bounds [Rectangle]
900
937
  # @param text [const char *]
901
938
  # @param colorHsv [Vector3 *]
data/lib/raylib_helper.rb CHANGED
@@ -363,12 +363,12 @@ module Raylib
363
363
  def initialize
364
364
  @anims = nil
365
365
  @anim_ptrs = nil
366
- @framePoses = nil # array of Transform**
366
+ @keyframePoses = nil # array of Transform**
367
367
  end
368
368
 
369
369
  def anim(index) = @anims[index]
370
370
  def anims_count = @anims.length
371
- def frame_count(index) = @anims[index][:frameCount]
371
+ def frame_count(index) = @anims[index][:keyframeCount]
372
372
 
373
373
  # @return BoneInfo
374
374
  def bone_info(anim_index, bone_index)
@@ -377,7 +377,7 @@ module Raylib
377
377
 
378
378
  # @return Transform*
379
379
  def frame_pose(index, frame)
380
- @framePoses[index] + frame * FFI::NativeType::POINTER.size # Transform*
380
+ @keyframePoses[index] + frame * FFI::NativeType::POINTER.size # Transform*
381
381
  end
382
382
 
383
383
  # @return Transform
@@ -393,9 +393,9 @@ module Raylib
393
393
  # @return self
394
394
  def setup(fileName)
395
395
  @anims, @anim_ptrs = LoadAndAllocateModelAnimations(fileName)
396
- @framePoses = []
396
+ @keyframePoses = []
397
397
  @anims.each do |anim|
398
- @framePoses << anim[:framePoses]
398
+ @keyframePoses << anim[:keyframePoses]
399
399
  end
400
400
  self
401
401
  end
@@ -423,7 +423,7 @@ module Raylib
423
423
  # @param anim_ptrs [pointer to loaded memory]
424
424
  def UnloadAndFreeModelAnimations(anims, anim_ptrs)
425
425
  anims.each do |anim|
426
- UnloadModelAnimation(anim)
426
+ UnloadModelAnimations(anim, 1)
427
427
  end
428
428
  MemFree(anim_ptrs)
429
429
  end