Forgot to commit the SDL_Main, which is required for compilation. Attacking works for directions UP and RIGHT, but not LEFT or DOWN. I'm sure it's just an issue with my math, or some misplaced value