bjorn
e2048f05a7
Only push events when event module is initialized;
...
Another solution might be retain/release.
2024-05-27 03:08:38 -07:00
bjorn
9b3041deba
Maybe fix macOS build;
2024-05-27 03:08:38 -07:00
bjorn
fcac1b13bf
Fix bug in dmon_deinit;
...
Stale state prevented library from working when reinitialized.
2024-05-27 03:08:38 -07:00
bjorn
7e5aea54c5
Event module is threadsafe;
2024-05-27 03:08:38 -07:00
bjorn
9301c73f14
Live reloading;
...
Use -w or --watch to watch source directory for changes and call
lovr.filechanged when a file is changed.
By default lovr.filechanged will restart lovr.
It's powered by lovr.filesystem.watch/lovr.filesystem.unwatch functions,
but these are currently hardcoded to only watch the whole source folder.
Currently there is a bug where it only restarts on the first change,
this is seemingly a problem with dmon.
2024-05-27 03:08:38 -07:00
bjorn
52488725b8
Fix unused resources being reported as non-existent;
2024-05-27 02:51:46 -07:00
bjorn
b4525a39a8
Pass:send errors properly when not given a string;
2024-05-27 02:36:10 -07:00
bjorn
dc4e6873ad
Fix glslang revision;
2024-05-27 02:33:58 -07:00
bjorn
470a78a326
Collider:getRawPose;
2024-05-26 06:13:29 -07:00
bjorn
af84992f1a
Joint:getForce/Torque returns force instead of impulse;
2024-05-26 04:18:14 -07:00
bjorn
1a5113cfb6
Promote :getAnchors methods to superclass;
2024-05-26 04:08:11 -07:00
bjorn
7178ab0cf4
Remove damping threshold and clamp damping to 0.
2024-05-25 03:33:19 -07:00
bjorn
f3cd4c5fd6
Add lovrColliderSetPose;
...
Results in less locks and broadphase updates.
2024-05-25 03:27:35 -07:00
bjorn
4e3c986468
Clamp friction and restitution to be non-negative;
2024-05-25 03:24:01 -07:00
bjorn
30d96943aa
Error when using Colliders/Shapes/Joints after destruction;
2024-05-25 02:36:21 -07:00
bjorn
c4f4fe9e99
Error when using World after destroying it;
2024-05-25 02:36:20 -07:00
bjorn
e496cb7d8f
Undeprecate World:destroy and clean up physics destructors;
2024-05-25 02:35:50 -07:00
bjorn
cc2a659eaf
Update Jolt;
2024-05-25 02:35:48 -07:00
bjorn
c796248bf5
Update Jolt;
2024-05-22 13:51:34 -07:00
bjorn
825cd2426a
BoxShape uses smarter convex radius;
2024-05-21 22:52:44 -07:00
bjorn
0031d3f1eb
s/collideShape/overlapShape;
2024-05-20 19:16:12 -07:00
bjorn
679c5beff8
Switch between glfw/win32 based on LOVR_USE_GLFW flag;
2024-05-19 15:57:10 -07:00
bjorn
13084ab15d
Fix issue from rebase;
2024-05-19 15:46:48 -07:00
bjorn
6cde16e63e
win32: high dpi;
2024-05-19 15:46:01 -07:00
bjorn
926cc372bc
win32: dark mode;
2024-05-19 15:46:01 -07:00
bjorn
b21ca0df20
win32: mousegrab;
2024-05-19 15:46:01 -07:00
bjorn
22554863b5
win32: details;
2024-05-19 15:46:01 -07:00
bjorn
66248d8169
win32: os_is_key_down;
2024-05-19 15:46:01 -07:00
bjorn
ce17e92ac6
win32: fullscreen;
2024-05-19 15:46:00 -07:00
bjorn
ecd06f8b11
win32: resizing;
2024-05-19 15:46:00 -07:00
bjorn
dba363bd10
win32: set window cursor;
2024-05-19 15:46:00 -07:00
bjorn
f51eec0809
win32: mouse capture;
2024-05-19 15:46:00 -07:00
bjorn
9fb556e6e6
win32: Filter duplicate mousemove events;
2024-05-19 15:46:00 -07:00
bjorn
00abe49390
win32: wheelmoved;
2024-05-19 15:46:00 -07:00
bjorn
d14975c0b0
win32: mousemove;
2024-05-19 15:46:00 -07:00
bjorn
cdc6c35d9d
win32: mouse button events;
2024-05-19 15:46:00 -07:00
bjorn
c30d5c78a4
win32: textinput;
2024-05-19 15:46:00 -07:00
bjorn
02864716e0
win32: keyboard input;
2024-05-19 15:46:00 -07:00
bjorn
0ee002682e
win32: also listen to SYSKEYDOWN/SYSKEYUP events;
2024-05-19 15:46:00 -07:00
bjorn
a450aae0a2
win32: use better key repeat method;
2024-05-19 15:46:00 -07:00
bjorn
5aaeef063d
win32 mouse mode;
...
Except cursor is trapped in window currently, need to track mousemove
events as well.
2024-05-19 15:46:00 -07:00
bjorn
7c714cb141
win32 vk surface creation;
2024-05-19 15:46:00 -07:00
bjorn
71f185c077
WIP;
2024-05-19 15:46:00 -07:00
bjorn
5898520e5c
Work around glslang bug;
2024-05-19 02:20:30 -07:00
bjorn
a51ba9a6c3
Stop using glslang fork;
2024-05-19 02:04:13 -07:00
bjorn
599186f633
tup: generate glslang build_info.h;
2024-05-19 02:03:23 -07:00
bjorn
200ebec527
Shader compilation concatenates inputs together;
...
Currently glslang's C API only supports a single input string. We
forked glslang and added support for multiple strings, but we'd like to
stop maintaining this fork.
2024-05-19 02:00:21 -07:00
bjorn
a92df1ca38
Try to get everything using the same MSVC runtime library;
2024-05-19 01:09:19 -07:00
bjorn
4d509c0102
Temporary fix for win32 debug builds;
...
Currently doing a debug build on windows spews libc linker errors.
Jolt clobbers the global CMake C flags, and CMake uses those C flags for
the MSVCRT library, so Jolt is using the wrong libc.
Both projects realized that they were doing something sus, so:
- Jolt added OVERRIDE_CXX_FLAGS to opt out of clobbering the cflags, but
joltc hasn't copied over this change yet.
- CMake added a higher level MSVC_RUNTIME_LIBRARY target property for
changing the MSVCRT, but it's only enabled if you opt into policy #91 .
For now we're just going to enable the policy...
2024-05-19 00:32:35 -07:00
bjorn
2162794a51
More fixes;
2024-05-18 22:04:03 -07:00