scene_loader.c
void FillGameMapArray(SceneData* scene_data, int mode){
	
	if(mode == 0){
		int height = 55;
		for(int i = 0; i < DISPLAY_WIDTH; i++){
			scene_data[CURRENT_SCENE].game_map_array[i] = (DISPLAY_HEIGHT - height);
		}
	}else if(mode == 1){
		// Predefined array
	}
	
	return;
}
/* Fill game map array into current scene with different modes
   modes - 0 line
         - 1 predefined array n.1
*/
Fill game map array into current scene with different modes
modes - 0 line
1 predefined array n.1
Fill game map array into current scene with different modes modes - 0 line 1 predefined array n . 1
void FillGameMapArray(SceneData* scene_data, int mode){
	if(mode == 0){
		int height = 55;
		for(int i = 0; i < DISPLAY_WIDTH; i++){
			scene_data[CURRENT_SCENE].game_map_array[i] = (DISPLAY_HEIGHT - height);
		}
	}else if(mode == 1){
	}
	return;
}
void FillGameMapArray ( SceneData * scene_data , int mode ) { if ( mode == 0 ) { int height = 55 ; for ( int i = 0 ; i < DISPLAY_WIDTH ; i ++ ) { scene_data [ CURRENT_SCENE ] . game_map_array [ i ] = ( DISPLAY_HEIGHT - height ) ; } } else if ( mode == 1 ) { } return ; }
Fill game map array into current scene with different modes
modes - 0 line
 1 predefined array n.1
Fill game map array into current scene with different modes modes - 0 line 1 predefined array n . 1
// Predefined array