diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-02-10 15:57:08 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-02-10 15:57:08 -0500 |
commit | 49b8f8af026a627db47c9592fc92eccda790401e (patch) | |
tree | 181bbe92c8d7522e087a2913ea8fb2919f405de3 /indra/newview/llagentpilot.h | |
parent | 54bf80bf450fa6b8b50c573ca5ef902b4462d410 (diff) |
SH-915 WIP - LLAgentPilot class cleanup, added interpolation for camera motion
Diffstat (limited to 'indra/newview/llagentpilot.h')
-rwxr-xr-x | indra/newview/llagentpilot.h | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/indra/newview/llagentpilot.h b/indra/newview/llagentpilot.h index 5e045fa695..dd1709ec0c 100755 --- a/indra/newview/llagentpilot.h +++ b/indra/newview/llagentpilot.h @@ -60,24 +60,34 @@ public: void startPlayback(); void stopPlayback(); - bool isRecording() { return mRecording; } bool isPlaying() { return mPlaying; } bool getOverrideCamera() { return mOverrideCamera; } void updateTarget(); - static void startRecord(void *); - static void addWaypoint(void *); - static void saveRecord(void *); - static void startPlayback(void *); - static void stopPlayback(void *); - static BOOL sLoop; - static BOOL sReplaySession; + void addWaypoint(); + void moveCamera(); + + void setReplaySession(BOOL new_val) { mReplaySession = new_val; } + BOOL getReplaySession() { return mReplaySession; } + + void setLoop(BOOL new_val) { mLoop = new_val; } + BOOL getLoop() { return mLoop; } + + void setQuitAfterRuns(BOOL quit_val) { mQuitAfterRuns = quit_val; } + void setNumRuns(S32 num_runs) { mNumRuns = num_runs; } + +private: + + + + BOOL mLoop; + BOOL mReplaySession; S32 mNumRuns; BOOL mQuitAfterRuns; -private: + void setAutopilotTarget(const S32 id); BOOL mRecording; @@ -106,7 +116,6 @@ private: LLDynamicArray<Action> mActions; LLTimer mTimer; - void moveCamera(Action& action); }; extern LLAgentPilot gAgentPilot; |