Lua:Main: Difference between revisions

From Spring
Jump to navigationJump to search
m make callins page more obvious
Line 5: Line 5:
[http://springrts.com/phpbb/viewtopic.php?f=23&t=15596 Forum topic with some basic information about gadgets]<br>
[http://springrts.com/phpbb/viewtopic.php?f=23&t=15596 Forum topic with some basic information about gadgets]<br>
[http://springrts.com/phpbb/viewtopic.php?f=23&t=16223 Forum topic with a manual on Spring lua scripting]
[http://springrts.com/phpbb/viewtopic.php?f=23&t=16223 Forum topic with a manual on Spring lua scripting]


=Interfaces {{HeaderNotice|(last update: 95.0-dev)}}=
=Interfaces {{HeaderNotice|(last update: 95.0-dev)}}=
[[Lua:Callins]] (entry points to lua addons)
[[: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}}


=Tutorials=
=Tutorials=
* [[Lua:Tutorial_GettingStarted|Getting Started]] (beginner guide)
* [[Lua:Tutorial_GettingStarted|Getting Started]] (beginner guide)
* [[LuaTutorials::InterCommunications]] (i.e. synced <-> unsynced communications)
* [[LuaTutorials::InterCommunications]] (i.e. synced <-> unsynced communications)


=Other useful information=
=Other useful information=
* [[Lua:Callins]]
* [[Lua:Libarylinks]]
* [[Lua:Libarylinks]]
* [[Lua_Performance | Lua performance tips]]
* [[Lua_Performance | Lua performance tips]]

Revision as of 13:02, 12 August 2015

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: 95.0-dev)

Lua:Callins (entry points to lua addons)

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


Tutorials

Other useful information

Official Lua documentation

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

Widget Database

WidgetDatabaseFAQ
Web-Interface