From 8182a5f1b6c61bdf95d32a4ad102e1762f0d0924 Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 20 Feb 2022 20:37:39 +0200 Subject: Documentation and better cmakelist. --- doc_parser.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc_parser.lua') diff --git a/doc_parser.lua b/doc_parser.lua index dafedb3..6c74b02 100644 --- a/doc_parser.lua +++ b/doc_parser.lua @@ -22,8 +22,7 @@ apiFile:write( "# ReiLua API\n" ) -- Usage. apiFile:write( "\n## Usage\n" ) -apiFile:write( "\nApplication needs 'main.lua' file as entry point. ReiLua executable will first look it from same directory\ -or it's path can be given by argument. There are three global functions that the engine will call, 'init', 'process' and 'draw'.\n" ) +apiFile:write( "\nApplication needs 'main.lua' 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 three global Lua functions that the engine will call, 'init', 'process' and 'draw'.\n" ) apiFile:write( "\n---\n> function init()\n\ This function will be called first when 'main.lua' is found\n\n---\n" ) -- cgit v1.2.3