  *.mpr   .
 1.0.
 2007 Gipat Group.

 :

 * Sagrer (sagrer@yandex.ru)

   ,  /   
      GNU Free Documentation License,
 1.2     ,  Free Software
Foundation;

     ,  
,         ,
    .

       , . 
fdl.txt.    () .   fdlrus.htm
___________________________________________

    -.

  [zonename].mp -  .
   [zonename][sectionnumber].sec

 mp.        .

1) 4  -  (72 F6 4A CE) (3461019250)
2) MaxZ. 4 . Float -     Z (  ).
3) XSectorsCount. 4 . uns_long -     x.
4) YSectorsCount. 4 . uns_long -     y.
5) TexturesCount. 4 . uns_long -   -   ,   .
6) TexSize. 4 . uns_long -  .
7) TilesCount. 4 . uns_long -    .
8) TileSize. 4 . uns_long -  .
9) ObjectsCount. 2 . uns_short -    .
10) AnimatedTilesCount. 4 . uns_long -   .
11) ObjectArray.    SMapObject.     ObjectsCount.
12) IdArray.     uns_long ( 4 )   ID .     - . TilesCount.                  .
13) AnimArray.   STileAnimInfo.     .   - AnimatedTilesCount.   - 4  (  word).

 :
I)SMapObject
  1)Type - 4  - uns_long -  .  :
      TOT_UNDEF = 0,					// Unidentified
	TOT_TERRAIN = 1,				// Base terrain type
	TOT_WATER_NOTEXTURE = 2,		// Water without texture
	TOT_WATER = 3,					// Textured water
	TOT_GRASS = 4					// Textured grass
  2)ColourR - 4  - float -  ()
  3)ColourG - 4  - float -  ()
  4)ColourB - 4  - float -  ()
  5)Opacity - 4  - float - .
  6)SelfIllum - 4  - float -  ...
  7)WaveMultiplier - 4  - float - 
  8)WarpSpeed - 4  - float -  - ...
  9)Reserved1 - 4  - float - .
  10)Reserved2 - 4  - float - .
  11)Reserved3 - 4  - float - .

II)STileAnimInfo
  1)AnimatedTileIndex - 2  - word -  
  2)AnimationPhases - 2  - word -    .
___________________________________________________________________________

 -     -  *.sec.  [zonename][sectionnumber].sec.

zonename -    *.mp  .   .
sectionnumber   - X - 3 ,  Y 3 .  Zone3obr004001.sec     X=4 Y=1.

  -   .  - 33 .  1089 .    -      -     -   -     1089 .

  SSectVert:
1) XOffset - 1  -    X
2) YOffset - 1  -    Y
3) Zcoord - 2  -   -   Z.
4) Normal - 4  - .
 - 8 .

,    :
1) ID - 4  - int -     ...
2) 1    - water.     .      -   03.   - 00.
3) LandVerts.    SSectVert -   .    33*33=1089.
 water=00     .  -       -  .
4) LandTextures.    word -  2  -       .   - 16*16=256.
 water=00     .  -       -  .

5)     - WaterAllow - 256   word.   = 1 -        ,  -  .

   .