mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
b432a3f5da
Clean up macros more tomorrow Cleanup and optimize CDActivities table Remove unused include Further work on CDActivityRewards Update MasterServer.cpp Further animations work Activities still needs work for a better PK. fix type All of these replacements worked Create internal interface for animations Allows for user to just call GetAnimationTIme or PlayAnimation rather than passing in arbitrary true false statements
46 lines
2.4 KiB
C++
46 lines
2.4 KiB
C++
#pragma once
|
|
|
|
// Custom Classes
|
|
#include "CDTable.h"
|
|
|
|
struct CDZoneTable {
|
|
unsigned int zoneID; //!< The Zone ID of the object
|
|
unsigned int locStatus; //!< The Locale Status(?)
|
|
std::string zoneName; //!< The name of the zone
|
|
unsigned int scriptID; //!< The Script ID of the zone (ScriptsTable)
|
|
float ghostdistance_min; //!< The minimum ghosting distance
|
|
float ghostdistance; //!< The ghosting distance
|
|
unsigned int population_soft_cap; //!< The "soft cap" on the world population
|
|
unsigned int population_hard_cap; //!< The "hard cap" on the world population
|
|
UNUSED_COLUMN(std::string DisplayDescription); //!< The display description of the world
|
|
UNUSED_COLUMN(std::string mapFolder); //!< ???
|
|
float smashableMinDistance; //!< The minimum smashable distance?
|
|
float smashableMaxDistance; //!< The maximum smashable distance?
|
|
UNUSED_COLUMN(std::string mixerProgram); //!< ???
|
|
UNUSED_COLUMN(std::string clientPhysicsFramerate); //!< The client physics framerate
|
|
UNUSED_COLUMN(std::string serverPhysicsFramerate); //!< The server physics framerate
|
|
unsigned int zoneControlTemplate; //!< The Zone Control template
|
|
unsigned int widthInChunks; //!< The width of the world in chunks
|
|
unsigned int heightInChunks; //!< The height of the world in chunks
|
|
bool petsAllowed; //!< Whether or not pets are allowed in the world
|
|
bool localize; //!< Whether or not the world should be localized
|
|
float fZoneWeight; //!< ???
|
|
UNUSED_COLUMN(std::string thumbnail); //!< The thumbnail of the world
|
|
bool PlayerLoseCoinsOnDeath; //!< Whether or not the user loses coins on death
|
|
UNUSED_COLUMN(bool disableSaveLoc); //!< Disables the saving location?
|
|
float teamRadius; //!< ???
|
|
UNUSED_COLUMN(std::string gate_version); //!< The gate version
|
|
UNUSED_COLUMN(bool mountsAllowed); //!< Whether or not mounts are allowed
|
|
};
|
|
|
|
class CDZoneTableTable : public CDTable<CDZoneTableTable> {
|
|
private:
|
|
std::map<unsigned int, CDZoneTable> m_Entries;
|
|
|
|
public:
|
|
CDZoneTableTable();
|
|
|
|
// Queries the table with a zoneID to find.
|
|
const CDZoneTable* Query(unsigned int zoneID);
|
|
};
|