I'm currently rewriting a personal project to look more like handmade hero's code. I'm very confused about Casey including .cpp files, like #include "handmade_tile.cpp"" inside of handmade.cpp. Is it a temporary solution, or is it the correct way to code in conjunction with inline and static? When I copy this style I get buried in multiple definition and undefined reference errors.
I'm far behind in watching the videos, and I can't find the video where he talks about this specifically. I'm certain that is the reason I'm having so much trouble.