Main Page   Data Structures   File List   Globals  

Input Module Documentation

Here is the Doxygen documentation for the Input Module.

This module takes mouse clicks from the user and converts them into the corresponding moves or button presses. These are passed to the game core as move or button messages.

The input module also receives a player number from the lobby module at the start of the game. This is used when sending messages to the game core module.

Each .c file contains the code inside a VCC behaviour block. Every block contains the following 2 functions:

The first function runs when the VCC simulation first starts and the second runs whenever a message arrives at any of the block's input ports.


Copyright © 2002 Andrew Bates
Last Updated 03/04/02