• Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

109 Neutral

About SuperRoy

  • Rank
    Advanced Member
  1. http://ticalc.org for the calculator.
  2. more SDL help

    I could be wrong, but I thought SDL used SDL_main as a main( ) function?
  3. Kanye West Speaks Out On NBC Hurricane Drive

    So just because he's famous, his opinion matters more than anyone else? He's an asshole for using his status to force his personal opinions into the public.
  4. A wanna be J2ME programmer

    I'm also going to back him up with Eclipse. (On a side note: Sneftel, awesome avatar...being a math major, it gets me right in the heart.)
  5. SDL and collison detection

    Quote:Original post by Drew_Benton SDL_BlitSurface(obj,NULL,screen,&ball); //error That causes a problem because SDL_BlitSurface follows this format: int SDL_BlitSurface(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect); So what you need to have is something like this: SDL_BlitSurface(obj,NULL,screen,&ballpos); I think you just had a mistype when you were doing it [wink] You had ballpos declared as the SDL_Rect containing where it needs to be drawn at. I'm pretty sure that you don't need the & in &ballpos ... I could be getting my pointers confused though. But he's definitely right. You're passing a BALL_INFO struct, when it requires SDL_Rect*
  6. Doom 3 Visibility

    Doom 3 is pretty dark.
  • Advertisement