-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathchangelog
394 lines (383 loc) · 18.3 KB
/
changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
------------------------------------------------------------------------
Release: ReiLua version 0.9.0 Using raylib 5.5 and Forked Raygui 4.0
------------------------------------------------------------------------
KEY CHANGES:
- CHANGE: Switch to raylib 5.5.
- CHANGE: InitWindow is not called anymore before main.lua is called, but still is before RL.init.
DETAILED CHANGES:
- CHANGE: Is*Ready to Is*Valid functions.
- CHANGE: GetScreenToWorldRay and GetScreenToWorldRayEx.
- ADDED: GetClipboardImage.
- ADDED: MakeDirectory and IsFileNameValid.
- ADDED: ComputeCRC32, ComputeMD5 and ComputeSHA1.
- ADDED: SetGamepadVibration.
- ADDED: GetShapesTexture and GetShapesTextureRectangle.
- ADDED: CheckCollisionCircleLine.
- ADDED: LoadImageAnimFromMemory, ImageFromChannel and ImageKernelConvolution.
- ADDED: ImageDrawLineEx and ImageDrawTriangle* functions.
- ADDED: ColorIsEqual and ColorLerp.
- ADDED: TextToSnake and TextToCamel.
- ADDED: DrawModelPoints, DrawModelPointsEx, ExportMeshAsCode and UpdateModelAnimationBones.
- ADDED: rlSetClipPlanes, rlGetCullDistanceNear, rlGetCullDistanceFar, rlGetActiveFramebuffer,
rlBindFramebuffer, rlColorMask and rlSetUniformMatrices.
- ADDED: Vector2Min, Vector2Max, Vector2Refract, Vector3MoveTowards, Vector3CubicHermite,
QuaternionCubicHermiteSpline, MatrixDecompose and Vector4* functions.
- ADDED: RL.config function.
- ADDED: InitWindow. Can be called from RL.config. If not, will be called automatically before RL.init.
(Curiously InitWindow is function #1057. Before that it was only called automatically.)
- ADDED: WindowShouldClose and custom main loop example.
- ADDED: EXPOSE_API_SYMBOLS.
- ADDED: SetShaderValueWithBuffer and SetShaderValueVWithBuffer.
- ADDED: Gui Icons enumeration.
- ADDED: SwapBufferEndianness.
- ADDED: Reference lib.
- ADDED: BUFFER_UNSIGNED_LONG and BUFFER_LONG.
- FIXED: Bitwise functions now use 64 bit integers.
- CHANGE: SetBufferData takes table of values.
------------------------------------------------------------------------
Release: ReiLua version 0.8.0 Using Raylib 5.0 and Forked Raygui 4.0
------------------------------------------------------------------------
KEY CHANGES:
- CHANGE: Process renamed to update to be more inline with naming of raylib and common convention.
- ADDED: apiScanner.lua for searching unimplemented functions from raylib.
- ADDED Automation events.
- CHANGE: Raygui lib callbacks to single table.
- ADDED OpenGL Stencil management functions.
- CHANGE: Object libraries like Vector2 optimizations. Separated table argument style for new and set methods.
Option for pre generated temp objects. There was a lot of overhead on old new method.
- CHANGE: Use GetApplicationDirectory instead of GetWorkingDirectory for basePath if no path argument given.
- ADDED Userdata objects can be passed in table. Useful on wrapper libraries. Name should be in camelCase.
DETAILED CHANGES:
- ADDED: GetBufferElementSize and GetBufferLength.
- FIXED: Compress_data example.
- FIXED: GuiGetFont return lightuserdata.
- FIXED: GuiSetStyle, GuiLoadStyle and GuiLoadStyleDefault sets state->guiDefaultFont to GuiGetFont.
- ADDED: TextFindIndex.
- FIXED: SeekMusicStream was not assigned.
- ADDED: rlEnableStatePointer and rlDisableStatePointer for GRAPHICS_API_OPENGL_11.
- ADDED: rlBlitFramebuffer and rlEnablePointMode.
- ADDED: Vector3Project and Vector3Reject.
- ADDED: IsKeyPressedRepeat, IsGamepadButtonUp, GetGamepadButtonPressed and GetMouseWheelMoveV.
- ADDED: ImageDrawText.
- ADDED: DrawTextureEx.
- ADDED: DrawTriangleStrip3D.
- ADDED: GenMeshHemiSphere.
- FIXED: GenMeshCubicmap was not assigned.
- ADDED: UpdateSound and LoadWaveSamples.
- ADDED: TextSubtext, TextReplace and TextToPascal.
- ADDED: Custom frame control functions.
- REMOVED: GetPixelColor. Deviates too much from raylib function.
- ADDED: EnableEventWaiting and DisableEventWaiting.
- CHANGE: GetBufferData takes also position and length arguments.
- ADDED & CHANGE: ImageText. ImageTextEx is now equivalent to raylib function and old ImageText.
- ADDED & CHANGE: MeasureText. MeasureTextEx is now equivalent to raylib function and old MeasureText.
- ADDED: LoadImageFromData.
- ADDED: Raygui lib tooltip.
- ADDED: Round.
- ADDED: PubSub lib.
- ADDED: Raygui lib tree view.
- ADDED: Raygui lib examples file browser.
- CHANGE: Position argument added for GetCodepoint, GetCodepointNext and GetCodepointPrevious.
- ADDED: glEnable, glDisable, glGetString and glClear.
- ADDED: Stencil reflection example.
- ADDED: Math Sign.
- FIXED: Camera3D lib Fix up down movement invertion when looking up.
- ADDED: Bitwise operations for cross Lua compatibility.
- ADDED: GetMeshData.
- FIXED: GenMeshCustom indices wasn't changing triangleCount.
- ADDED: GetPlatform.
- ADDED: Object lib serialization.
- ADDED: Unload functions clear object to 0 so they would not be ready in Is*Ready.
- CHANGE: DrawTextBoxed uses lineSpacing.
- ADDED: GetTextLineSpacing.
- REMOVED: DrawTextBoxedTinted. DrawTextBoxedEx can do same much more efficiently.
- ADDED: DrawTextBoxedEx.
- CHANGE: Naming of gui functions set2Top and set2Back to setToTop and setToBack.
- FIXED: GuiGetIcons was returning just first int. Now returns a Buffer.
- ADDED: GuiSetIcons.
- ADDED: GetMouseOffset and GetMouseScale.
- CHANGE: Raymath *Equals functions return bool instead of int.
- FIXED: ColorToInt cast to unsigned int.
- CHANGE: Many Gui controls accept now nil for text.
- CHANGE: Some raygui controls return 1 instead of 0 when pressed or scrolled.
- ADDED: DrawGridEx.
- ADDED: GetRayBoxCells.
- FIXED: GenImageColor color was also argument 1.
- CHANGE: GetPixelDataSize takes Vector2 instead of width and height.
- ADDED: LoadBufferFormatted, SetBufferData and CopyBufferData. Compressed resource file example.
- ADDED: GetBufferAsString.
- FIXED: rlSetVertexAttribute takes pointer as Buffer.
- CHANGE: UnloadMaterial can also optionally free textures and shader.
- ADDED: FontCopy.
- ADDED: GuiSetSliderDragging, GuiGetSliderDragging, GuiSetSliderActive and GuiGetSliderActive.
- ADDED: glDepthRange and glPolygonOffset.
------------------------------------------------------------------------
Release: ReiLua version 0.7.0 Using Raylib 5.0 and Forked Raygui 4.0
------------------------------------------------------------------------
KEY CHANGES:
- CHANGE: Switch to Raylib 5.0 and Raygui 4.0.
- CHANGE: Audio device no longer initialize automatically in case some other device is used.
- ADDED: More audio device management functions.
- ADDED: Random values generation functions.
- ADDED: More Window-related functions.
- ADDED: Spline functions.
- CHANGE: Raygui to version 4.0. Gui libs also updated.
- ADDED: Support for platforms.
- ADDED: Platform desktop SDL.
- CHANGE: Renamed event enums. Events are now platform specific.
- ADDED: SDL Events.
- ADDED: Experimental GLFW Pen Touch events. Needs glfw PR https://github.com/glfw/glfw/pull/1445.
- ADDED: Platform specific API documentation generation.
- ADDED: Platform web.
- ADDED: Raygui textures with SetShapesTexture.
- CHANGE: Raygui wrapper library is now object based. Possible to have multiple separated gui systems.
- ADDED: Raygui wrapper library disabled and styles for each element.
- ADDED: Files management functions.
- ADDED: More Model management functions.
- ADDED: More Model animations management functions.
- ADDED: 2D lightmap example.
- ADDED: RLGL Hello triangle example.
- ADDED: Rest of rlRenderBatch functions.
- ADDED: DrawTextureNPatchRepeat.
- ADDED: GuiScrollBar and made it puplic in raygui.h.
- ADDED: Rest of font loading/unloading functions.
- CHANGE: GlyphInfo type to userdata.
- ADDED: GlyphInfo management functions.
- CHANGE: GuiTabBar works differently to raygui implementation.
- CHANGE: Raygui lib refactoring.
- ADDED: Raygui lib extensions property list.
- ADDED: Text codepoints management functions.
- ADDED: Rune, UTF8 lib.
- CHANGE: Raygui styles include properties, texture and font.
- ADDED: Build option for Lua events that is off by default.
DETAILED CHANGES:
- REMOVED: DrawLineBezierQuad, DrawLineBezierCubic.
- REMOVED: GenImageGradientV, GenImageGradientH.
- ADDED: GenImageGradientLinear and GenImageGradientSquare.
- ADDED: LoadImageSvg and ExportImageToMemory.
- ADDED: ImageRotate.
- ADDED: SetTextLineSpacing.
- ADDED: LoadSoundAlias and UnloadSoundAlias.
- ADDED: GetApplicationDirectory.
- FIXED: Snake example after Vector2Angle change.
- FIXED: Raygui edit mode selection.
- CHANGE: Moved glfw headers to GLFW folder.
- CHANGE: Term globals changed to defines in documentation.
- CHANGE: Event documentation is now described in c files.
- ADDED: ExportBufferAsCode.
- ADDED: GetTextureDefault.
- CHANGE: Renamed Files management functions to Files system functions as in raylib.
- CHANGE: Renamed ExportBufferAsCode to ExportDataAsCode.
- ADDED: BoneInfo.
- ADDED: Transform.
- ADDED: GetShaderId.
- FIXED: rlSetVertexAttribute pointer offset.
- ADDED: GetImageData.
- FIXED: CameraLib. Slow lateral movement.
- ADDED: GetGlyphInfoByIndex and GetGlyphAtlasRecByIndex.
- ADDED: Raygui lib extensions example.
- CHANGE: Raygui.h returns textBounds for some controls.
- CHANGE: Raygui lib changed term element to control to correspond raylib naming.
- ADDED: LoadBufferFromString, LoadWaveFromMemory and LoadMusicStreamFromMemory.
- CHANGE: GetGlyphInfo and GetGlyphInfoByIndex return glyphInfo as lightuserdata.
- ADDED: TextInsert and TextSplit.
- ADDED: __concat for variable wrapper libraries.
------------------------------------------------------------------------
Release: ReiLua version 0.6.0 Using Raylib 4.5
------------------------------------------------------------------------
KEY CHANGES:
- CHANGED: Switch from ID based objects to userdata.
- CHANGED: Object unloading is handled by Lua garbage collection by default.
- CHANGED: Rely mostly on luaL_check* functions for arg checking.
- CHANGED: ModelAnimations are changed to separate ModelAnimation types as in Raylib.
- ADDED: Userdata objects can be referenced with lightuserdata.
- ADDED: GC_UNLOAD build time define for enabling/disabling Lua garbage collection for objects.
Can be checked with IsGCUnloadEnabled
- ADDED: Shaders management functions.
- ADDED: Compute shader management and Buffer management.
- ADDED: More RLGL Initialization functions.
- ADDED: GlyphInfo type.
- ADDED: DrawTextEx.
- CHANGED: DrawText is now DrawTextEx like in Raylib.
- ADDED: Global variable descriptions for API.
- CHANGED: Organized functions by putting them in the same order as in Raylib.
- ADDED: Matrix library.
- REMOVED: GC_UNLOAD build time define and replaced with flag to change it at runtime.
- ADDED: Quaternion library.
- ADDED: Shader buffer storage object management (ssbo).
- ADDED: Rest of rlgl texture management functions.
DETAILED CHANGES:
- CHANGED: GenImageColor now takes Vector2 as size.
- REMOVED: GetTextureType and texture type enums.
- ADDED: GetRenderTextureTexture and GetRenderTextureDepthTexture.
- REMOVED: UnloadCamera2D and UnloadCamera3D.
- ADDED: LoadFontEx takes also fontChars.
- ADDED: LoadTextureFromData.
- ADDED: LoadRenderTextureFromData.
- ADDED: IsRenderTextureReady, IsMaterialReady, IsFontReady, IsModelReady, IsShaderReady,
IsImageReady, IsWaveReady, IsSoundReady and IsMusicReady.
- ADDED: UnloadBuffer.
- ADDED: GetMaterialDefault returns lightuserdata reference to default material.
- REMOVED: Some examples.
- ADDED: DrawTextCodepoint and DrawTextCodepoints.
- ADDED: GetGlyphIndex, GetGlyphInfo and GetGlyphAtlasRec.
- ADDED: SetWindowIcons, SetWindowOpacity and GetWindowHandle.
- CHANGED: Merged uluaGet*Index functions to uluaGet* functions.
- FIXED: LoadFontEx.
- ADDED: DrawTextBoxed and DrawTextBoxedSelectable From raylib [text] example - Rectangle bounds.
- ADDED: CompressData, DecompressData, EncodeDataBase64 and DecodeDataBase64.
- ADDED: GetBufferType and GetBufferSize.
- ADDED: Compress data example.
- ADDED: ExportBuffer and LoadBufferFromFile.
- REMOVED: DrawTextBoxedSelectable.
- ADDED: DrawTextBoxedTinted.
- ADDED: GenMeshCubicmap.
- CHANGED: Organized model functions.
- ADDED: GetModelBoundingBox.
- ADDED: DrawModelWires and DrawModelWiresEx.
- ADDED: LoadMaterials.
- CHANGED: Organized core functions.
- CHANGED: Organized shapes, textures, audio, text, lights and gui functions.
- ADDED: More color and rectangle lib functionality.
- CHANGED: rlLoadTexture to take Buffer data.
- ADDED: LoadImageRaw, LoadImageAnim and LoadImageFromMemory.
------------------------------------------------------------------------
Release: ReiLua version 0.5.0 Using Raylib 4.5
------------------------------------------------------------------------
KEY CHANGES:
- CHANGED: All ReiLua global variables and functions are now stored in global RL table
- CHANGED: All examples are now changed to use new RL table method
- ADDED: doc_parser creates also ReiLua_API.lua that can be used in projects with Lua Language Server
- CHANGED: Switched to Raylib vertion 4.5. Removed some functions and added others. Main changes to camera3D
- REVISED: How Lua argumets are handled. Now uluaGet*Index functions can take stack index(positive only)
Also using positive stack indexing
- ADDED: Camera3D Lua lib
- ADDED: Raygui wrapper lib
- CHANGED: Can now have multiple Music objects like other Raylib objects instead of just one
- CHANGED: Texture now can be either Texture or RenderTexture. No need to change texture source anymore
- ADDED: Material getter functions
- ADDED: Light property functions
- ADDED: rlgl Framebuffer management (fbo) functions
- ADDED: rlgl Framebuffer state functions
- ADDED: rlgl Textures management functions
- ADDED: Texture and RenderTexture can be referenced as tables
- ADDED: Camera2D and Camera3D can be referenced as tables
- ADDED: Camera2D and Camera3D can be referenced as tables
- ADDED: rlgl New defines
- ADDED: rlgl Textures state functions
- ADDED: rlgl Some Render batch management functions
- ADDED: rlgl Matrix operations functions
- ADDED: rlgl Vertex level operations
- ADDED: Draw Textured Polygon Example
- ADDED: rlgl General render state functions
- ADDED: LuaJIT compatibility.
- CHANGED Bitwise operators moved from utillib to bitlib for better luaJIT support.
- ADDED: logLevelInvalid for bad function calls and invalid data formats.
- ADDED: rlgl Vertex buffers state.
- ADDED: rlgl Shader state.
- ADDED: RL.event function with input events.
- ADDED: Window events.
- ADDED: rlgl Matrix state management.
- ADDED: Buffer userdata object.
- ADDED: rlgl Vertex buffers management.
Detailed changes:
- FIXED: uluaGetRay was looking for integers instead of tables
- REMOVED: SetCameraMode
- REMOVED: SetCameraPanControl
- REMOVED: SetCameraAltControl
- REMOVED: SetCameraSmoothZoomControl
- REMOVED: SetCameraMoveControls
- REMOVED: DrawTextureTiled
- REMOVED: DrawTexturePoly
- REMOVED: DrawCubeTexture
- REMOVED: PlaySoundMulti
- REMOVED: StopSoundMulti
- REMOVED: GetSoundsPlaying
- CHANGED: UpdateCamera3D now takes int mode parameter. Same as UpdateCamera in raylib
- ADDED: UpdateCamera3DPro. Same as UpdateCameraPro in raylib
- ADDED: BLEND_CUSTOM_SEPARATE
- ADDED: Vector2LineAngle
- ADDED: CheckCollisionPointPoly
- ADDED: ColorTint
- ADDED: ColorBrightness
- ADDED: ColorContrast
- ADDED: GenImagePerlinNoise
- ADDED: GenImageText
- CHANGED: DrawLineStrip no longer require pointsCount
- CHANGED: DrawTriangleFan no longer require pointsCount
- CHANGED: DrawTriangleStrip no longer require pointsCount
- FIXED: LoadShaderFromMemory
- ADDED: GetCamera3DForward
- ADDED: GetCamera3DUpNormalized
- ADDED: GetCamera3DRight
- ADDED: Camera3DMoveForward
- ADDED: Camera3DMoveUp
- ADDED: Camera3DMoveRight
- ADDED: Camera3DMoveToTarget
- ADDED: Camera3DYaw
- ADDED: Camera3DPitch
- ADDED: Camera3DRoll
- ADDED: GetCamera3DViewMatrix
- ADDED: GetCamera3DProjectionMatrix
- ADDED: glBlitFramebuffer
- ADDED: GuiGetFont
- FIXED: GuiScrollPanel
- ADDED: UpdateMusicStream
- ADDED: SetMusicLooping
- ADDED: GetMusicLooping
- ADDED: DrawCapsule and DrawCapsuleWires
- ADDED: Free Camera3D example
- REMOVED: SetTextureSource
- REMOVED: GetTextureSource
- REMOVED: UnloadRenderTexture
- ADDED: GetTextureType
- FIXED: Vector3RotateByAxisAngle was not registered.
- FIXED: uluaGetBoundingBoxIndex was looking for numbers instead of tables
- ADDED: IsTextureReady
- FIXED: UnloadTexture did not set texture id to NULL.
- ADDED: DrawBillboardPro
- ADDED: rlGetVersion
- ADDED: GetMaterialTexture, GetMaterialColor, GetMaterialValue and GetMaterialShader
- ADDED: SetMaterialParams and GetMaterialParams
- ADDED: GetTextureId
- ADDED: ImageDrawCircleLines
- ADDED: ImageBlurGaussian
- ADDED: Values for API.md
- ADDED: GetFontTexture
- CHANGED: Renamed doc_parser.lua to docgen.lua
- FIXED: isValidRenderTexture checks that it is TEXTURE_TYPE_RENDER_TEXTURE
- FIXED: isValidTexture on CreateMaterial
- CHANGED: Renamed start, end arguments to a, b to avoid using Lua keyword "end" in argument names
- ADDED: Arguments stored in "RL.arg" array
------------------------------------------------------------------------
Release: ReiLua version 0.4.0 Using Raylib 4.2
------------------------------------------------------------------------
KEY CHANGES:
- ADDED: This changelog
- ADDED: Lua interpreter mode
- ADDED: Easings extra module
- ADDED: exit function
- FIXED: uluaGetNPatchInfo fix for RL_DrawTextureNPatch. Guess this was never tested and did not work at all >:E
- ADDED: Flag option (-s) for doc_parser.lua for exporting module APIs to separate files
- ADDED: ReiLuaGui
- ADDED: ReiLuaGui Examples
- ADDED: Draw Mesh Instanced Example
- CHANGED: RL_DrawQuad3DTexture now takes vertex colors instead of just single color
Detailed changes:
- ADDED: Help argument
- CHANGED: RL_rlSetLineWidth renamed to RL_rlglSetLineWidth
- CHANGED: RL_rlGetLineWidth renamed to RL_rlglGetLineWidth
- FIXED: DrawRectangleGradient V and H expecting wrong arguments
- ADDED: RL_LoadDirectoryFilesEx
- FIXED: RL_DrawLineBezierQuad was called RL_DrawLineBezier in API
- ADDED: Color lib
- FIXED: RL_DrawEllipse and RL_DrawEllipseLines expecting wrong arguments
- ADDED: RL_IsPathFile
- ADDED: RL_SetMaterialShader
- ADDED: RL_GetFileLength
- ADDED: RL_LoadFontEx
- FIXED: RL_ImageAlphaClear expecting wrong arguments
- ADDED: BLEND_ALPHA_PREMULTIPLY
- CHANGED: RL_GetWindowSize renamed to RL_GetScreenSize
- ADDED: RL_GetKeyName and RL_GetKeyScancode. GLFW Functions
- ADDED: KEY_UNKNOWN