-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbasic.c
More file actions
36 lines (30 loc) · 1.37 KB
/
Copy pathbasic.c
File metadata and controls
36 lines (30 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*******************************************************************************************
*
* raylib [rlua] examples test suite
*
* NOTE: This example requires Lua library (http://luabinaries.sourceforge.net/download.html)
*
* Compile example using:
* gcc -o rlua_tester.exe rlua_tester.c -s ../src/rlua_icon /
* -I../src -I../src/external/lua/include -L../src/external/lua/lib /
* -lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -llua53 -lpthread -static /
* -std=c99 -Wl,-allow-multiple-definition -Wl,--subsystem,windows
*
* This example has been created using raylib 1.7 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
* Copyright (c) 2016-2017 Ramon Santamaria (@raysan5)
*
********************************************************************************************/
#include "raylib.h"
#define RLUA_IMPLEMENTATION
#include "raylib-lua.h" // raylib Lua binding
int main()
{
//--------------------------------------------------------------------------------------
InitLuaDevice(); // Init Lua device and resources
ExecuteLuaFile("core_basic_window.lua");
CloseLuaDevice(); // Close Lua device and free resources
//--------------------------------------------------------------------------------------
return 0;
}