Project

General

Profile

Revision 1043

Added by Rich Hong about 15 years ago

max_objs is not an argument of load_world. Remove starts_with

View differences:

world.h
32 32
						  (b).p2.y);}
33 33
#define PRAY(v) {printf("(%g,%g), %g\n", (v).p.x, (v).p.y,(v).d);}
34 34

  
35
#define MAX_OBJS 100
36 35
#define BUF_SIZE 512
37 36

  
38 37
typedef struct {
......
96 95
/* WORLD 0 0 512 512
97 96
 * POLYGON 3 CONNECTED 1 2 3 4 5 6
98 97
 */   
99
int load_world (const char* filename);
98
int load_world (const char* filename, int max_objs);
100 99
int load_object (const char* line);
101
int starts_with (const char* line, const char* word);
102 100

  
103 101
#endif
104 102

  

Also available in: Unified diff