mirror of https://github.com/bjornbytes/lovr.git
Add src/lovr/types;
To avoid naming conflicts between modules and types.
This commit is contained in:
parent
49761a789a
commit
4dd8bcd40b
|
@ -1,8 +1,8 @@
|
|||
#include "graphics.h"
|
||||
#include "buffer.h"
|
||||
#include "model.h"
|
||||
#include "shader.h"
|
||||
#include "skybox.h"
|
||||
#include "types/buffer.h"
|
||||
#include "types/model.h"
|
||||
#include "types/shader.h"
|
||||
#include "types/skybox.h"
|
||||
#include "../graphics/graphics.h"
|
||||
#include "../filesystem/filesystem.h"
|
||||
#include "../util.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "headset.h"
|
||||
#include "controller.h"
|
||||
#include "types/controller.h"
|
||||
#include "../headset/headset.h"
|
||||
#include "../util.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#include "buffer.h"
|
||||
#include "graphics.h"
|
||||
#include "../graphics/buffer.h"
|
||||
#include "../graphics.h"
|
||||
|
||||
void luax_pushbuffer(lua_State* L, Buffer* buffer) {
|
||||
if (buffer == NULL) {
|
|
@ -1,7 +1,7 @@
|
|||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
#include <lualib.h>
|
||||
#include "../graphics/buffer.h"
|
||||
#include "../../graphics/buffer.h"
|
||||
|
||||
void luax_pushbuffer(lua_State* L, Buffer* buffer);
|
||||
int luax_pushvertex(lua_State* L, void* vertex, BufferFormat format);
|
|
@ -1,7 +1,7 @@
|
|||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
#include <lualib.h>
|
||||
#include "../headset/headset.h"
|
||||
#include "../../headset/headset.h"
|
||||
|
||||
void luax_pushcontroller(lua_State* L, Controller* controller);
|
||||
Controller* luax_checkcontroller(lua_State* L, int index);
|
|
@ -1,7 +1,7 @@
|
|||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
#include <lualib.h>
|
||||
#include "../graphics/model.h"
|
||||
#include "../../graphics/model.h"
|
||||
|
||||
void luax_pushmodel(lua_State* L, Model* model);
|
||||
Model* luax_checkmodel(lua_State* L, int index);
|
|
@ -1,7 +1,7 @@
|
|||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
#include <lualib.h>
|
||||
#include "../graphics/shader.h"
|
||||
#include "../../graphics/shader.h"
|
||||
|
||||
void luax_pushshader(lua_State* L, Shader* shader);
|
||||
Shader* luax_checkshader(lua_State* L, int index);
|
|
@ -1,8 +1,8 @@
|
|||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
#include <lualib.h>
|
||||
#include "../graphics/skybox.h"
|
||||
#include "../graphics/graphics.h"
|
||||
#include "../../graphics/skybox.h"
|
||||
#include "../../graphics/graphics.h"
|
||||
|
||||
void luax_pushskybox(lua_State* L, Skybox* skybox);
|
||||
Skybox* luax_checkskybox(lua_State* L, int index);
|
Loading…
Reference in New Issue