bjorn
fd985c95ff
rm isMounted;
2019-05-12 22:22:29 -07:00
bjorn
da6fd4d07c
Remove Controllers;
2019-05-12 22:22:29 -07:00
bjorn
bd609fc338
rm Controller:getHand;
2019-05-12 22:21:06 -07:00
bjorn
cb0a40a4b6
lovr.headset.isDown; lovr.headset.isTouched;
2019-05-12 22:21:06 -07:00
bjorn
45757f2fa3
Fixes;
2019-05-12 22:21:06 -07:00
bjorn
b95280006a
lovr.headset.newModel;
2019-05-12 22:21:06 -07:00
bjorn
cb79973b98
lovr.headset.vibrate;
...
Signature changed to take strength, duration, and frequency. All
are optional.
2019-05-12 22:21:06 -07:00
bjorn
36e4529dca
lovr.headset.getAxis;
...
Takes a path and returns 1-3 float values representing the components
of the axis at the path. The "touchx" and "touchy" axes are now just
"touchpad".
2019-05-12 22:21:06 -07:00
bjorn
5ab8904809
Controller polyfill; rm Controller pose functions; OpenVR paths;
2019-05-12 22:21:06 -07:00
bjorn
f87b4e6a25
Read paths; Desktop driver uses paths;
2019-05-12 22:21:06 -07:00
bjorn
48cf7e1874
Start paths;
2019-05-12 22:21:06 -07:00
bjorn
8208238df7
Support multiple tracking drivers;
...
Now the lovr.headset module initializes one display driver (the
first one in the list) and multiple tracking drivers. Only drivers
that implement 'renderTo' will be considered for display driver.
Tracking drivers are stored in a linked list, and retrieving pose
information involves trying all of the tracking drivers until the
pose is found.
2019-05-12 22:21:06 -07:00
bjorn
c95c0afb4c
Set alpha sampling to false in lovr.graphics.reset;
2019-05-08 20:09:42 -07:00
bjorn
c9775c84ac
Remove t.gammacorrect flag;
...
Gamma correct rendering is core in all supported OpenGL versions,
and it's usually a good idea to enable it.
2019-05-03 17:53:33 -07:00
bjorn
594921d2ec
newThread: can load thread code from a file or Blob;
...
Also fix a lifetime issue: If the string containing thread code was
garbage collected before you started the thread, you would have been
running free'd memory as Lua code!
2019-05-02 15:09:54 -07:00
bjorn
0e0cfee6e8
Font:getWidth returns lineCount;
2019-04-27 11:13:37 -07:00
bjorn
7eff3d7d4c
rm platform include;
2019-04-23 15:26:45 -07:00
bjorn
8af82d3bc1
Handle mipMapCount = 0 in DDS textures;
2019-04-23 15:25:31 -07:00
bjorn
afc8000fc7
rm stddef from util;
2019-04-21 11:52:04 -07:00
bjorn
c021afedae
Fix more warnings;
2019-04-20 18:42:25 -07:00
bjorn
7af5b9816a
Stupid float stuff;
...
I'm sorry.
2019-04-20 17:02:48 -07:00
bjorn
2dea0eacfb
Use -fvisibility=hidden to hide symbols by default;
...
This saves some space, and it's better to be conscious about symbol exports.
2019-04-20 16:20:05 -07:00
bjorn
c0cc4fbd85
Fix CMakeLists;
2019-04-20 16:05:58 -07:00
bjorn
b95c97ff57
rm unused mat4_setTransform function;
2019-04-20 14:15:43 -07:00
bjorn
0341233876
Also support hexcodes in lovr.graphics.clear;
2019-04-20 13:38:09 -07:00
bjorn
c247682653
BRING BACK HEXCODES;
2019-04-20 13:36:36 -07:00
bjorn
f268810d2a
Minor cleanup; Fix some undefined behavior;
2019-04-20 13:11:11 -07:00
bjorn
ec7b2c0b68
Formatting;
2019-04-20 12:07:26 -07:00
bjorn
ec7afed2cb
Update one trailing reference to lib/math.h;
...
In a comment...
2019-04-20 11:41:29 -07:00
bjorn
196b4ed010
Rename math to maf;
...
It's funnier and more compatible with some compiler setups,
since it won't get confused with the system <math.h>.
2019-04-20 11:39:20 -07:00
bjorn
26435be7ac
Fix batching edge case;
2019-04-14 13:47:02 -07:00
bjorn
5a25803875
CI test;
2019-04-13 18:56:54 -07:00
bjorn
d6d3123114
Maybe this will fix the GLFW dll on appveyor?;
2019-04-13 17:59:01 -07:00
bjorn
9d90e83657
Fix Mesh attribute normalization;
...
Normalize i8 and u8 attribute by default.
Forward attribute normalization from glTF accessors.
2019-04-13 16:08:58 -07:00
bjorn
ed92c4e6db
font:setFlipEnabled(false) in lovr.errhand;
...
To prevent text from being upside down if you flipped the default font.
2019-04-13 15:40:47 -07:00
bjorn
44be3608a7
lovr.headset.getDirection; Controller:getDirection;
2019-04-12 15:08:45 -07:00
bjorn
9131c26fab
Fix Android build;
2019-04-11 15:26:59 -07:00
bjorn
c89a7139ee
Add File to the types table;
2019-04-11 15:20:21 -07:00
bjorn
1e05799669
More conservative buffer locking;
2019-04-11 08:35:55 -07:00
bjorn
ee8fdb773d
Add missing Texture release in OpenGL state backdoor;
2019-04-08 05:19:39 -07:00
bjorn
59e4a5bb8e
Oops, re-enable graphics module in boot.lua;
...
Also change format of message.
2019-04-08 05:18:28 -07:00
bjorn
0f6bcad90b
Nogame screen works without the graphics module;
2019-04-08 03:25:45 -07:00
bjorn
0139486f46
Fix misc builds;
2019-04-05 06:07:46 -07:00
bjorn
6e75ebafac
Fix windows build;
2019-04-05 06:01:12 -07:00
bjorn
fa4f240b7b
Fix plane uv argument parsing;
2019-04-05 05:50:43 -07:00
bjorn
011db5f1e5
Revert "Free objects in their destructors;"
...
This reverts commit d31dca5520
.
We can't unconditionally free because sometimes objects are temporarily
allocated on the stack.
2019-04-05 05:45:05 -07:00
bjorn
a5891bad92
lovr.graphics.plane uv arguments;
2019-04-05 05:34:28 -07:00
bjorn
0b62960472
Use lovrVariantDestroy in lovrChannelClear;
2019-04-05 05:15:17 -07:00
bjorn
32f73bcbf5
Add missing struct tag;
2019-04-05 05:13:09 -07:00
bjorn
5e74222a48
rm types from util;
2019-04-05 05:12:21 -07:00