Lua:Main: Difference between revisions

From Spring
Jump to navigationJump to search
Koshi (talk | contribs)
fix category
Jk (talk | contribs)
0.82rc updated
Line 6: Line 6:
[http://spring.clan-sy.com/phpbb/viewtopic.php?f=23&t=16223 Forum topic with a manual on Spring lua scripting]<br>
[http://spring.clan-sy.com/phpbb/viewtopic.php?f=23&t=16223 Forum topic with a manual on Spring lua scripting]<br>


=Interfaces <font color=#55ee99 style="float:right; font-size:50%">(last update: 76b1)</font>=
=Interfaces <font color=#55ee99 style="float:right; font-size:50%">(last update: 0.82rc)</font>=
[[:Category:Lua]] (shows which interfaces are loaded by LuaUI,LuaRules,etc.)<br>
[[:Category:Lua]] (shows which interfaces are loaded by LuaUI,LuaRules,etc.)<br>
{{LuaInterfaces}}
{{LuaInterfaces}}

Revision as of 01:06, 1 July 2010

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

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 informations

LuaCallinReturn
COB Custom Variables
Font Drawing System
UI_commands

Official Lua documentation

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