$(ProjectDir)Includes\lua5.1
$(ProjectDir)Includes\SDL
$(ProjectDir)src
$(ProjectDir)data
Also add the folder where you put the generated files.WIN
USE_SDL
USE_STDINT
It might also be a good idea to define the version numbers and release/beta preprocessor definitions here as well.dist = sqrt(pow(nxi, 2)+pow(nxj, 2));
and change it todist = sqrt(pow((float)nxi, 2)+pow((float)nxj, 2));
.angle = atan2(nxj, nxi);
and change it toangle = atan2((float)nxj, nxi);
.