|
R-Type
Networked shoot'em up built on Aegis2D
|
How a game plays: the rules of its room, as the gameplay reads them. More...
#include <rtype/server_game.hpp>
Public Attributes | |
| std::uint32_t | lives = tuning::player_lives |
| Lives of each player at the start, at least 1. | |
| std::int32_t | enemy_health_factor = 1 |
| Factor of the health of each enemy that appears, at random or by the waves, over the health its script gives it; at least 1. | |
| float | spawn_interval_scale = 1.0F |
| Factor of the intervals between two random Bydos spawns: above 1, fewer enemies; below 1, more. | |
| bool | friendly_fire = false |
| Whether the players' missiles hit the other players. | |
How a game plays: the rules of its room, as the gameplay reads them.
The default rules are the game as tuned. The server makes them from the rules a room was created with (RFC section 3.6).
| std::int32_t rtype::GameRules::enemy_health_factor = 1 |
Factor of the health of each enemy that appears, at random or by the waves, over the health its script gives it; at least 1.
| bool rtype::GameRules::friendly_fire = false |
Whether the players' missiles hit the other players.
| std::uint32_t rtype::GameRules::lives = tuning::player_lives |
Lives of each player at the start, at least 1.
| float rtype::GameRules::spawn_interval_scale = 1.0F |
Factor of the intervals between two random Bydos spawns: above 1, fewer enemies; below 1, more.