Amulets & Armor  v1.02
Open Source Game
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Structures | Macros | Functions
CONTROL

Mouse Control in Game. More...

Data Structures

struct  T_controlMouseStruct
 

Macros

#define JUMP_RESET_TIME   20
 

Functions

T_void ControlColorizeLookString (T_byte8 *string)
 
T_void ControlDisplayControlPage (T_void)
 
T_void ControlFinish (T_void)
 
T_sword16 ControlGetLookAngle (T_void)
 
T_sword16 ControlGetLookOffset (T_void)
 
T_void ControlInitForGamePlay (T_void)
 
T_void ControlInitForJustUI (T_void)
 
T_void ControlPointerReset (T_void)
 
T_void ControlSetDefaultPointer (E_controlMousePointerType type)
 
T_void ControlSetObjectPointer (T_3dObject *p_obj)
 

Detailed Description

Mouse Control in Game.

All the neat features of the mouse control is handled here.

See Also
http://www.amuletsandarmor.com/AALicense.txt

Use this code to control what the mouse cursor looks like and what the mouse actions do.

Macro Definition Documentation

#define JUMP_RESET_TIME   20

Function Documentation

T_void ControlColorizeLookString ( T_byte8 string)
T_void ControlDisplayControlPage ( T_void  )
T_void ControlFinish ( T_void  )

Shuts down and cleans up control things. Restores the mouse to the default bitmap.

free up the mouse pointer resource.

T_sword16 ControlGetLookAngle ( T_void  )
T_sword16 ControlGetLookOffset ( T_void  )
T_void ControlInitForGamePlay ( T_void  )

Sets up the mouse (& keyboard?) for control in the game. Initializes all necessary variables and default mouse bitmap, ect.

Initialize the mouse.

T_void ControlInitForJustUI ( T_void  )

Sets up the mouse (& keyboard?) for control in ui situations. Initializes all necessary variables and default mouse bitmap, ect.

Initialize the mouse.

T_void ControlPointerReset ( T_void  )
T_void ControlSetDefaultPointer ( E_controlMousePointerType  type)
T_void ControlSetObjectPointer ( T_3dObject p_obj)