Assigns an un-scoped scene-object by scope_id to the named constraint
| 444 | |
| 445 | // Assigns an un-scoped scene-object by scope_id to the named constraint |
| 446 | afxConstraintID afxConstraintMgr::setReferenceObjectByScopeId(StringTableEntry which, U16 scope_id, bool is_shape) |
| 447 | { |
| 448 | S32 idx = find_cons_idx_from_name(which); |
| 449 | if (idx < 0) |
| 450 | return afxConstraintID(); |
| 451 | |
| 452 | afxConstraintID id = afxConstraintID(idx); |
| 453 | setReferenceObjectByScopeId(id, scope_id, is_shape); |
| 454 | |
| 455 | return id; |
| 456 | } |
| 457 | |
| 458 | afxConstraintID afxConstraintMgr::setReferenceEffect(StringTableEntry which, afxEffectWrapper* ew) |
| 459 | { |
no test coverage detected