forked from mirrors/0ad
- Linux/GCC (as usual :P)
- Ported lockless code to gcc inline assembly - A few new net messages (gather, attack, add waypoint) - Support for new messages in network->entity order converter - Implemented rudimentary JS interface for Interaction - issueCommand JS API, connected to the network - Removed Interaction stuff now replaced by JS - And something in there should probably break VS builds :P This was SVN commit r2316.
This commit is contained in:
@@ -148,7 +148,7 @@ void CScriptEvent::ScriptingInit()
|
||||
AddMethod<jsval, &CScriptEvent::ToString>( "toString", 0 );
|
||||
AddMethod<jsval, &CScriptEvent::PreventDefault>( "preventDefault", 0 );
|
||||
AddMethod<jsval, &CScriptEvent::PreventDefault>( "cancel", 0 );
|
||||
AddMethod<jsval, StopPropagation>( "stopPropagation", 0 );
|
||||
AddMethod<jsval, &CScriptEvent::StopPropagation>( "stopPropagation", 0 );
|
||||
|
||||
AddProperty( L"type", &CScriptEvent::m_Type, true );
|
||||
AddProperty( L"cancelable", &CScriptEvent::m_Cancelable, true );
|
||||
|
||||
Reference in New Issue
Block a user