Difference between revisions of "Layout part directory"

From Worms Knowledge Base

Jump to: navigation, search
(Create page.)
 
(Unknown is a "property" or "behavior" field. Forgot the rest. Taken from my old code's description.)
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
 
| uint32 || 4 || Bottom || Y + height coordinate of the element.
 
| uint32 || 4 || Bottom || Y + height coordinate of the element.
 
|-  
 
|-  
| uint32 || 4 || Unknown ||
+
| uint32 || 4 || Property || Determines special handling for the element, unclear which exactly.
 
|-
 
|-
| uint32 || 4 || Version || A value which must lie between 1-4 for the game to accept the element.
+
| uint32 || 4 || Version || A value which must lie inclusively between 0-4 for the game to accept the element.
 
|}
 
|}

Latest revision as of 17:17, 1 July 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 Property Determines special handling for the element, unclear which exactly.
uint32 4 Version A value which must lie inclusively between 0-4 for the game to accept the element.
Personal tools