Project

General

Profile

Revision 217

changed stuff place

View differences:

map1.h
5 5
#include "map1_collide.xpm"
6 6
#include "sprite.h"
7 7

  
8
#include "xpm_utils.h"
9

  
8 10
map_t* get_map1(void){
11
    char **map1         = xpm_load_xpm2("maps/map1.xpm2");
12
    char **map1_collide = xpm_load_xpm2("maps/map1_collide.xpm2");
9 13
    return map_ctor((const char **)map1_xpm, (const char **)map1_collide_xpm);
14
    free(map1); free(map1_collide);
10 15
}
11 16

  
12 17
#endif /* end of include guard: MAP_H_INCLUDED */

Also available in: Unified diff