19 #ifndef GNASH_SWF_SCENEANDLABELTAG_H 20 #define GNASH_SWF_SCENEANDLABELTAG_H 33 class movie_definition;
56 log_swferror(
"SWF contains DefineSceneAndFrameLabelData tag, " 57 "but is not an AS3 SWF!");
63 boost::intrusive_ptr<ControlTag>
t(
80 std::uint32_t scenes = in.
read_V32();
84 for (
size_t i = 0;
i < scenes; ++
i) {
85 std::uint32_t offset = in.
read_V32();
89 _scenes[offset] =
name;
92 std::uint32_t labels = in.
read_V32();
94 for (
size_t i = 0;
i < labels; ++
i) {
104 std::map<std::uint32_t, std::string> _scenes;
105 std::map<std::uint32_t, std::string> _frames;
113 #endif // GNASH_SWF_SYMBOLCLASSTAG_H Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:95
A MovieClip is a container for DisplayObjects.
Definition: MovieClip.h:83
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: DefineSceneAndFrameLabelDataTag.h:49
void read_string(std::string &to)
Reads a null-terminated string from the given file and assigns it to the given std::string, overriding any previous value of it.
Definition: SWFStream.cpp:395
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:30
An SWF parsing exception.
Definition: GnashException.h:89
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
#define IF_VERBOSE_MALFORMED_SWF(x)
Definition: log.h:404
#define IF_VERBOSE_PARSE(x)
Definition: log.h:378
Control tags are swf tags that control the operation of the movie.
Definition: ControlTag.h:43
void log_parse(StringType msg, Args... args)
Definition: log.h:313
Definition: GnashKey.h:166
std::uint32_t read_V32()
Read a variable length unsigned 32-bit value from the stream. These values continue until either the ...
Definition: SWFStream.h:191
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:53
virtual void executeState(MovieClip *, DisplayList &) const
TODO: implement this.
Definition: DefineSceneAndFrameLabelDataTag.h:44
void log_swferror(StringType msg, Args... args)
Definition: log.h:325
virtual bool isAS3() const
True if the SWFMovie should use AVM2.
Definition: movie_definition.h:410
Definition: GnashKey.h:155
Definition: GnashKey.h:159
Definition: DefineSceneAndFrameLabelDataTag.h:39
virtual void addControlTag(boost::intrusive_ptr< SWF::ControlTag >)
Add an ControlTag to this movie_definition's playlist.
Definition: movie_definition.h:273
A list of on-stage DisplayObjects, ordered by depth.
Definition: DisplayList.h:64
std::string name
Definition: LocalConnection_as.cpp:149
Definition: GnashKey.h:331
SWF stream wrapper class.
Definition: SWFStream.h:58