Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
include
shared
game
constants.hpp
Go to the documentation of this file.
1
#pragma once
2
3
/* Constants */
4
#define FIRST_TIMESTEP 0
5
#define TIMESTEP_LEN std::chrono::milliseconds(30)
6
#define MAX_PLAYERS 4
7
8
/* Game phase information */
9
// Time limit initially set to 5 minutes
10
#define TIME_LIMIT_S std::chrono::seconds(300)
11
12
/* Default model sizes */
13
#define BEAR_DIMENSIONS glm::vec3(14.163582, 17.914591, 10.655818)
14
#define FIRE_PLAYER_DIMENSIONS glm::vec3(4.0f, 10.069769, 4.0f)
15
#define LIGHTNING_PLAYER_DIMENSIONS glm::vec3(4.0f, 10.069769, 4.0f)
16
#define WATER_PLAYER_DIMENSIONS glm::vec3(4.0f, 10.069769, 4.0f)
17
#define SUNGOD_DIMENSIONS glm::vec3(3.281404, 9.543382, 7.974873)
18
#define ARROW_DIMENSIONS glm::vec3(25.025101, 68.662003, 333.333333)
19
#define ARROW_TRAP_DIMENSIONS glm::vec3(2.815553, 3.673665, 1.588817)
20
#define FLOOR_SPIKE_DIMENSIONS glm::vec3(3.0f, 1.0f, 3.0f)
21
#define LAVA_DIMENSIONS glm::vec3(3.0f, 0.01f, 3.0f)
22
23
#define PLAYER_BBOX_SCALE 0.35f
24
#define PLAYER_MODEL_SCALE 0.004f
25
26
/* Number of player deaths to update match state to MatchState::RelayRace */
27
#define PLAYER_DEATHS_TO_RELAY_RACE 3
Generated by
1.9.5