It only took an hour or two to get the code building again. Most of the time was spent getting the code to compile with Visual C++ 2010 Express. Took another hour or two to track down a problem with the stencil shadows. For sum reason I was calling abs() on sum unsigned int's. On that note this ~10 year old code is scary. Turns out I have learn a thing or two about programming since then.
Lesson #1 for old me:
Use "Asserts". There is not one assert in the whole project. Making debugging a nightmare.
Lesson #2 for old me:
Clean up Warnings. The project had hundreds of warnings. Warnings can help you catch dumb code but you will not see the good ones with all that noise.
No comments:
Post a Comment