subatomic 2002/05/14 07:40:30 PDT
Modified files:
gamekernel/gk AbstractGameApp.h IGameApp.h
Log:
named the frame functions correctly (what ben ambiguosly calls "update" :)
they were called draw, but why would we need pre and post draw? They are
pre and post update now. (i.e. if it is pre draw, we can't draw there
because there is no context, therefore lets not call it draw. call it
update. this would all be avoided if we called it preFrame, postFrame,
intraFrame)
once again.
update is for computations, draw is for gl functions. some people will
just use draw... this is ok of course, just not very sophisticated.
also modified comments to explain this ordering, and intended usage of the
functions. hopefully this doesn't need to change again...
Revision Changes Path
1.6 +46 -25 lib/gamekernel/gk/AbstractGameApp.h
1.5 +45 -25 lib/gamekernel/gk/IGameApp.h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/gamekernel/gk/AbstractGameApp.h.diff?r1=1.5&r2=1.6&diff_format=h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/gamekernel/gk/IGameApp.h.diff?r1=1.4&r2=1.5&diff_format=h
|