mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-22 16:07:32 +00:00
#bugfixes
wdbg: ignore exceptions generated during normal OutputDebugString operation. (unclear why we are now getting them all of the sudden - shouldn't happen!) JS: fix strings identifying JS functions (some were inadvertently renamed according to capitalized C++ names) GameLoop: add code to import Atlas_ReportError Register: fix include guard name and thus unbreak Atlas This was SVN commit r5062.
This commit is contained in:
@@ -76,12 +76,12 @@ void CEntity::ScriptingInit()
|
||||
AddMethod<jsval, &CEntity::RegisterDamage>( "registerDamage", 0 );
|
||||
AddMethod<jsval, &CEntity::RegisterOrderChange>( "registerOrderChange", 0 );
|
||||
AddMethod<jsval, &CEntity::GetAttackDirections>( "getAttackDirections", 0 );
|
||||
AddMethod<jsval, &CEntity::FindSector>( "FindSector", 4);
|
||||
AddMethod<jsval, &CEntity::FindSector>( "findSector", 4);
|
||||
AddMethod<jsval, &CEntity::GetHeight>( "getHeight", 0 );
|
||||
AddMethod<jsval, &CEntity::HasRallyPoint>( "hasRallyPoint", 0 );
|
||||
AddMethod<jsval, &CEntity::SetRallyPoint>( "setRallyPoint", 0 );
|
||||
AddMethod<jsval, &CEntity::GetRallyPoint>( "getRallyPoint", 0 );
|
||||
AddMethod<jsval, &CEntity::OnDamaged>( "OnDamaged", 1 );
|
||||
AddMethod<jsval, &CEntity::OnDamaged>( "onDamaged", 1 );
|
||||
AddMethod<jsval, &CEntity::GetVisibleEntities>( "getVisibleEntities", 0 );
|
||||
AddMethod<float, &CEntity::GetDistance>( "getDistance", 1 );
|
||||
AddMethod<jsval, &CEntity::FlattenTerrain>( "flattenTerrain", 0 );
|
||||
|
||||
Reference in New Issue
Block a user