Engine:CVAR module: Difference between revisions

Undo revision 21624 by Bear (talk)
(Undo revision 21624 by Bear (talk))
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dev/uicvar}}
{{dev/uicvar}}
Base name for 'world' module, without platform postfix or extensions.
Base name for the default 'world' module, without platform postfix or extensions.
<kua>set module 'game'</kua>
<kua>set module 'game'</kua>


Line 13: Line 13:
Name of the world native library to load.  
Name of the world native library to load.  


'World' in this context means a graphically or otherwise conceptually interactive environment, and is apart from any regular 2D UI environment, or may have no direct user interfaces.  
'World' in this context means a graphically or otherwise conceptually interactive environment, and is apart from any regular 2D UI environment, or may have no direct user interfaces.


A world library typically loads when the 'world' loads and provides support for managing discrete world components how they interact and can act as a sink and/or source for messaging with other systems.
A world library typically loads when the 'world' loads and provides support for managing discrete world components how they interact and can act as a sink and/or source for messaging with other systems.
; Lifetime
World is loaded separately through configuration, and lives on its own managed by the engine 'World' module. A library may create and manage sets of entities and control how they interact and provide other services.
During world load, the world may manage which native libraries if any get loaded. A library may also cause a different world to load. Also, no library may load at all.


; Library load name and path:
; Library load name and path: