Added get_animation_queue to DrivenEngine
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include "streambuffer.hpp"
|
||||
#include "debugcollector.hpp"
|
||||
#include "util.hpp"
|
||||
#include "enginewrapper.hpp"
|
||||
|
||||
#include <cassert>
|
||||
#include <ostream>
|
||||
@@ -265,6 +266,14 @@ public:
|
||||
//
|
||||
AnimState get_final_everything() const;
|
||||
|
||||
// Get the contents of the animation queue for export to the engine wrapper.
|
||||
//
|
||||
// Caution: this exports pointers into existing allocated strings.
|
||||
// The pointers in this array are only valid until you modify the
|
||||
// animation queue.
|
||||
//
|
||||
void get_for_engine_wrapper(std::vector<EngineWrapper::AnimEntry> *into) const;
|
||||
|
||||
private:
|
||||
int size_limit_;
|
||||
eng::deque<Step> steps_;
|
||||
|
||||
Reference in New Issue
Block a user