Technically, G-man's cog isn't syntacically correct cog (although you can see the principle points of the cog clearly enough :))
For just one way of doing this (and there are plenty of alternative coding styles ;)) why not try something like this:
All that seemed out of place from conventional cogging was the set of curly-braces and the inclusion of the "player" (as an int - it isn't referenced anywhere ;))... other than that, I have no quibbles whatsoever
Hope this helps
-Jackpot
EDIT: Sniperwolf posted his suggestion whilst I was typing mine, but he's quite right - if you want a good example of camera tricks and what-not, then I suggest visiting SaberMaster's site [
http://geocities.com/sabersdomain/index.html ] for his chase-cam. I know it's not resident evil style, but it's got more than a few tips-n'-tricks to keep you interested