|
|
|
|
GM_setEventFunc
Sets the event callback function
Declaration
void MGLAPI GM_setEventFunc(
GM_eventFunc func)
typedef void (*GM_eventFunc)(
event_t *evt)
Prototype In
gm/gm.h
Parameters
func |
Event callback function to register |
Description
This function sets the general event callback function for your Game Framework game and is called by the Game Framework main loop (GM_mainLoop) multiple times per frame to process all non key and non mouse related events in the order that they are entered by the user (ie: timer or user events).
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com