# | Line 36 | Line 36 | static struct { | |
---|---|---|
36 | ||
37 | static int nlights; /* number of defined lights */ | |
38 | ||
39 | < | static void l_flatsrc(), l_sphsrc(), l_source(); |
39 | > | static void l_flatsrc(int), l_sphsrc(int), l_source(int); |
40 | ||
41 | ||
42 | void | |
43 | lightinit() /* initialize lighting */ | |
44 | { | |
45 | GLfloat ambv[4]; | |
46 | – | register int i; |
46 | ||
47 | if (!dolights) | |
48 | return; | |
# | Line 73 | Line 72 | lightclean() /* clean up light source commands */ | |
72 | void | |
73 | lightdefs() /* define light source list */ | |
74 | { | |
76 | – | register int i; |
77 | – | |
75 | if (!nlights) | |
76 | return; | |
77 | glNewList(lightlist, GL_COMPILE); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |