So i removed all the other files from the project, and just built with Win32Handmade.cpp. And it ran again :D So I'll have to leave on 'Show All Files'
Weird thing tho, the line
| tSine += 2.0f*Pi32 / wavePeriod;
|
still gives errors:
error C2059: syntax error : '='
error C2143: syntax error : missing ';' before '/'
But i have the Pi32 define before the Handmade.cpp include.
Edit: changed the Pi32 define to read:
#define Pi32 3.14159265359f instead of
#define Pi32 = 3.14...;