~ubuntu-branches/ubuntu/raring/powermanga/raring

« back to all changes in this revision

Viewing changes to src/keymap.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2006-08-19 10:15:56 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060819101556-llg7innyzoadukro
Tags: 0.80-3ubuntu1
* Re-merge with Debian
* Fix desktop file for validation
* Install icon in /usr/share/pixmaps

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//*****************************************************************************
2
 
// copyright (c) 1998-2004 TLK Games all rights reserved
 
2
// copyright (c) 1998-2002 TLK Games all rights reserved
3
3
//-----------------------------------------------------------------------------
4
 
// file         : "keymap.cpp"
 
4
// file         : "keymap.hpp"
5
5
// created      : ?
6
 
// updates      : 2004-08-01
 
6
// updates      : 2002-08-11
7
7
//------------------------------------------------------------------------------
8
8
// functions    : - void Keys_Down(unsigned int wParam)
9
9
//                - void Keys_Up(unsigend int wParam)
109
109
    case 'P'          : touch[47]  = i; break;                 //P P=PAUSE
110
110
    case 'Q'          : touch[58]  = i; break;                 //Q CTRL+Q gameover
111
111
    case 'S'          : touch[60]  = i; break;                 //S CTRL+S coupe la musique
112
 
 
113
 
    case XK_KP_6      : touch[73]  = i; break;                 //right arrow 
114
 
    case XK_KP_4      : touch[71]  = i; break;                 //left arrow
115
 
    case XK_KP_8      : touch[55]  = i; break;                 //up arrow
116
 
    case XK_KP_5      : touch[87]  = i; break;                 //down arrow
117
 
    case XK_KP_2      : touch[88]  = i; break;                 //power-up (aka Ctrl key) 
118
 
    case XK_KP_0      : touch[90]  = i; break;                 //fire (aka space bar)
119
112
  }
120
113
}
121
114
#endif