Difference between revisions of "Layout part directory"
From Worms Knowledge Base
(Create page.) |
m (Oops Version) |
||
Line 30: | Line 30: | ||
| uint32 || 4 || Unknown || | | uint32 || 4 || Unknown || | ||
|- | |- | ||
− | | uint32 || 4 || Version || A value which must lie between | + | | uint32 || 4 || Version || A value which must lie inclusively between 0-4 for the game to accept the element. |
|} | |} |
Revision as of 16:38, 30 June 2020
(Up to File formats)
Worms World Party Aqua defines the user interface layout for each screen or window in an LPD file.
File format
Type | Size | Name | Description |
---|---|---|---|
uint32 | 4 | Element Count | The number of Element structures following. |
Element[ElementCount] | - | Elements | Definition of one element. See below. |
Each Element structure is defined as follows:
Type | Size | Name | Description |
---|---|---|---|
uint32 | 4 | Name Length | Number of KS C 5601-1987 (Korean codepage 949) encoded characters following |
char[NameLength] | Name Length | Name | Relative path to the IGD file storing the images of this element. |
uint32 | 4 | Left | X coordinate of the element. |
uint32 | 4 | Top | Y coordinate of the element. |
uint32 | 4 | Right | X + width coordinate of the element. |
uint32 | 4 | Bottom | Y + height coordinate of the element. |
uint32 | 4 | Unknown | |
uint32 | 4 | Version | A value which must lie inclusively between 0-4 for the game to accept the element. |