|
Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
|
#include <optional>#include <algorithm>#include <glm/glm.hpp>#include "shared/utilities/serialize_macro.hpp"#include "shared/utilities/typedefs.hpp"#include "shared/game/stat.hpp"#include "shared/game/sharedmodel.hpp"#include "shared/game/celltype.hpp"#include "shared/game/status.hpp"#include <chrono>Go to the source code of this file.
Data Structures | |
| struct | SharedStats |
| struct | SharedStatuses |
| struct | SharedInventory |
| struct | SharedTrapInventory |
| struct | SharedItemInfo |
| struct | SharedWeaponInfo |
| struct | SharedSolidSurface |
| struct | SharedPhysics |
| struct | SharedTrapInfo |
| struct | SharedPlayerInfo |
| struct | SharedPointLightInfo |
| struct | SharedExit |
| struct | SharedDMInfo |
| struct | SharedCompass |
| class | SharedObject |
| Representation of the Object class used by ServerGameState, containing exactly the subset of Object data required by the client. More... | |
Typedefs | |
| using | UsedItemsMap = std::unordered_map< SpecificID, std::pair< ModelType, double > > |
Enumerations | |
| enum class | ObjectType { Object , SolidSurface , Potion , Player , Enemy , Torchlight , SpikeTrap , DungeonMaster , FireballTrap , Projectile , FloorSpike , Lava , FakeWall , ArrowTrap , TeleporterTrap , Spell , Slime , Minotaur , Python , Item , Exit , Orb , Weapon , WeaponCollider , Mirror } |
| An enum for the type of an object; the fields here should match all class names in the inheritance tree in which Object is the root. More... | |
| enum class | SurfaceType { Wall , Floor , Ceiling , Pillar } |
| enum class | AnimState { IdleAnim , WalkAnim , SprintAnim , JumpAnim , LandAnim , AttackAnim , DrinkPotionAnim , DeathAnim } |
Functions | |
| std::string | objectTypeString (ObjectType type) |
| Returns a string representation of the ObjectType enum. More... | |
| using UsedItemsMap = std::unordered_map<SpecificID, std::pair<ModelType, double> > |
|
strong |
|
strong |
An enum for the type of an object; the fields here should match all class names in the inheritance tree in which Object is the root.
|
strong |
| std::string objectTypeString | ( | ObjectType | type | ) |
Returns a string representation of the ObjectType enum.
| type | ObjectType enum |