Skip to main content

from_source

Function from_source 

Source
pub fn from_source<S: DeserializeOwned, C: ShotCheck<S>>(
    file: &str,
    stem: &str,
    source: &str,
    audio: &AudioManifest,
    shots: C,
) -> Result<CinematicDef<C::Shot>, Vec<ContentError>>
Expand description

Reads and checks cinematic source (parse, then check), for a game whose shots share no actions.

ยงErrors

Every problem of the file, as check reports them.