Level specific Section entry structure. Defines prererences of one section. More...
#include <lvl_filedata.h>
Public Attributes | |
| int | id |
| ID of section (starts from 0) | |
| long | size_top |
| Y-Position of top side of section. | |
| long | size_bottom |
| Y-Position of bottom side of section. | |
| long | size_left |
| X-Position of left side of section. | |
| long | size_right |
| X-Position of right side of section. | |
| unsigned int | music_id |
| ID of default music in this section (starts from 1, 0 is silence) | |
| long | bgcolor |
| [UNUSED] RGBA defines color of background if image is not defined. | |
| bool | wrap_h |
| Enables horisontal wrap. | |
| bool | wrap_v |
| Enables vertical wrap. | |
| bool | OffScreenEn |
| Level will be exited when playable character will exit out of screen. | |
| unsigned int | background |
| ID of background image of this section. | |
| bool | lock_left_scroll |
| Enable lock of walking to left direction. | |
| bool | underwater |
| Sets default physical environment of this section is - water. | |
| PGESTRING | music_file |
| Custom music file which will be playd if music ID defined to "Custom" music id. | |
| long | PositionX |
| Recent camera X position. | |
| long | PositionY |
| Recent camera Y position. | |
Level specific Section entry structure. Defines prererences of one section.
1.8.7