baylej / tmx

C tmx map loader
http://libtmx.rtfd.io/
BSD 2-Clause "Simplified" License
242 stars 54 forks source link

Documentation issue with SDL2 code #46

Closed raysan5 closed 4 years ago

raysan5 commented 4 years ago

Hey! Thanks for the raylib implementation and the great documentation.

Just noted an issue with SDL2 Tile Layers Code, it's Allegro code instead of SDL2.

Also, on the Initial Setup code for raylib you are including <stdlib.h> and <string.h>, those libraries are not required.

:)

baylej commented 4 years ago

Thanks, I'm bad at copying and pasting :upside_down_face:

Header <stdlib.h> is providing function declarations that are used later in the tutorial (malloc and free), but at that step it is indeed useless. Header <string.h> will be removed.