Crate cem

Source

Re-exports§

pub use v1::V1;
pub use v2::V2;
pub use v5::V5;
pub use scene::Scene;
pub use scene::Model;

Modules§

collider
scene
v1
V1 model format. Found rarely in Empire Earth 1, but not the native format of any released game.
v2
V2 model format. Primarily found in Empire Earth 1.
v5
V5 model format. Primarily found in Empires: Dawn of the Modern World.

Structs§

ModelHeader
The header, contains the magic number and revision. The current revision is 2.

Constants§

MAGIC
The expected magic number for all CEM models. If this does not match, then this file is almost certainly not a CEM file. FCC version of “SSMF”

Traits§

Encode