• PTG File Format - Map Textures

    Contains the terrain tile textures (.TIM).

    All files have to be the same size in bytes.


    Code
    1. 4 int textureCount
    2. foreach(texture) //sizeof = (ptgFileSize - 4) / textureCount
    3. {
    4. * char[] textureBuffer
    5. }

Share