Table of Contents

format_IsNative

Description

Determine whether a file format has full 'native' support. Please see comments for the distinction between native and non-native support.

Function prototype

bool CExtAPI::format_IsNative(ZFORMAT hFormat);

Arguments

Name Type Comment
hFormat ZFORMAT A handle to a format variable, the native support (or otherwise) of which is to be ascertained.

Return value

False if:

True otherwise.

Comments

A format is considered native if:

  1. It can both load and save maps.
  2. The load/save operation is lossless, or minimally lossy.
  3. The files contain sufficient information to load the maps, without human intervention (i.e. no import interface required.)

Here are some examples: