mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-29 11:32:45 +00:00
- Created JSMap
- Changed player colour JS interface: setColour(...) instead of a colour property - Introduced a network log and replaced most network LOG() calls with NET_LOG() - Moved to a slot-based system for Pre-Game and extended a lot of the JS APIs to networking stuff - A bit of cleanup in the low-level network code (Unix parts) - Clients now keep track of all other connected clients on the server (And exposes this info to JS) - Split out GameAttributes to its own file - Removed unused class AttributeMap - Changed CJSObject to use T* pointers in JS_SetPrivate (needed to make ToScript work with multiple inheritance) This was SVN commit r1929.
This commit is contained in:
@@ -36,6 +36,7 @@ CScriptObject::CScriptObject( JSFunction* _Function )
|
||||
|
||||
CScriptObject::CScriptObject( jsval v )
|
||||
{
|
||||
Function = NULL;
|
||||
SetJSVal( v );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user