raylua 3.0a

This commit is contained in:
TSnake41 2020-03-31 21:43:33 +02:00
parent 10a950f593
commit 723e41b74a
5 changed files with 5 additions and 9 deletions

View File

@ -7,7 +7,7 @@ LUA ?= luajit/src/luajit
CFLAGS += -Iluajit/src -Iraylib/src -Iraygui/src
LDFLAGS += -Lluajit/src -lluajit -Lraylib/src -lraylib
MODULES := raymath rlgl camera easings gestures physac raygui
MODULES := raymath rlgl easings gestures physac raygui
ifeq ($(OS),Windows_NT)
LDFLAGS += -lopengl32 -lgdi32 -lwinmm -static

View File

@ -15,6 +15,7 @@
]]
print "RAYLUA: Raylua boot script"
print("RAYLUA: " .. jit.version)
local ffi = require "ffi"
local C = ffi.C

View File

@ -23,7 +23,6 @@
#include <raymath.h>
#include <easings.h>
#include <camera.h>
#include <gestures.h>
#define RAYGUI_SUPPORT_ICONS

View File

@ -16,8 +16,10 @@
local load = loadstring
raylua.version = "v3.0a"
function raylua.repl()
print "> raylua v3.0a <"
print("> raylua " .. raylua.version .. " <")
print "Type 'q' to quit."
print ""

View File

@ -1,6 +0,0 @@
void SetCameraMode(Camera camera, int mode)
void UpdateCamera(Camera *camera)
void SetCameraPanControl(int panKey)
void SetCameraAltControl(int altKey)
void SetCameraSmoothZoomControl(int szoomKey);
void SetCameraMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey);