Extensions |
Package: mmfi
The MMF Interface extension is a C Module that reimplements and extends the MMF Interface already embedded into the XLua object. To further increase the modularity of XLua and reduce its heavy footprint, the embedded MMFI may eventually be removed in favor of this module.
The main difference between this module and the embedded MMFI is that the module takes an object-oriented approach to managing objects in the frame. It also supports a clear distinction between object instances, and object classes. To make this terminology clear, when you duplicate an object in the frame, you're creating a new instance of the object that shares the same class as the object you're duplicating from. When you clone an object in the frame, you're creating a new instance of an entirely new object class. By separating instances and classes, some operations become less ambiguous. In addition to object-oriented object instances and classes, the MMFI module still supports global operations on the frame, runtime, keyboard, etc.
By separating out the MMFI from the main XLua extension, future fixes or improvements to the MMFI no longer require updating the XLua extension itself, and adding specialized support for other objects should be easier to accomplish in a clean, integrated way.
Topics
Copyright 2010 Justin Aquadro