On Thu, Dec 19, 2002 at 07:05:04PM -0500, Steven Radziul wrote: > Disreguard my previous email, there was some stuff missing, and a poor way > of dealing with other things. Use this one instead. Someone explain to me > why in gods name does control have to be passed to game_loop_unix, when its > declared outside anyways?
Because it -is- declared outside, but not as a global. control is defined as an automatic variable in function main(), so the only way that game_loop_unix() can see it is if main() tells it what the value is. If control were a global, yes, it wouldn't be needed to be passed as a parameter, but then you have the style rules about polluting the global namespace to balance.

