| 574 | |
| 575 | #include "actoreffector.h" |
| 576 | float add_cam_effector(LPCSTR fn, int id, bool cyclic, LPCSTR cb_func) |
| 577 | { |
| 578 | CAnimatorCamEffectorScriptCB* e = xr_new<CAnimatorCamEffectorScriptCB>(cb_func); |
| 579 | e->SetType((ECamEffectorType)id); |
| 580 | e->SetCyclic(cyclic); |
| 581 | e->Start(fn); |
| 582 | Actor()->Cameras().AddCamEffector(e); |
| 583 | return e->GetAnimatorLength(); |
| 584 | } |
| 585 | |
| 586 | float add_cam_effector2(LPCSTR fn, int id, bool cyclic, LPCSTR cb_func) |
| 587 | { |
nothing calls this directly
no test coverage detected