update viewports of cameras before executing behaviors, so that the new viewport information is available in the behavior functions

fix incorrect file/line information when catching GL errors

start giving the game code more structure

(0) -100 -30 -10 -3 +3 tip

mercurial