Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualMathew Bergen

Posted 15 February 2013 - 01:22 AM

That looks correct to me. Can you post a larger example of why you think they're not working?

 

There is an alternate way to write them, but it's not necessarily better or worse, just different (see the linked thread for arguments for/against each way).

 

I have a button class which includes the Image handler class and so does my System class(The system class contains the GameLoop). When I commented the Button code It worked.

 

 

 

Do you ever #undef anything? I can't think of why else you would be getting a redefinition error.

No.


#1Mathew Bergen

Posted 15 February 2013 - 01:20 AM

That looks correct to me. Can you post a larger example of why you think they're not working?

 

There is an alternate way to write them, but it's not necessarily better or worse, just different (see the linked thread for arguments for/against each way).

 

I have a button class which has The Image handler class in it as well as the System class(The system class contains the GameLoop). When I commented the Button code It worked.

 

 

 

Do you ever #undef anything? I can't think of why else you would be getting a redefinition error.

No.


PARTNERS