Trace Engine
A Raycaster Engine in C
Loading...
Searching...
No Matches
levels_info.c File Reference
#include "levels_info.h"
#include "map.h"

Variables

structures_t current_w_map [MAX_MAP_SIZE] = {0}
 
structures_t current_f_map [MAX_MAP_SIZE] = {0}
 
structures_t current_c_map [MAX_MAP_SIZE] = {0}
 
structures_t map_w []
 
structures_t map_f []
 
structures_t map_c []
 
trc_world_position_t maps_sizes [LEVEL_COUNT]
 
trc_world_position_t camera_spawns [LEVEL_COUNT]
 

Variable Documentation

◆ camera_spawns

Initial value:
=
{
}
Definition trc_world_position.h:7

◆ current_c_map

structures_t current_c_map[MAX_MAP_SIZE] = {0}

◆ current_f_map

structures_t current_f_map[MAX_MAP_SIZE] = {0}

◆ current_w_map

structures_t current_w_map[MAX_MAP_SIZE] = {0}

◆ map_c

structures_t map_c[]
Initial value:
=
{
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
}

◆ map_f

structures_t map_f[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