A few weeks ago i made a topic asking help on a tile map system. I couldnt get any collision working so i decided jsut to go the hard way and impliment Lazy Foo's tilemap from his tutorial. So far my computer hasnt exploded so thats a good thing, but when i build it i get 2 errors:
error C3861: 'check_collision': identifier not found
error C3861: 'draw_surface': identifier not found
I looked up google for a solution but i found nothing so i thought you guys might have come accorss a simplar problem or know what im doing wrong. so far i have these files:
Code: Select all
main.cpp ( includes all the header files )
variables.h ( includes SDL.h, <string> and <fstream> )
functions.h ( includes variables.h and classTile.h )
classTimer.h ( includes SDL.h and functions.h )
classPlayer.h ( includes SDL.h, functions and classTimer
classTile.h ( includes variables or functions, ive tried both and each singularly )