Setting a Custom Background

2»

Comments

  • edited June 2012
  • @iarwain said:
    No worries! :)

    Mmh, what are you trying to do exactly? I have to admit I'm not sure...

    Here in the facts you're re-declaring a function of orx. A re-declaration of functions is not something allowed in C/C++.

    In your redeclaration you don't specify a type for the first argument of the function, that's why the compiler is trying to interpret orxKEYBOARD_KEY_LEFT as a type (like orxU32, orxFLOAT, etc...), which doesn't make much sense and he's letting you know about it. :)

    What is the error message that the compiler gives when you redeclare a function without specifying the type of the first argument?

Sign In or Register to comment.