More moving stuff around

git-svn-id: https://aklabs.dyndns.org/svn/aklabs/trunk/games/spaceshooter@52 eb184899-6090-47d4-a65b-558f62f6ea1c
This commit is contained in:
andrew
2010-07-29 01:46:34 +00:00
commit 6a0f35c88a
110 changed files with 24350 additions and 0 deletions

16
cpp/Control.h Executable file
View File

@@ -0,0 +1,16 @@
#ifndef __CONTROL_H__
#define __CONTROL_H__
struct Controller
{
int joyNum; // set to > -1 to get the number of the joystick used to control this item
int keyBoard; // set to 1 to let the keyboard control this player
int mouse; // set to 1 to let the mouse control this player
Controller( int joyNum = -1, int keyBoard = 0, int mouse = 0) {
this->joyNum = joyNum;
this->keyBoard = keyBoard;
this->mouse = mouse;
}
};
#endif