Lua:Main: Difference between revisions

From Spring
Jump to navigationJump to search
Jk (talk | contribs)
Jk (talk | contribs)
mNo edit summary
Line 1: Line 1:
[[Engine_Development|Development]] < {{FULLPAGENAME}}
[[Engine_Development|Development]] < {{FULLPAGENAME}}


===Lua FAQ===
=Lua FAQ=
[[Lua_Beginners_FAQ]]<br>
[[Lua_Beginners_FAQ]]<br>
[http://spring.clan-sy.com/phpbb/viewtopic.php?f=23&t=15596 Forum topic with some basic information about gadgets]<br>
[http://spring.clan-sy.com/phpbb/viewtopic.php?f=23&t=15596 Forum topic with some basic information about gadgets]<br>
[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>=
[[: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}}


'''Interfaces''' <font color=#55ee99>(last update: 76b1)</font><br>
=Other useful information=
{{LuaInterfaces}}
<br>
'''Other useful information'''<br>
[[LuaCallinReturn]]<br>
[[LuaCallinReturn]]<br>
[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] <br>
Line 17: Line 16:
[[UI_commands]]
[[UI_commands]]


'''Official Lua documentation'''<br>
=Official Lua documentation=
[http://www.lua.org/pil/ 'Programming in Lua' book online]<br>
[http://www.lua.org/pil/ 'Programming in Lua' book online]<br>
[http://www.lua.org/manual/5.1/ Lua 5.1 Reference manual]<br>
[http://www.lua.org/manual/5.1/ Lua 5.1 Reference manual]<br>
[http://lua-users.org/wiki/TutorialDirectory Lua tutorials]
[http://lua-users.org/wiki/TutorialDirectory Lua tutorials]
'''old Wikis''' <font color=red>(outdated)<br>
[[Lua_SyncedInterface]]<br>
[[Units:LuaCOB]]<br></font>

Revision as of 22:59, 1 January 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: 76b1)

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

LuaCallinReturn
COB Custom Variables
Font Drawing System
UI_commands

Official Lua documentation

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