File: PlayerAction.h

package info (click to toggle)
jazz2-native 3.5.0-1
  • links: PTS, VCS
  • area: contrib
  • in suites:
  • size: 16,836 kB
  • sloc: cpp: 172,557; xml: 113; python: 36; makefile: 5; sh: 2
file content (36 lines) | stat: -rw-r--r-- 1,118 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once

namespace Jazz2
{
	/** @brief Player action */
	enum class PlayerAction
	{
		Left,							/**< Left */
		Right,							/**< Right */
		Up,								/**< Up */
		Down,							/**< Down */
		Buttstomp,						/**< Buttstomp (Down in the air) */
		Fire,							/**< Fire a weapon */
		Jump,							/**< Jump */
		Run,							/**< Run */
		ChangeWeapon,					/**< Change a weapon */
		Menu,							/**< Menu / Back */
		Console,						/**< Toggle in-game console */

		SwitchToBlaster,				/**< Switch to weapon 1 */
		SwitchToBouncer,				/**< Switch to weapon 2 */
		SwitchToFreezer,				/**< Switch to weapon 3 */
		SwitchToSeeker,					/**< Switch to weapon 4 */
		SwitchToRF,						/**< Switch to weapon 5 */
		SwitchToToaster,				/**< Switch to weapon 6 */
		SwitchToTNT,					/**< Switch to weapon 7 */
		SwitchToPepper,					/**< Switch to weapon 8 */
		SwitchToElectro,				/**< Switch to weapon 9 */
		SwitchToThunderbolt,			/**< Switch to weapon 10 */

		Count,							/**< Number of all actions */
		CountInMenu = SwitchToBlaster,	/**< Number of actions usable in a menu */

		None = -1						/**< No action */
	};
}