I should have come up with this way earlier. Would
have made my task much easier... Ah well, it just pays
to keep learning...
Regards,
Tim
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmx de
> Yes, I have written some includes like this. I have used this technique to
> create a pseudo SDL with a scene file in order to make my macro calls
> shorter. Something like this:
>
> #macro Make_Tri (Tons of parameters)
>
> #macro Start_Mesh (Tons of parameters)
> #macro Make_Triangle (Basic parameters)
> Make_Tri (Basic parameters + tons of parameters)
> #end // #macro Make_Triangle
> #end // #macro Start_Mesh
>
> // *******
> // **usage
> // *******
>
> Start_Mesh (Tons of parameters)
> Make_Triangle (Basic parameters 1)
> Make_Triangle (Basic parameters 2)
> etc.
> etc.
>
> -Shay
>
Post a reply to this message
|