1 --- 2 2006-12-05 17:07:24.000000000 +0100
2 +++ LPARSER.C 2006-12-05 16:58:35.000000000 +0100
15 /* Basic types ------------------------------------------------------------ */
19 #define u8 unsigned char
20 #define u16 unsigned short int
21 @@ -1981,18 +1982,18 @@ Get_value(u32 *j)
34 { /* Process a ls file and setup */
36 char name[max_file], temp[rule_s];
41 object_s = (char *) malloc(max_string);
42 @@ -2146,17 +2147,17 @@ L_init(void)
45 Message("Rule : %s\n", rule[i]);
53 { /* Apply mutations to the rules */
54 s16 i, j, k, rules, ii, max = 1000;
55 char T, R, S[10] = "";
58 for (i = 0; i < num; i++) {
59 if (rule[i][0] == '+')
61 @@ -2342,17 +2343,17 @@ L_mutate(void)
72 { /* Expand l-system into production
73 * string. Object_s is read with
74 * the k counter and the next
75 * generation is build up in otemp
76 * with the ot counter. */
78 u32 k, st, s, ss, max = max_string - 10L;
80 @@ -2447,17 +2448,17 @@ L_save(void)
91 { /* Process a production string and
93 vector pos, end, v, fow, upp, lef;
94 u32 i, max = strlen(object_s);
95 r32 r, a, thick_l, ang_l, dis_l, dis2_l, trope_l;
96 s16 vcount, pcount, j;
97 char temp[max_file], next;
98 boolean found, poly_on = FALSE;
99 @@ -3042,17 +3043,17 @@ Help(void)
100 Message("%s \t-g add ground plane\n", "ls");
101 Message("%s \t-L [num] set amount for ~ command\n", "ls");
102 Message("%s \t-P [num] set amount for t command\n", "ls");
104 Message("%s \t-p [num] limit polygons to [num]\n", "limit");
110 main(int argc, char *argv[])
116 /* Store the pointers to the comline */