wrack_header_t | ||
uint32_t | magic_number | MMAP |
uint32_t | map_version | 25 |
wrack_string_t | map_name | |
wrack_string_t | storyboard_name | |
wrack_string_t | skybox_name | |
wrack_string_t | next_map_name | |
uint16_t | par_time | |
uint32_t | par_score | |
uint16_t | quickplay_order | |
wrack_string_t | author_name | |
wrack_string_t | music_file_name | |
wrack_string_t | boss_music_file_name | |
wrack_string_t | ambient_sound_file_name | |
float | ambient_sound_volume | |
boolean | is_fog_enabled | |
uint32_t | rgba_fog_colour | Alpha is unused |
float | fog_start | |
float | fog_end | |
uint32_t | map_flags | |
uint32_t | vertex_count | |
uint32_t | face_count | |
uint32_t | zone_count | |
uint32_t | ground_count | |
uint32_t | thing_count |
wrack_vertex_t | ||
int16_t | x | |
int16_t | y | |
int16_t | z | |
float | texture_coord_u | |
float | texture_coord_v | |
float | lightmap_coord_u | |
float | lightmap_coord_u |
wrack_face_t | ||
uint32_t | vertex_count | |
uint32_t* | vertex_index | One index for every vertex |
uint32_t | face_flags | |
wrack_string_t | texture_file_name | |
float | texture_rotation | |
float | texture_x_scale | |
float | texture_y_scale | |
float | texture_x_offset | |
float | texture_y_offset | |
boolean | is_texture_x_flipped | |
boolean | is_texture_y_flipped | |
uint8_t | texture_plane_type | |
uint8_t | light | |
uint32_t | rgba_light_colour | |
float | friction | |
uint32_t | unknown_1 | Unknown |
wrack_string_t | action | |
uint8_t | activation_type | |
uint8_t | activated_by | |
uint8_t | tag | |
uint8_t | unknown_2 | Unknown |
wrack_string_t | argument_1 | |
wrack_string_t | argument_2 | |
wrack_string_t | argument_3 | |
wrack_string_t | argument_4 | |
wrack_string_t | argument_5 | |
uint32_t | fx_flags | |
uint32_t | rgba_fog_colour | Actually saved as BGRA |
float | fx_start | |
float | fx_end |
wrack_zone_t | ||
uint32_t | face_count | |
uint32_t* | face_index | One index for every face |
uint16_t | type | |
uint16_t | tag |
wrack_group_t | ||
uint32_t | face_count | |
uint32_t* | face_index | One index for every face |
wrack_thing_t | ||
wrack_string_t | name | |
wrack_string_t | data | Unknown behaviour |