forked from mirrors/0ad
- Changed actor selection sets to CStr8 rather than CStrW.
- Added more comments in ScriptableComplex.h/inl explaining how they are split up and when to #include the inl. This was SVN commit r4180.
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
// ScriptableComplex.h
|
||||
//
|
||||
// The version of CJSObject<> that retains the ability to use inheritance
|
||||
// in its objects. Shouldn't be used any more for anything but entity code.
|
||||
/*
|
||||
ScriptableComplex.h
|
||||
|
||||
The version of CJSObject<> that retains the ability to use inheritance
|
||||
in its objects. Shouldn't be used any more for anything but entity code.
|
||||
|
||||
This file contains only declarations of class CJSComplex and its methods.
|
||||
Their implementations are in ScriptableComplex.inl. Because CJSComplex is
|
||||
a templated class, any source file that uses these methods directly must
|
||||
#include ScritpableComplex.inl to link to them. However, files that
|
||||
only need to know that something is a CJSComplex need not do this. This
|
||||
was done to speed up compile times after modifying CJSComplex's internals:
|
||||
before, 30+ files had to be recompiled because they #included Entity.j
|
||||
which #includes ScriptableComplex.h.
|
||||
*/
|
||||
|
||||
#include "scripting/ScriptingHost.h"
|
||||
#include "simulation/ScriptObject.h"
|
||||
|
||||
Reference in New Issue
Block a user