MCPcopy Create free account
hub / github.com/crownengine/crown / CompileOptions

Method CompileOptions

src/resource/compile_options.cpp:48–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48CompileOptions::CompileOptions(File &output
49 , File &stream_output
50 , HashMap<DynamicString, u32> &new_dependencies
51 , HashMap<DynamicString, u32> &new_requirements
52 , DataCompiler &dc
53 , Filesystem &output_filesystem
54 , Filesystem &data_filesystem
55 , ResourceId res_id
56 , const DynamicString &source_path
57 , Platform::Enum platform
58 , bool bundle
59 )
60 : _output(output)
61 , _stream_output(stream_output)
62 , _binary_writer(_output)
63 , _new_dependencies(new_dependencies)
64 , _new_requirements(new_requirements)
65 , _new_requirement_globs(default_allocator())
66 , _data_compiler(dc)
67 , _output_filesystem(output_filesystem)
68 , _data_filesystem(data_filesystem)
69 , _source_path(source_path)
70 , _platform(platform)
71 , _resource_id(res_id)
72 , _bundle(bundle)
73 , _server(_data_compiler._options->_server)
74{
75 sjson::set_error_callback(sjson_error, this);
76}
77
78void CompileOptions::error(log_internal::System system, const char *msg, va_list args)
79{

Callers

nothing calls this directly

Calls 1

set_error_callbackFunction · 0.85

Tested by

no test coverage detected