What the hell! C# question

Miscellaneous Forums/General Discussion/What the hell! C# question

Alright mabe 10 is a bit many and i would rarely need more than a few, but device initialization in irrlicht for example have the required ones (resolution, depth) and then about 6 or seven other defaults for renderer, shadows and other things that dont need applying a value too unless needed.

What is the alternative if a function has to initialise many things, most of which can be standard defaults? I guess i could create a separate defaults structure for it, but thats a bit of a pain in the A. (unless there is another way you can enlighten me about)

edit for edit:
Thanks, i will experiment some more. I shall maintain my state of horror for now :)