Commit Graph

411 Commits

Author SHA1 Message Date
703411a91e Backported commits from pandemonium:
- Now unicode error printing is disabled by default. Also can be enabled
via a macro. 2e41d4dfcda7ff2c35a1326f0de71b0714524f11
- Added to_real helper methods to String.
43b14a071c6ccf7c3062e0568e3d7bb05d8a83d2
- Fix AABB.encloses failing on shared upper bound.
8341ddc450bd160b5cb44eeb0400da2e5a151ed0
- Fix incorrect clipping in String::substr_index().
dcd00dec81a2841ad5244e043379697c68d681f7
- Backported create_reference() helper methods for InputEvents from
godot 4. 4cdb1636264d8a6cef0881a37a7fad72ac262f3f
- Backported comparison operators to Array from godot4.
7779439e284bf8a0534f606d5c7f929674764941
- Removed Vector2i(Vector2) constructor, added a Vector2i conversion
operator to Vector2 instead. This solves ambigous Variant to Vector2i
conversion errors. 27b73fa9f9984709b0c8eb77bfeea5cab8d9fee3
- Added exp2 to the Math singleton.
e17cc864bc339c1f4d1ce6acd4cabf4a6593c6cc
- Add a get_or_add method to Dictionary.
487b454506259c080306098093875ea7bda5b5ad
- Add is_zero_approx methods to Vector{2,3}
441bb29fd3bd758ff783e4122e6b2d512dc8529f
- Also add is_zero_approx() to Vector4.
ed224298e5ae951093b42a004afacbd275e54494
- Transform now uses Basis::create_looking_at.
6f53257e05d72088c28028eb568526f4da146ae0
- Backported from godot4: Add the ability to look-at in model-space.
951ae7b11db0376dd0dbdf080e2f2e3652ac33ed
- Fix split_floats behavior when spaces are used as separators
4585110a298487081f026827e3395c4feaf35f9a
- Better solution for the previous fix.
d75d3591edf13ae0dd6aa989962595aa1280ae73
- Fix the fix. 48935e93b3f5849a52b0e7fc0b6ede36a7b61123
2025-03-01 12:52:00 +01:00
a7590426eb Added Renderer::camera_3d_camera_transform_matrix_stack_clear() and Renderer::get_camera_3d_model_view_matrix_stack_clear() helper methods. 2025-02-23 10:42:58 +01:00
c382024f95 Added Renderer::camera_3d_reset(). 2025-02-23 10:39:47 +01:00
a7a73b1081 Simplifications and a small rework to the immediate renderer's 2d camera api.
- Now camera_2d_projection_set_to_* helper methods won't mess with the
model view matrices.
- Added camera_2d_reset().
- Added helper methods to clear each matrix separately.
- This also fixes a bug where the internal matrices were kept after a
reset.
2025-02-23 10:36:14 +01:00
6bb0a96196 Renamed audio.cpp so the makefile works for compiledb generation. 2025-02-23 10:31:48 +01:00
9bc61d6192 Added the gui module to the readme. 2025-02-19 17:08:43 +01:00
2264f7a768 Also added ColoredTextureMaterial2D to the docs. 2025-02-19 17:06:29 +01:00
6870ecfbec Format audio.cpp. 2025-02-19 17:03:54 +01:00
679ef20c53 Removed the midi api. 2025-02-19 17:00:56 +01:00
f2f89ddd9a Added stb vorbis. 2025-02-19 17:00:50 +01:00
bcd07c0511 Removed ui_audio(). 2025-02-19 16:55:43 +01:00
bb030eb32e Renamed audio.c to audio.cpp 2025-02-19 16:55:16 +01:00
764756d962 Remove API declarations. 2025-02-19 16:54:52 +01:00
aa89017aea Renamed some files. 2025-02-19 16:54:11 +01:00
ba50d38138 Added the audio framework from FWK. 2025-02-19 16:53:25 +01:00
3451cd57c4 Added a new ColoredTextureMaterial2D class. Also made the immediate mode renderer use it. This fixes color modulation. 2025-02-19 16:50:15 +01:00
3ecea44801 Actually fix shaders for amd gpus. 2025-02-19 16:31:16 +01:00
ade786cd55 Also strip _ALWAYS_INLINE_ from the docs. 2025-01-31 12:59:06 +01:00
a26181551f Fix stripping #if-s from the docs. 2025-01-31 12:57:41 +01:00
728e9e7301 (Hopefully) Shader fix for amg gpus. 2025-01-31 11:09:59 +01:00
3c2fd7e43a Cleanups. 2025-01-31 11:08:44 +01:00
6e147aa1e6 Bump version. 2024-09-14 22:05:31 +02:00
f8f2e6668e Removed imgui demos. 2024-09-14 22:05:22 +02:00
90bea9ffa1 Fix typo. 2024-09-14 21:39:44 +02:00
5bb3d5bccf Fix amalgamated build on osx. 2024-09-14 21:38:18 +02:00
c94d218250 Small tweak to the make release script. 2024-09-14 20:47:53 +02:00
f97894c4cd Render gui docs. 2024-09-14 20:42:32 +02:00
b825838a66 GUI docs for the full template. 2024-09-14 20:39:08 +02:00
ec57a87255 Tweaks to the merger and make release scripts. 2024-09-14 20:12:13 +02:00
ab61a7b2df Disable BindSamplers. 2024-09-14 19:47:55 +02:00
23de62a08d Backport using the ui in the render test app demo. 2024-09-14 19:20:59 +02:00
268e9417ff Update the gui amalgamation. 2024-09-14 19:16:55 +02:00
f52066f568 Fix compiling the amalgamation. 2024-09-14 19:14:40 +02:00
f56ce2d39b Don't use imgui's opengl loader in the amalgamation. 2024-09-14 18:23:30 +02:00
74e437a3df Fix define. 2024-09-14 18:19:28 +02:00
709658f71d SMall tweaks, and added the render gui section to sfw_full. Note that the amalgamation doesn't ywt compile. 2024-09-14 18:17:23 +02:00
f00af0868a Update a test compile linux demo script. 2024-09-14 18:16:00 +02:00
51a1dd4989 Set up merged gui version. 2024-09-14 17:59:49 +02:00
1249239843 Include cleanups. 2024-09-14 17:07:13 +02:00
48c763499a Move imgui's stb truetype to render_core, and make it the only available implementation. 2024-09-14 17:07:00 +02:00
ba38f48840 Simplify glfw import on mac. 2024-09-14 16:42:27 +02:00
7dc440b01d Fixes to compile_vs.bat. 2024-09-14 15:01:24 +02:00
2afdc35935 Fixes for windows. 2024-09-14 14:55:17 +02:00
febe2396f1 Don't include system GLFW headers. 2024-09-14 13:54:29 +02:00
32820bd428 GUI fix for osx. 2024-09-14 13:54:17 +02:00
97aa025aaf Update the other compile scripts. 2024-09-14 13:16:32 +02:00
d74c93548e Gitignore imgui.ini 2024-09-14 12:25:00 +02:00
1bb589c3cf Added an anther demo to show how to use tu ui in user code. 2024-09-14 12:24:40 +02:00
7c408a08bf Also added imgui demo code. 2024-09-14 12:21:04 +02:00
c30ef4ce1e Clang format gui.h and cpp. 2024-09-14 12:10:34 +02:00