From bb6b4df88ee61fdacd0704ae7c8a54ab81f8a0e9 Mon Sep 17 00:00:00 2001 From: Meep-Eep Date: Mon, 10 Mar 2008 22:40:29 +0000 Subject: [PATCH] File creation. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2950 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/doc/devel/battleinput | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sc2/doc/devel/battleinput diff --git a/sc2/doc/devel/battleinput b/sc2/doc/devel/battleinput new file mode 100644 index 000000000..19eea8743 --- /dev/null +++ b/sc2/doc/devel/battleinput @@ -0,0 +1,13 @@ +The UQM source now has a concept of input context for melee control. + +A base InputContext structure is defined in battlecontrols.h. It defines +the common fields of all the specific structures for each control method. + +Among these fields is a BattleInputHandlers structure, which defines the +functions which handle various input actions for melee, such as frame input, +selecting the next ship, and querying readiness at the end of a battle. + +Structures ComputerInputContext, HumanInputContext, and NetworkInputContext +are "derived" from InputContext and can contain additional fields for the +specific control method. +