raylua 3.0a
This commit is contained in:
parent
10a950f593
commit
723e41b74a
2
makefile
2
makefile
|
@ -7,7 +7,7 @@ LUA ?= luajit/src/luajit
|
||||||
CFLAGS += -Iluajit/src -Iraylib/src -Iraygui/src
|
CFLAGS += -Iluajit/src -Iraylib/src -Iraygui/src
|
||||||
LDFLAGS += -Lluajit/src -lluajit -Lraylib/src -lraylib
|
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)
|
ifeq ($(OS),Windows_NT)
|
||||||
LDFLAGS += -lopengl32 -lgdi32 -lwinmm -static
|
LDFLAGS += -lopengl32 -lgdi32 -lwinmm -static
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
]]
|
]]
|
||||||
|
|
||||||
print "RAYLUA: Raylua boot script"
|
print "RAYLUA: Raylua boot script"
|
||||||
|
print("RAYLUA: " .. jit.version)
|
||||||
|
|
||||||
local ffi = require "ffi"
|
local ffi = require "ffi"
|
||||||
local C = ffi.C
|
local C = ffi.C
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
#include <raymath.h>
|
#include <raymath.h>
|
||||||
#include <easings.h>
|
#include <easings.h>
|
||||||
#include <camera.h>
|
|
||||||
#include <gestures.h>
|
#include <gestures.h>
|
||||||
|
|
||||||
#define RAYGUI_SUPPORT_ICONS
|
#define RAYGUI_SUPPORT_ICONS
|
||||||
|
|
|
@ -16,8 +16,10 @@
|
||||||
|
|
||||||
local load = loadstring
|
local load = loadstring
|
||||||
|
|
||||||
|
raylua.version = "v3.0a"
|
||||||
|
|
||||||
function raylua.repl()
|
function raylua.repl()
|
||||||
print "> raylua v3.0a <"
|
print("> raylua " .. raylua.version .. " <")
|
||||||
print "Type 'q' to quit."
|
print "Type 'q' to quit."
|
||||||
print ""
|
print ""
|
||||||
|
|
||||||
|
|
|
@ -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);
|
|
Loading…
Reference in New Issue