arx-convert
Version:
Converts various Arx Fatalis formats to JSON or YAML and back
21 lines (20 loc) • 614 B
TypeScript
import { BinaryIO } from '../common/BinaryIO.js';
import type { ArxTEA } from './TEA.js';
/**
* @see https://github.com/arx/ArxLibertatis/blob/1.2.1/src/animation/AnimationFormat.h#L91
*/
export type ArxOldKeyFrame = {
num_frame: number;
flag_frame: number;
master_key_frame: boolean;
key_frame: boolean;
key_move: boolean;
key_orient: boolean;
key_morph: boolean;
time_frame: number;
};
export declare class OldKeyFrame {
static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxOldKeyFrame;
static accumulateFrom(json: ArxTEA): ArrayBuffer;
static sizeOf(): number;
}