f185f2c31a
Fix SEGV crash: Initialize window and font in stateInit()
...
- Move window initialization and font loading to stateInit()
- Window now opens before splash screens (required for rendering)
- Custom font loaded in stateInit for splash screen use
- Remove RL.config() call from luaCallMain() (window already initialized)
- Remove stateContextInit() call (initialization now done in stateInit)
- Add hasWindow, customFontLoaded, resolution fields to State
- Fix memory management for custom font in stateFree()
This matches the ReiLua-JamVersion architecture where the window
is opened early so splash screens can render properly.
2025-11-03 18:04:54 +05:30
737214b71b
Add embedded assets, splash screens, and asset loading support
...
Features added:
- Embedded main.lua and Lua files support (EMBED_MAIN option)
- Embedded assets support (EMBED_ASSETS option)
- Splash screens with dual logo display (always embedded)
- Asset loading progress tracking API (BeginAssetLoading, UpdateAssetLoading, EndAssetLoading)
- Custom font embedding for splash/loading screens
- --log flag for Windows console control
- --no-logo flag to skip splash screens in development
- Python scripts for embedding (embed_lua.py, embed_assets.py, embed_logo.py, embed_font.py)
- Documentation (EMBEDDING.md, ASSET_LOADING.md, SPLASH_SCREENS.md)
This allows building single-executable releases with all Lua code and assets embedded.
2025-11-03 17:48:56 +05:30
jussi
929076b576
SetMusicPan was setting pitch fix.
2025-10-17 15:41:35 +03:00
jussi
77ba40f97e
Fixed fast_tilemap and texture_atlas_repeat examples.
2025-09-18 15:30:12 +03:00
jussi
3f27d9037d
Bit fastes uluaGet* functions for vectors, color, rectangle and quaternion.
2025-09-09 23:13:55 +03:00
jussi
3bedd89e1d
AudioStream management functions.
2025-09-08 22:36:40 +03:00
jussi
de672a85d2
DrawMeshInstanced takes transforms as Buffer.
2025-08-30 16:41:05 +03:00
jussi
15deeccc4b
MeasureTextBoxed and DrawTextBoxedEx to DrawTextBoxed.
2025-06-11 22:44:39 +03:00
jussi
a38e76873b
uluaGet* pops lua stack correctly when userdata given in table.
2025-06-11 17:00:25 +03:00
jussi
5b8af05e96
Frustum math from raylib extras.
2025-06-02 20:49:51 +03:00
jussi
e26bb8603c
RL.load and RL.unload functions for memory leak debugging. SoundAlias garbage collection.
2025-05-24 23:56:42 +03:00
jussi
913b8f8820
DrawTextBoxed Color change escape sequence.
2025-05-14 11:20:00 +03:00
jussi
067e4091ba
DrawTextBoxed fix.
2025-05-03 18:27:39 +03:00
jussi
6a4f8ab4a3
SetImageData.
2025-05-02 16:09:33 +03:00
jussi
3471e4514f
RectPack.
2025-04-09 00:34:19 +03:00
jussi
d0bfd1f71d
Fast tilemap example.
2025-03-17 21:51:49 +02:00
jussi
7d59796907
SDL3 Events.
2025-03-14 22:06:34 +02:00
jussi
63f3c1781c
Basic sdl3 support.
2025-03-12 23:26:01 +02:00
jussi
bfa73944f7
Added rlDisableShader for SetShaderValue* functions.
2025-03-12 00:06:04 +02:00
jussi
d0ae531dbd
uluaPushTransform translation field name fix.
2025-03-10 22:07:20 +02:00
jussi
721ef97f16
Blend modes example.
2025-02-06 23:04:20 +02:00
jussi
38d41e2457
UpdateTexture and UpdateTextureRec now take pixel data as Buffer.
2025-01-31 15:26:20 +02:00
jussi
9a1161541d
SetBufferData takes table of values.
2025-01-17 17:06:55 +02:00
jussi
3cccee885e
Bitwise functions now use 64 bit integers.
2025-01-17 13:11:03 +02:00
jussi
6ddaea56a5
BUFFER_UNSIGNED_LONG and BUFFER_LONG.
2025-01-16 19:58:28 +02:00
jussi
5ff5a37137
SwapBufferEndianness.
2024-12-15 18:38:07 +02:00
jussi
b4b81f68c4
Gui Icons enumeration.
2024-12-11 00:21:28 +02:00
jussi
cdb719b239
EXPOSE_API_SYMBOLS, SetShaderValueWithBuffer and SetShaderValueVWithBuffer.
2024-12-10 21:50:10 +02:00
jussi
cb2b0e4dff
WindowShouldClose and custom main loop example.
2024-11-22 14:57:31 +02:00
jussi
c9ebe23d62
RL.config and InitWindow.
2024-11-21 23:25:28 +02:00
jussi
3d5eeac3d7
New raylib 5.5 raymath functions.
2024-11-21 14:54:10 +02:00
jussi
6317547502
New raylib 5.5 rlgl functions.
2024-11-21 13:28:14 +02:00
jussi
4c0eb17a9c
New raylib 5.5 functions.
2024-11-21 00:11:31 +02:00
jussi
479726a5e4
Initial switch to raylib 5.5.
2024-11-20 18:23:42 +02:00
jussi
cddfc09ccc
glDepthRange and glPolygonOffset.
2024-10-25 21:19:42 +03:00
jussi
30c7a5eda2
GuiSetSliderDragging, GuiGetSliderDragging, GuiSetSliderActive and GuiGetSliderActive.
2024-10-02 13:02:13 +03:00
jussi
d3202073a7
FontCopy.
2024-09-26 23:02:13 +03:00
jussi
45e11be96a
UnloadMaterial can also optionally free textures and shader.
2024-09-25 20:54:32 +03:00
jussi
cd6471d339
rlSetVertexAttribute takes pointer as Buffer.
2024-09-10 12:53:20 +03:00
jussi
415f3b6c01
GetBufferAsString fix.
2024-08-29 18:32:07 +03:00
jussi
d40bf3a393
GetBufferAsString.
2024-08-29 13:01:21 +03:00
jussi
366f8f5c92
CopyBufferData uses size instead of length.
2024-08-29 12:13:30 +03:00
jussi
35e73465ac
LoadBufferFormatted, SetBufferData and CopyBufferData. Compressed resource file example.
2024-08-27 21:41:31 +03:00
jussi
3cb6567bda
GetRayBoxCells exit normal fix.
2024-08-06 14:03:09 +03:00
jussi
b011b2ca4e
GetRayBoxCells fix.
2024-08-05 23:35:57 +03:00
jussi
c6eb85b367
GetRayBoxCells also returns exit point.
2024-07-20 15:29:50 +03:00
jussi
03e9226b5f
GetRayBoxCells.
2024-07-19 22:57:31 +03:00
jussi
c7b7975482
DrawGridEx.
2024-07-17 00:06:43 +03:00
jussi
9dceeb8c05
Reigui property_list and tree_view use scrissor mode.
2024-07-16 21:52:30 +03:00
jussi
6552bd691a
Many Gui controls accept now nil for text.
2024-07-11 15:28:25 +03:00