I do apologize for the late response but here is an update on the situation.
The controller portion of the code was not working at all when I posted this so I went to work on some other things. Incidentally, these other things involved controllers(yay for video games, right?) and I found that My controller was not reading for any of my games either. So I rebooted which involved a nice system update(Thanks windows 10) and my computer crashed during the update with a BSOD about a driver failure. I'm not sure if it was related, I didn't really dig down into it since I plan on rebuilding my system soon anyways but magically my controller worked again(at least for video games. I didn't test on HMH until today). So today I read your response and went back to debug the sections you told me to check and the controller code worked fine. The BlueOffset was being adjust accordingly, the controllers were initialized correctly, etc. Everything was all good and dandy and the variables were set correctly.
I went ahead and turned on the 'treat warnings as errors' option and the build failed again.
I am building a VS Solution. This is what I am more familiar with and since I was using VS as my text editor it made sense for me to use it(at least in my mind).
Yes, line 877 does have a call to GameUpdateAndRender.
| warning C4505: 'GameUpdateAndRender': unreferenced local function has been removed
|
I went ahead and set up the build.bat compiling setup that Casey uses and it compiles with no issues, including the static/extern type swap.
So I imagine that the way VS builds the program and links it together is what is really causing the mismatch for C4505 as well as the static(internal)/extern variable situation