diff options
| author | jussi | 2023-10-15 22:31:17 +0300 |
|---|---|---|
| committer | jussi | 2023-10-15 22:31:17 +0300 |
| commit | 95be0403e69b3047a0375cf965dedca0ad876409 (patch) | |
| tree | ebfc72f0e5ad7c193e679a0744443b367902c09a /API.md | |
| parent | 7af7e7003131e182efb30bac8c1ff06ac1d667d6 (diff) | |
| download | reilua-enhanced-95be0403e69b3047a0375cf965dedca0ad876409.tar.gz reilua-enhanced-95be0403e69b3047a0375cf965dedca0ad876409.tar.bz2 reilua-enhanced-95be0403e69b3047a0375cf965dedca0ad876409.zip | |
Argumets stored in RL.arg array.
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,6 @@ # ReiLua API -## Usage +## Functions Application needs 'main.lua' or 'main' file as entry point. ReiLua executable will first look it from same directory. Alternatively, path to the folder where "main.lua" is located can be given as argument. There are five Lua functions that the framework will call, 'RL.init', 'RL.process', 'RL.draw', 'RL.event', 'RL.log', and 'RL.exit'. @@ -41,6 +41,10 @@ This function will be called on program close. Cleanup could be done here. --- +## Arguments + +Arguments are stored in 'RL.arg' array. + ## Globals - ConfigFlags FLAG_VSYNC_HINT = 64 FLAG_FULLSCREEN_MODE = 2 |
