Palomino - Lua Scripts

©2004,2009  Jim E. Brooks   http://www.palomino3d.org



Overview

[2008/09]

See also lua module.

The simulator is implemented as a mixture of C++ and Lua code. The core of the simulator is written in C++. The high-level (missions, game logic, etc) is written in Lua. In client/server terms, C++ is the server, while Lua is the client.

Partitioning of C++ and Lua varies by area. Lua is fully responsible for mission setup and defining a scene. By contrast, game logic is a mixture of Lua and C++.


C++ and Lua Partitioning

[2008/10]

Summary of functionality partitioned across C++ and Lua:
Only the C++ core is independent. All Lua code depends on the C++ core in one way or another.

C++:

Lua:

Mixture of C++ and Lua:

Of the Lua functionality, the most complex is the game logic.


Execution Flow

[2008/09]


List of Lua Scripts

[2008/09]


Last modified: Sat Nov 7 14:43:30 CST 2009