I'm a bit ahead in our programming class, so I decided to look at the code of Quake III instead of do the regular assignments. Trouble is, the teacher is so busy helping the other students (only on while statements!), he's left me to fend more or less for myself. So, I'm having a little trouble, needless to say.
First off, how do the header files distinguish any of the code? There aren't even other header files included in them. How does it know #declare is a command and not a really big number? Second, its declaring all those variables to be numbers. Some numbers are equal to others, yet do different things. How is this possible? Third, I don't see anywhere where these header files are used. There are "shader files" (I have no clue what they are, but that's what they're called). Those aren't c++ though. I also can't use any of the declared variables in Quake III. Shouldn't I be able to?