Commit Graph

1162 Commits

Author SHA1 Message Date
bjorn d5a1928b3d Rename a bunch of files; 2018-02-11 15:22:04 -08:00
bjorn 0ae9f3eb5b Fix CMakeLists; 2018-02-11 13:40:36 -08:00
bjorn ece5bf2f9c Node and material accessors for ModelData; 2018-02-11 13:03:52 -08:00
bjorn d7bf96f952 ModelData:getVertexData; 2018-02-10 17:33:45 -08:00
bjorn 8ad882e7a4 Add VertexData object; 2018-02-10 17:27:29 -08:00
bjorn 1d0ca6b763 Add stb_image_write to CMakeLists; 2018-02-10 10:32:16 -08:00
bjorn 18be34a903 Expose depth write setting; 2018-02-08 21:50:47 -08:00
bjorn 3fd6f27768 Allow custom values when clearing color, depth, and stencil buffers; 2018-02-08 21:26:53 -08:00
bjorn c538474339 TextureData:encode; 2018-02-08 20:17:50 -08:00
bjorn 9205663d69 Texture:replacePixels; 2018-02-08 19:46:24 -08:00
bjorn 04faa5bb1c getPixel and setPixel bound checks; 2018-02-08 19:24:02 -08:00
bjorn 964614c3fd Move TextureData assertions into constructors; 2018-02-08 19:22:30 -08:00
bjorn eab8b8a354 lovr.data.newTextureData can create empty textures; 2018-02-08 19:21:33 -08:00
bjorn c8e1e3ffd9 TextureData:getPixel; TextureData:setPixel; 2018-02-07 09:08:16 -08:00
Bjorn Swenson 55ba402fd2
Merge pull request #35 from mcclure/audio-crash
Error message instead of crash on invalid audio.newSource call
2018-02-03 07:24:46 -08:00
Bjorn Swenson 84afb4d525
Merge pull request #39 from mcclure/right-trigger
Switch trigger to right-click when using fake headset
2018-02-03 07:24:24 -08:00
mcc b1cbb4bb1e Error message instead of crash on audio.newSource with non-understood file 2018-02-03 09:34:30 -05:00
mcc 1f46dd5053 Switch trigger to right-click when using fake headset
Currently left-click is used for both mouselook and trigger, which means it's impossible to mouselook without triggering
2018-02-03 09:20:12 -05:00
bjorn a7edc2be2b Rewind AudioStreams when Sources stop; 2018-01-31 22:45:44 -08:00
bjorn ef9c4b782d Add missing include to vertex.h; 2018-01-31 22:31:43 -08:00
bjorn 9ec2db57a6 Add missing CMake file; 2018-01-29 22:08:17 -08:00
bjorn 14a54fa7b0 rm MaterialData; 2018-01-29 21:44:32 -08:00
bjorn 4a68067e28 rm AnimationData; 2018-01-29 20:30:13 -08:00
bjorn e859350e25 TextureData:getDimensions; 2018-01-29 19:15:58 -08:00
bjorn 78774d65be Actually hold off on node APIs for now; 2018-01-29 19:09:43 -08:00
bjorn b5b58f9d56 Start node API; 2018-01-27 17:26:11 -08:00
bjorn 3ed5419005 ModelData vertex accessors; 2018-01-27 13:43:20 -08:00
bjorn 032788003a VertexData; IndexData; 2018-01-27 12:51:41 -08:00
bjorn 84de048fa3 Fix warnings; 2018-01-26 19:11:42 -08:00
bjorn 66d0e42908 Refactor VertexFormat; 2018-01-26 19:11:40 -08:00
bjorn dc801d8590 luax_pushvertex; 2018-01-26 19:01:41 -08:00
bjorn ea7f3d48a2 Refactor MeshFormat; 2018-01-26 19:01:41 -08:00
Bjorn Swenson 031663c096
Merge pull request #33 from esno/webvr_fix
remove webvrGetBoundsGeometry reference from webvr.c
2018-01-26 17:10:24 -08:00
crito ba85abaa0d remove webvrGetBoundsGeometry reference from webvr.c
getBoundsGeometry implementation was dropped with 11586e8
but not in HeadsetInterface.
2018-01-27 00:13:42 +01:00
Bjorn Swenson 1f3deae6ec
Merge pull request #32 from mcclure/reload-support-2
Restart-without-quit support: lovr.event.quit("restart")
2018-01-25 19:08:30 -08:00
mcc 8052896b33 Restart-without-quit support: lovr.event.quit("restart") and return-from-run() both support the string "restart" in place of an exit code. When this happens, the program reruns itself in a new, isolated environment. In Emscripten, no reboot occurs and the program only quits. 2018-01-25 21:32:16 -05:00
bjorn 9453d979bf ily cmake; 2018-01-22 18:51:34 -08:00
bjorn b549688c44 Add a bunch of Rasterizer functions; 2018-01-22 18:49:45 -08:00
bjorn 3cce5fd991 ModelData; 2018-01-22 18:24:39 -08:00
bjorn ed72de1109 Make sure objects retain their underlying data; 2018-01-22 09:13:03 -08:00
bjorn 253cadf714 Update CMakeLists; 2018-01-22 09:05:44 -08:00
bjorn a2e0f592a3 Create Fonts from Rasterizers; 2018-01-22 08:46:09 -08:00
bjorn 99a302ff38 Rasterizer; 2018-01-22 08:40:47 -08:00
bjorn a22740084c Rename FontData to Rasterizer; 2018-01-22 08:28:33 -08:00
bjorn 89891811b7 Create Sources from AudioStreams; 2018-01-22 08:14:24 -08:00
bjorn e5a17a4160 Create Textures from TextureData; 2018-01-22 08:14:18 -08:00
bjorn 1b9f81b57f Fix refcounting in lovr.data; 2018-01-22 08:08:47 -08:00
bjorn f0cac8fa69 Add luax_totype; 2018-01-22 08:08:26 -08:00
bjorn 56625b4dc2 Organize api.h; 2018-01-21 14:20:06 -08:00
bjorn 0cad6271dd AudioStream; 2018-01-21 13:26:00 -08:00