File: LevelFlags.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 (23 lines) | stat: -rw-r--r-- 818 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "../Main.h"

namespace Jazz2
{
	/** @brief Level flags, supports a bitwise combination of its member values */
	enum class LevelFlags : std::uint16_t
	{
		None = 0,								/**< None */
		HasPit = 0x01,							/**< Level has a pit */
		HasPitInstantDeath = 0x02,				/**< Level has a pit with instant death */
		UseLevelPalette = 0x04,					/**< Level has custom palette */
		IsHidden = 0x08,						/**< Level is hidden */
		IsMultiplayerLevel = 0x10,				/**< Level is for multiplayer */
		HasLaps = 0x20,							/**< Level has laps */
		HasCaptureTheFlag = 0x40,				/**< Level has capture the flag */
		HasVerticalSplitscreen = 0x80,			/**< Vertical splitscreen should be used */
		HasMultiplayerSpawnPoints = 0x100		/**< Level has multiplayer spawn points */
	};

	DEATH_ENUM_FLAGS(LevelFlags);
}