mcc
2213b3bcfd
Allow the mountpoint to be set "inside" a zip file, using an --inside parameter.
...
This is used in the oculus mobile driver, allowing replacement of the (dubious) recursive-copy-from-zip code.
In order for this to work, the argument parsing must be beefed up a bit and also PhysFS must be updated to the newest master in order to get a new PHYSFS_setRoot. The github submodule source has been changed to one which updates more frequently to get this.
2018-11-13 15:20:04 -05:00
mcc
26af794e3c
Adjust the lovr command line construction to follow the lua/love standards. This is a BC-breaking change.
...
Source for lua standard: https://en.wikibooks.org/wiki/Lua_Programming/command_line_parameter
2018-11-13 16:28:56 -05:00
bjorn
185bb8438e
Set error handler context to correct Lua state;
2018-11-11 17:33:16 -08:00
mcc
8301bd7dd8
Remerge oculus-mobile branch with master
2018-11-02 18:10:08 -04:00
bjorn
f8011f7bf7
Initial platform.h;
2018-10-29 14:00:16 -07:00
bjorn
d5064844a7
Rewrite main.c;
2018-10-29 13:52:50 -07:00
bjorn
a0f2a34647
Prefer modules in the exe to modules on disk;
...
This fixes the lovr-docs loader and is arguably the better behavior.
2018-10-25 06:49:03 -07:00
mcc
5ad8fdd3e3
Fixes as far as running without crashes, no display yet
2018-10-24 23:40:11 -04:00
bjorn
eb40c1980b
Merge lovr.c into main.c;
2018-09-27 18:38:44 -07:00
bjorn
3e2259fc99
version/os refactor;
2018-09-27 18:38:44 -07:00
bjorn
faeb12f206
Refactor main loop;
2018-05-27 19:05:10 -07:00
bjorn
0d7810b333
Fix some issues with lovr.event.quit('restart');
2018-05-27 19:05:10 -07:00
bjorn
8702d7422f
Rewrite boot.lua, main.c, and exception handling;
...
There are breaking changes:
- lovr.step is removed.
- lovr.run is expected to return a main loop wrapped in a function. The
returned function is run as a coroutine to facilitate a cooperative
main loop.
- lovr.errhand should return a loop function instead of while true-ing.
2018-05-27 19:05:10 -07:00
bjorn
a3a50e5ca7
Ensure arg gets passed to lovr.load;
2018-03-30 18:48:20 -07:00
bjorn
bdc9b63b8a
Fix lots of memory leaks;
...
Especially when restarting or using threads.
2018-03-23 19:31:45 -07:00
bjorn
f5fa9a4e5c
Make modules more restartable;
...
Except headset. Screw you, headset.
2018-02-23 18:38:53 -08:00
bjorn
583afc9f16
Reorganize main/lovr separation;
2018-02-23 18:38:34 -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
aae636debb
Move GLFW into LOVR;
2016-11-25 17:31:41 -08:00
bjorn
e988f7ae41
Start lovr.filesystem;
2016-10-31 17:14:31 -07:00
bjorn
125e2d0e13
Skybox rough draft;
2016-10-23 19:03:10 -07:00
bjorn
9f9b2ef7e2
Include stb_image I guess ugh;
2016-10-15 16:36:31 -07:00
bjorn
315475e5be
Remove global variable;
2016-09-17 18:15:47 -07:00
bjorn
bbc2a32937
Support lovr /path/to/game;
2016-08-08 13:51:22 -07:00
bjorn
9c3e4ddec9
lovr.errhand;
2016-08-08 12:22:33 -07:00
bjorn
03b0c00253
Clean up main;
2016-08-08 03:47:05 -07:00
bjorn
d96789bbec
Dangling include;
2016-08-08 03:44:54 -07:00
bjorn
22ea91bf0b
Joystick;
2016-08-05 14:06:23 -07:00
bjorn
e708b7f0c8
Better moduling; conf.lua;
2016-07-31 17:21:04 -07:00
bjorn
aea0173cb7
lovr.timer;
2016-07-23 15:41:46 -07:00
bjornbytes
9bb4ad82ef
OSVR improvements;
2016-07-16 15:16:40 -07:00
bjorn
16e49d6858
lovr niceties;
2016-07-15 23:43:57 -07:00
bjorn
5615fe579c
Shaders;
2016-07-15 19:17:27 -07:00
bjorn
d28c8e4442
Start device stuff;
2016-07-10 14:56:29 -07:00
bjorn
d20d70e695
Model;
2016-07-08 22:27:34 -07:00
bjorn
6a50fae9a3
Initial commit;
2016-07-07 00:04:24 -07:00