Amulets & Armor
v1.02
Open Source Game
|
Various Updates. More...
Various Updates.
This is various update code for controlling timing updates. It is primarily to update animations.
UpdateEveryFive is called every five seconds while the 3D view is active.
NOTE: If you need something called every five seconds while a form is on the screen, it does NOT go here.
UpdateFrame is called once per frame animation of the 3D view. Anything that is remotedly related to the frame rate ought be called.
UpdateGameBegin is one of the first routines called in the game. All game initialization goes here.
UpdateGameEnd is the last routine called before the game is shut down. Do your deinitialization here.
UpdateMapBegin is called immediately after a map has been loaded. Anything that must be initialized just before game play starts is done here.
UpdateMapEnd is called immediately before the map is unloaded. Call anything that needs to be destroyed before the map is destroyed.
UpdateOften executes any code that needs to be called in a regular basis (typically as fast as possible).