bjorn
04d6996b94
Font:getWidth also returns width of last line;
2021-09-06 16:14:47 -07:00
bjorn
8a1b38237a
Indentation;
2021-09-04 11:30:56 -07:00
bjorn
5aa0da0df5
tup: buildtoolsversion -> buildtools; native target instead of nil;
2021-08-19 12:22:14 -07:00
bjorn
1fdaa797ac
Error on enabling an effect on a Source with effects disabled;
2021-08-12 11:25:51 -07:00
bjorn
a73be7cba0
Fix lovr.headset.getName on Quest 2;
...
The manifest was not properly marking Quest 2 as a supported device,
so Oculus was pretending to be a Quest 1.
2021-08-12 11:16:18 -07:00
bjorn
8ea24c266c
vrapi: Fix recentering;
2021-08-07 09:27:58 -07:00
mcc
25ffcf9dd1
Add new XML attributes required for Oculus submission
2021-08-04 11:15:54 -07:00
bjorn
703104c4d1
Fix pico build;
2021-08-04 11:05:29 -07:00
mcc
9f96917d91
Fix horizontal rotation bug in Oculus spatializer
2021-07-26 11:24:04 -07:00
mcc
db28be591a
Fix incomplete LOVR_ENABLE PHONON/OCULUS define change
2021-07-23 09:55:16 -07:00
bjorn
f552bacb2d
tup: fix android project file inclusion;
2021-07-21 03:33:54 -07:00
bjorn
20a7a32c73
tup: c++ dependencies link to libstdc++ statically;
...
This is probably "bad" but it fixes some android stuff. And hey,
lovr doesn't link against libc++ at all anymore.
2021-07-21 03:32:56 -07:00
bjorn
cd69ffa5da
tup: engage supercharge boosters;
2021-07-21 03:32:28 -07:00
bjorn
95d23e8739
Fixup;
2021-07-20 11:31:16 -07:00
mcc
52db969622
Remove DEFAULT_SAMPLE_RATE
2021-07-20 11:28:48 -07:00
mcc
a0a242a610
Fix types/naming to standard style
2021-07-20 11:28:48 -07:00
mcc
56138492f2
Allow get sample rate in conf.lua, read back with lovr.audio.getSampleRate()
2021-07-20 11:28:48 -07:00
mcc
2a73310198
Fix distance attenuation in Oculus spatializer
2021-07-20 11:23:32 -07:00
bjorn
cca24fe581
Tweak gitignore;
...
- Machine-specific excludes do not belong in lovr's gitignore.
They should be configured using .git/info/exclude or globally.
- Preferential excludes should use .git/info/exclude (e.g.
plugins, in-tree lua files).
- This restricts gitignore to build-system-generated artifacts.
Honestly I'd like to remove these too, but need to monitor.
2021-07-19 00:02:10 -07:00
bjorn
0b51bdc5a4
bump ode;
2021-07-18 22:24:00 -07:00
bjorn
e4b86bf550
Add _DEFAULT_SOURCE to linux;
2021-07-18 22:24:00 -07:00
bjorn
c1b5f421c2
rm .editorconfig;
...
From experience with PRs, it doesn't seem like it's common for
people to use this to configure their editors. I would rather
keep the repo root clean.
2021-07-18 22:24:00 -07:00
bjorn
9cc7e9c3f9
Update submodule paths;
2021-07-18 22:24:00 -07:00
bjorn
756448c795
ODE uses no-generated-headers branch;
2021-07-18 22:24:00 -07:00
bjorn
1eaad0ab3b
Adjustments for xr path changes and idsig file;
2021-07-18 22:24:00 -07:00
bjorn
bb78d266b4
DESKTOP_HEADSET -> DESKTOP;
2021-07-18 22:24:00 -07:00
bjorn
a7250cf4ca
gc-sections; unwind-tables;
2021-07-18 22:24:00 -07:00
bjorn
ecd7769ba0
Convert Tupfile to Lua;
2021-07-18 22:24:00 -07:00
mcc
39dca2f093
Fix lovr.audio.setPose() in oculus spatializer mode
2021-07-18 20:39:46 -07:00
bjorn
fdb8a2423c
Merge branch 'master' into dev
2021-07-10 09:44:03 -07:00
bjorn
e2cad4ed81
Fix crash in Material:setTexture;
2021-07-10 09:42:49 -07:00
bjorn
7984baad65
os_linux: implement virtual memory allocator;
2021-07-09 18:39:23 -07:00
bjorn
f959770396
Add missing OpenVR pointer actions;
2021-06-29 13:09:57 -07:00
bjorn
8ef2b064fd
Fix ShaderBlock:send(Blob) error message;
2021-06-28 22:39:16 -07:00
bjorn
b70f8e2d1a
Fix and separate ShaderBlock:send(Blob) offset arguments;
...
- You were able to write a Blob to a ShaderBlock
- Using ShaderBlock:send(Blob, offset, size)
- It was not flexible enough and it was broken
- The data was read from `offset` bytes into the Blob.
- The data was written to the beginning of the Buffer.
- The Buffer was flushed at `offset` bytes into the Buffer.
- This commit changes the signature of the variant
- to ShaderBlock:send(Blob, srcOffset, dstOffset, size)
- and hopefully fixes the behavior.
- Also why is this entire commit description a bulleted list
2021-06-28 22:32:11 -07:00
bjorn
63320252a1
Fix error when rapidly recreating objects;
...
If you create and destroy objects quickly (using :release), malloc
might give you the same pointer. When we look up this pointer in
the userdata cache, it'll give you an invalid Proxy/pointer, which
throws an error like "Calling 'fn' on bad self".
When collecting objects, remove them from the userdata cache.
2021-06-26 14:41:42 -07:00
mcc
d7d28eaba0
Fix copy so that plugins can work on mac
2021-06-24 21:04:58 -06:00
bjorn
f4ac1ef422
Minor unreachable fix;
...
Would like to keep unreachable throws consistent.
2021-06-24 14:47:48 -07:00
mcc
caf9428ff1
Fix compile on macos 10.13
2021-06-24 15:47:30 -06:00
bjorn
4125796211
Fix shaders with nil stages;
...
The length was getting kept as zero, need to adjust length when
falling back to default shaders.
2021-06-21 10:22:15 -06:00
Jakob Bornecrantz
93d867a972
Fix AppImage lovr.desktop file
...
Changes by @darltrash
2021-06-18 15:53:31 -06:00
Jakob Bornecrantz
1842d9e6bb
Fix AppImage lovr.desktop file
...
Changes by @darltrash
2021-06-18 15:53:13 -06:00
bjorn
92a08c326f
vrapi: getViewPose returns a pose when position is invalid;
...
To match getViewAngles. Also simplify mask check.
2021-06-18 15:51:18 -06:00
brainrom
59d3b25932
Able to get view angles with 3DOF
2021-06-18 15:50:28 -06:00
kokokoshka
7e52ffe956
MinGW support
2021-06-18 15:45:26 -06:00
bjorn
526e06d445
Fix mat4 corruption when using vectors;
...
We correct m[15] to 1.f too late, by that time the undefined 4th
component of the vec3 could have corrupted the rotation/scale.
2021-06-16 16:55:19 -06:00
bjorn
88000579ff
Don't call start on tracking drivers;
...
Start is mainly used for setting up graphics-related stuff, since it
was created to perform setup after the window/graphics module is
initialized. Since the display driver is the only one doing rendering,
it makes sense to only call start on the display driver.
...also fixes a bug where start is getting called twice.
2021-06-16 16:15:08 -06:00
bjorn
0582746137
Fix OpenXR compilation;
2021-06-12 14:42:30 -06:00
bjorn
82b7632cea
Require material textures to be 2D;
2021-06-12 14:26:39 -06:00
bjorn
69a22afed4
Fix vrapi compilation;
2021-06-12 14:15:00 -06:00