示例#1
0
/*
================
idEvent::ClearEventList
================
*/
void idEvent::ClearEventList( void ) {
	int i;
	//
	// initialize lists
	//
	FreeEvents.Clear();
	EventQueue.Clear();
	//
	// add the events to the free list
	//
	for( i = 0; i < MAX_EVENTS; i++ ) {
		EventPool[i].Free();
	}
}