Lua:Main: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
Line 12: Line 12:


=Other useful information=
=Other useful information=
[[LuaCallinReturn]]<br>
* [[LuaCallinReturn]]
[[Lua_Performance | Lua performance tips]]<br>
* [[Lua_Performance | Lua performance tips]]
[[Spring_Multithreaded_Lua | Spring Multithreaded Lua Compatibility]]<br>
* [[Spring_Multithreaded_Lua | Spring Multithreaded Lua Compatibility]]
[http://spring.clan-sy.com/wiki/COB_Constants#Custom_Variables COB Custom Variables] <br>
* [http://spring.clan-sy.com/wiki/COB_Constants#Custom_Variables COB Custom Variables]
[http://springrts.com/phpbb/viewtopic.php?f=12&t=19560 Font Drawing System] <br>
* [http://springrts.com/phpbb/viewtopic.php?f=12&t=19560 Font Drawing System]
[[UI_commands]]<br>
* [[UI_commands]]
[[Lua_sync_to_unsync| Synced <-> unsynced communication]] <br>
* [[Lua_sync_to_unsync| Synced <-> unsynced communication]]
[[Animation-LuaScripting | Unit animation scripting with Lua]]<br>
* [[Animation-LuaScripting | Unit animation scripting with Lua]]
[[LUA ComonPitfalls]]
* [[LUA ComonPitfalls]]
* [[LuaSocket]]


=Official Lua documentation=
=Official Lua documentation=

Revision as of 10:58, 28 March 2012

Development < Lua:Main

Lua FAQ

Lua_Beginners_FAQ
Forum topic with some basic information about gadgets
Forum topic with a manual on Spring lua scripting
Q&A Site for Spring Developement

Interfaces (last update: 0.82rc)

Category:Lua (shows which interfaces are loaded by LuaUI,LuaRules,etc.)

System
Lua_System

Const
Lua_ConstGame (holds game relevant constants)
Lua_ConstEngine (version & buildflags)
Lua_ConstPlatform (Current OS, video driver etc)
Lua_ConstCOB (COB, Explode, EmitSfx)
Lua_CMDs (documents all CMDs and CMDTYPEs)

Defs
Lua_UnitDefs
Lua_WeaponDefs
Lua_FeatureDefs

GameState
Lua_SyncedCtrl
Lua_SyncedRead
Lua_SaveLoad (engine-assisted Lua save/load)

Client
Lua_UnsyncedCtrl
Lua_UnsyncedRead
Lua_Lobby

OpenGL
Lua_OpenGL_Api
Lua_GLSL_Api (OpenGL Shading Language)
Lua_FBO_and_RBO (Framebuffer and Renderbuffer Objects)
Lua_UnitRendering (manage unit LODs and materials)
Lua_ConstGL (some OpenGL constants)
Lua_Fonts

Unit Physics
Lua_MoveCtrl (changes the physics of single units)
Lua_PathFinder

Engine
Lua_VFS (used to access files in the virtual filesystem, e.g. modfiles)
Lua_Scream
Lua_BitOps
Lua_MathExtra
Lua_Socket

Other useful information

Official Lua documentation

'Programming in Lua' book online
Lua 5.1 Reference manual
Lua tutorials

Widget Database

WidgetDatabaseFAQ
Web-Interface