1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/files/lua_api
elsid e00eb50587
Remove stepping from findSmoothPath
This is not used anyway. There are features like smooth movement which remove
all redundant points.

Use single findStraightPath call instead of multiple.
2023-07-22 18:08:40 +02:00
..
openmw Remove stepping from findSmoothPath 2023-07-22 18:08:40 +02:00
CMakeLists.txt make sure lua works with macos packages 2023-02-06 14:35:22 +01:00
coroutine.doclua Renormalise line endings 2022-09-16 00:53:24 +01:00
global.doclua Documentation and API fixes (part of !2529) 2023-01-30 10:13:26 +00:00
math.doclua Renormalise line endings 2022-09-16 00:53:24 +01:00
os.doclua Change terminology of gameSecond/gameHour to simulationTime/gameTime 2022-01-10 21:03:35 +01:00
README.md
string.doclua Renormalise line endings 2022-09-16 00:53:24 +01:00
table.doclua Renormalise line endings 2022-09-16 00:53:24 +01:00

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:

  1. Install and run LDT.
  2. Press File / New / Lua Project in menu.
  3. Specify project name (for example the title of your omwaddon)
  4. Set Targeted Execution Environment to No Execution Environment, and Target Grammar to lua-5.1.
  5. Press Next, choose the Libraries tab, and click Add External Source Folder. Then specify there the path to this directory.
  6. Press Finish.