Originally Posted By: Ottawa
Hi!

By writing in your code the name of the function
my_robot_function ();
which is in your "robotshowcase.c"

I think that the include should be at the top of your main.c file
under all the other includes
and not in a function.
You where in fact trying to call the actions of your entity with the include
That's not the way to do it. You have to call the name of the function wink



I always thought that if you defined an #include in a function that it becomes a local function. and #includes defined outside of functions are global...but i think i may be wrong...if im right..then he would just define the #include before the action hes calling. that way it has its file to call from...thats my thinking though.


-Initiate Games
-Level designer

http://www.sckratchmagazine.com