1 #ifndef _lua__unsaferewind__hpp__included__
2 #define _lua__unsaferewind__hpp__included__
4 #include "library/lua-base.hpp"
5 #include "library/string.hpp"
6 #include "core/moviefile.hpp"
8 struct lua_unsaferewind
10 lua_unsaferewind(lua::state
& L
);
11 static size_t overcommit() { return 0; }
13 dynamic_state console_state
;
14 //Extra state variable involved in fast movie restore. It is not part of normal console state.
18 return (stringfmt() << "to frame " << console_state
.save_frame
).str();