mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 18:18:52 +00:00
620748480b
Lua binding for SDL_GetKeyName, two missing scan codes See merge request OpenMW/openmw!1450 (cherry picked from commit d86e7d4c9a28bc96af0a5638b26879fa49b8a847) 9a073baa Add Apostrophe and Period scan codes d66f3a35 Add getKeyName to Lua input API ed64add9 Replace mentions of KeyEvent with KEY |
||
---|---|---|
.. | ||
openmw | ||
CMakeLists.txt | ||
coroutine.doclua | ||
global.doclua | ||
math.doclua | ||
README.md | ||
string.doclua | ||
table.doclua |
Files in this directory describe OpenMW API for Lua Development Tools (LDT).
*.doclua
files are taken (with some modifications) from LDT distribution and are distributed under MIT
license.
Openmw-specific docs (openmw/*.lua
) are under GPLv3
license.
To get a Lua IDE with integrated OpenMW documentation and code autocompletion do the following:
- Install and run LDT.
- Press
File
/New
/Lua Project
in menu. - Specify project name (for example the title of your omwaddon)
- Set
Targeted Execution Environment
toNo Execution Environment
, andTarget Grammar
tolua-5.1
. - Press
Next
, choose theLibraries
tab, and clickAdd External Source Folder
. Then specify there the path to this directory. - Press
Finish
.