1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-06 14:23:34 +00:00
Commit graph

21 commits

Author SHA1 Message Date
bjorn 0e99d47394 Fix module destruction;
There is a problem when a Thread stops: it destroys all of the modules
that it required.  This is because we unconditionally call luax_atexit
when modules are required, and when the thread lua_State dies it takes
all of the modules with it.  To fix this, lovr<Module>Init will return
whether or not initialization successfully happened, which provides us
with enough info to know if we should place the luax_atexit destructor
2018-11-19 09:24:28 -08:00
bjorn 6514492cb8 glfwGetTime -> lovrPlatformGetTime;
Same for glfwSetTime;
2018-11-16 00:28:45 -08:00
bjorn f8011f7bf7 Initial platform.h; 2018-10-29 14:00:16 -07:00
bjorn 57c8dfe146 Clean up includes; 2018-07-04 13:51:35 -07:00
bjorn f5fa9a4e5c Make modules more restartable;
Except headset.  Screw you, headset.
2018-02-23 18:38:53 -08:00
bjorn f634e17e5c Avoid resetting clock after boot.lua;
Fixes an issue where the initial dt was negative.
2018-01-13 16:00:47 -08:00
bjorn f857f4e94d Average FPS over 90 ticks instead of 60; 2018-01-05 22:43:35 -08:00
bjorn 9d6e5252a5 lovr.timer.getAverageDelta; 2017-05-16 20:25:29 -06:00
bjorn 9eb4d7b393 Move all window code into graphics module; 2017-04-12 19:48:47 -07:00
bjorn e80f390151 Try #pragma once; 2017-01-26 02:21:56 -08:00
bjorn b17111dc89 Fix timer ifdef; 2016-11-28 23:06:16 -08:00
bjorn 8a68027f0a Change lovr.timer.getFPS; 2016-11-27 02:29:52 -08:00
bjorn 9b0712bb66 Add default texture; 2016-11-26 18:58:58 -08:00
bjorn bd9fec011b headsetControllerGetModel; 2016-11-25 23:32:48 -08:00
bjorn 7e4e9a6108 Clean up includes; 2016-11-19 01:28:01 -08:00
bjorn 3ef84510c9 Improve windows platform detection; 2016-11-14 00:02:21 -08:00
bjorn 1cdde81e35 Improve lovr.timer; 2016-11-04 22:29:38 -07:00
bjorn 8c047729df lovr.timer.sleep; 2016-10-01 15:12:12 -07:00
bjorn 90147ca7bf Separate Lua API; 2016-08-09 23:28:17 -07:00
bjorn c07ea1cb2e Formatting; 2016-08-08 03:43:51 -07:00
bjorn 462b2d5f50 Refactor; 2016-08-07 18:32:37 -07:00