АКЦИЯ от www.R3.ru - хостинг сайтов 72р. в месяц. Домен в подарок!

.werkkzeug 3 config file

This is format of werkkzeug 3 configuration file.

/*
 *  .werkkzeug 3 configuration file format.
 *  (c) 2009-2011, Sauron.
 *
 *  Comments:
 *
 *  1. All colors are in the form {blue, green, red, alpha}.
 *
 *  2. werkkzeug 3 does not read properly many options (for example,
 *     viewBackColor or selectionColor).
 */

// Levels of texture quality
enum TEXTURE_QUALITY(uint32) {
    -1    =    LOW;
    0    =    MEDIUM;
    1    =    HIGH;
}

// Light modes
enum LIGHT_MODE(uint32) {
    0 = SHADOWS;
    1 = NO_SHADOWS;
    2 = NO_LIGHTS;
}

// werkkzeug.config
struct wz3config {
    // Start tag, always '<<<<'
    uint32 startTag;
    // Format identifier (always 0x01000014)
    uint32 formatId;
    // Version of format
    uint32 formatVersion;
    // Length of file (from MDIMode to unknown14 inclusive), measured in dwords
    uint32 length;
    // MDI-mode
    uint32 MDIMode;
    // Use small font
    uint32 smallFont;
    // Show scrollbars
    uint32 showScrollbars;
    // View window background color
    uint32 viewBackColor;
    // Status bar color
    uint32 statusBackColor;
    // Color of selection
    uint32 selectionColor;
    // Font color
    uint32 fontColor;
    // Autosave interval
    uint32 autosaveInterval;
    // 
    uint32 unknown1;
    // Texture quality
    TEXTURE_QUALITY textureQuality;
    // Sound volume
    uint32 volume;
    // 
    uint32 unknown2;
    // Texture cache size (bytes)
    uint32 textureCache;
    // Mesh cache size (bytes)
    uint32 meshCache;
    // Cull distance
    float32 cullDistance;
    // Auto light range
    uint32 autolightRange;
    // 
    uint32 unknown3;
    // log2 of texture size (in view window)
    uint32 textureSize;
    // Toggles Skin'05
    uint32 skin05;
    // 
    uint32 unknown4;
    // Wire selection color
    uint32 wireSelColor;
    // Wire color
    uint32 wireColor;
    // Wire sub color
    uint32 wireSubColor;
    // Col add color
    uint32 colAddColor;
    // Col sub color
    uint32 colSubColor;
    // Vertex color
    uint32 vertexColor;
    // Hints color (3D mode)
    uint32 hintsColor;
    // Hidden color
    uint32 hiddenColor;
    // Face color
    uint32 faceColor;
    // Grid color
    uint32 gridColor;
    // Background color (3D mode)
    uint32 viewBackColor3D;
    // Col zone color
    uint32 colZoneColor;
    // Length of active user name
    uint32 userLength;
    // Active user name
    char[userLength] user;
    align 4;
    // Length of name of recently opened file
    uint32 rfLength;
    // Name of recently opened file
    char[rfLength] recentFile;
    align 4;
    // 
    uint32 unknown5;
    //
    uint32 unknown6;
    //
    uint32 unknown7;
    //
    uint32 unknown8;
    // Portal color
    uint32 portalColor;
    //
    uint32 unknown9;
    // Light / shadow mode
    LIGHT_MODE lightMode;
    // Sound on(1) or off(0)
    uint32 soundEnabled;
    // 
    uint32 unknown10;
    // Do not show splash screen
    uint32 hideSplash;
    // 1-local help, 0-remote help
    uint32 localHelp;
    // Default texture format DXT1
    uint32 DXT1;
    // 
    uint32 unknown11;
    //
    uint32 unknown12;
    //
    uint32 unknown13;
    //
    uint32 unknown14;
    // End tag, always '>>>>'
    uint32 endTag;
}