18#ifndef INCLUDED_MAPGENERATOR
19#define INCLUDED_MAPGENERATOR
43 const u16 flags = JSPROP_ENUMERATE | JSPROP_READONLY | JSPROP_PERMANENT);
Script::StructuredClone RunMapGenerationScript(std::atomic< int > &progress, ScriptInterface &scriptInterface, const VfsPath &script, const std::string &settings, const u16 flags=JSPROP_ENUMERATE|JSPROP_READONLY|JSPROP_PERMANENT)
Generate the map.
Definition: MapGenerator.cpp:379
Abstraction around a SpiderMonkey JS::Realm.
Definition: ScriptInterface.h:72
std::shared_ptr< JSStructuredCloneData > StructuredClone
Structured clones are a way to serialize 'simple' JS::Values into a buffer that can safely be passed ...
Definition: StructuredClone.h:36
uint16_t u16
Definition: types.h:38