OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
Level Class Reference
Inheritance diagram for Level:
Listener Class LightClass

Public Member Functions

 CLASS_PROTOTYPE (Level)
 
void Init ()
 
void CleanUp (qboolean samemap=qfalse, qboolean resetConfigStrings=qfalse)
 
void ResetEdicts ()
 
gentity_tAllocEdict (Entity *ent)
 
void FreeEdict (gentity_t *ent)
 
void InitEdict (gentity_t *ent)
 
void LoadAllScripts (const char *name, const char *extension)
 
void Precache ()
 
void SetMap (const char *themapname)
 
void FindTeams ()
 
void SpawnEntities (char *entities, int _svsTime_)
 
void ComputeDMWaypoints ()
 
void AddLandmarkOrigin (const Vector &origin)
 
void AddLandmarkName (const str &name, const Vector &origin)
 
void FreeLandmarks ()
 
str GetDynamicDMLocations (const Vector &origin)
 
str GetDMLocation (const Vector &origin)
 
void PreSpawnSentient (Event *ev)
 
void ServerSpawned ()
 
qboolean inhibitEntity (int spawnflags)
 
void setSkill (int value)
 
void setTime (int _svsTime_)
 
void setFrametime (int frameTime)
 
void AddAutomaticCamera (Camera *cam)
 
void GetTime (Event *ev)
 
void GetTotalSecrets (Event *ev)
 
void GetFoundSecrets (Event *ev)
 
void InitVoteOptions ()
 
void SendVoteOptionsFile (gentity_t *ent)
 
bool GetVoteOptionMain (int index, str *outOptionCommand, voteoptiontype_t *outOptionType)
 
bool GetVoteOptionSub (int index, int listIndex, str *outCommand)
 
bool GetVoteOptionMainName (int index, str *outVoteName)
 
bool GetVoteOptionSubName (int index, int listIndex, str *outName)
 
void CheckVote ()
 
void SetupMaplist ()
 
void GetAlarm (Event *ev)
 
void SetAlarm (Event *ev)
 
void SetNoDropHealth (Event *ev)
 
void SetNoDropWeapons (Event *ev)
 
void GetLoopProtection (Event *ev)
 
void SetLoopProtection (Event *ev)
 
void GetPapersLevel (Event *ev)
 
void SetPapersLevel (Event *ev)
 
void EventGetRoundStarted (Event *ev)
 
void EventGetDMRespawning (Event *ev)
 
void EventSetDMRespawning (Event *ev)
 
void EventGetDMRoundLimit (Event *ev)
 
void EventSetDMRoundLimit (Event *ev)
 
void EventGetClockSide (Event *ev)
 
void EventSetClockSide (Event *ev)
 
void EventGetBombPlantTeam (Event *ev)
 
void EventSetBombPlantTeam (Event *ev)
 
void EventGetTargetsToDestroy (Event *ev)
 
void EventSetTargetsToDestroy (Event *ev)
 
void EventGetTargetsDestroyed (Event *ev)
 
void EventSetTargetsDestroyed (Event *ev)
 
void EventGetBombsPlanted (Event *ev)
 
void EventSetBombsPlanted (Event *ev)
 
void EventGetRoundBased (Event *ev)
 
void EventGetObjectiveBased (Event *ev)
 
void EventRainDensitySet (Event *ev)
 
void EventRainDensityGet (Event *ev)
 
void EventRainSpeedSet (Event *ev)
 
void EventRainSpeedGet (Event *ev)
 
void EventRainSpeedVarySet (Event *ev)
 
void EventRainSpeedVaryGet (Event *ev)
 
void EventRainSlantSet (Event *ev)
 
void EventRainSlantGet (Event *ev)
 
void EventRainLengthSet (Event *ev)
 
void EventRainLengthGet (Event *ev)
 
void EventRainMin_DistSet (Event *ev)
 
void EventRainMin_DistGet (Event *ev)
 
void EventRainWidthSet (Event *ev)
 
void EventRainWidthGet (Event *ev)
 
void EventRainShaderSet (Event *ev)
 
void EventRainShaderGet (Event *ev)
 
void EventRainNumShadersSet (Event *ev)
 
void EventRainNumShadersGet (Event *ev)
 
void EventAddBadPlace (Event *ev)
 
void EventRemoveBadPlace (Event *ev)
 
void EventIgnoreClock (Event *ev)
 
void UpdateBadPlaces ()
 
int GetNearestBadPlace (const Vector &org, float radius, int team) const
 
str GetRandomHeadModel (const char *model)
 
str GetRandomHeadSkin (const char *model)
 
bool RoundStarted ()
 
bool PreSpawned (void)
 
bool Spawned (void)
 
void AddEarthquake (earthquake_t *)
 
void DoEarthquakes (void)
 
void OpenActorStats ()
 
void WriteActorStats (Actor *actor)
 
void SetForceTeamObjectiveLocation (Event *ev)
 
void GetForceTeamObjectiveLocation (Event *ev)
 
void Archive (Archiver &arc) override
 
- Public Member Functions inherited from Listener
 CLASS_PROTOTYPE (Listener)
 
virtual ListenerGetScriptOwner (void)
 
virtual void SetScriptOwner (Listener *newOwner)
 
void Archive (Archiver &arc) override
 
void CancelEventsOfType (Event *ev)
 
void CancelEventsOfType (Event &ev)
 
void CancelFlaggedEvents (int flags)
 
void CancelPendingEvents (void)
 
qboolean EventPending (Event &ev)
 
void PostEvent (Event *ev, float delay, int flags=0)
 
void PostEvent (const Event &ev, float delay, int flags=0)
 
qboolean PostponeAllEvents (float time)
 
qboolean PostponeEvent (Event &ev, float time)
 
bool ProcessEvent (const Event &ev)
 
bool ProcessEvent (Event *ev)
 
bool ProcessEvent (Event &ev)
 
ScriptVariableProcessEventReturn (Event *ev)
 
void ProcessContainerEvent (const Container< Event * > &conev)
 
qboolean ProcessPendingEvents (void)
 
bool ProcessScriptEvent (Event &ev)
 
bool ProcessScriptEvent (Event *ev)
 
int GetFlags (Event *event) const
 
qboolean ValidEvent (str name) const
 
void CommandDelay (Event *ev)
 
void Remove (Event *ev)
 
void ScriptRemove (Event *ev)
 
void EventInheritsFrom (Event *ev)
 
void EventIsInheritedBy (Event *ev)
 
void GetClassname (Event *ev)
 
- Public Member Functions inherited from Class
virtual ClassDefclassinfo (void) const
 
void warning (const char *function, const char *format,...) const
 
void error (const char *function, const char *format,...) const
 
qboolean inheritsFrom (ClassDef *c) const
 
qboolean inheritsFrom (const char *name) const
 
qboolean isInheritedBy (const char *name) const
 
qboolean isInheritedBy (ClassDef *c) const
 
const char * getClassname (void) const
 
const char * getClassID (void) const
 
const char * getSuperclass (void) const
 
- Public Member Functions inherited from LightClass
void * operator new (size_t s)
 
void operator delete (void *ptr)
 
void * operator new (size_t size, void *placement)
 
void operator delete (void *ptr, void *placement)
 
template<typename T>
void * operator new (size_t size, T &placement)
 
template<typename T>
void operator delete (void *ptr, T &placement)
 

Public Attributes

char * current_map
 
int mHealthPopCount
 
str m_mapscript
 
str m_precachescript
 
str m_pathfile
 
str m_mapfile
 
int spawn_entnum
 
int spawnflags
 
int framenum
 
int inttime
 
int intframetime
 
float time
 
float frametime
 
int svsTime
 
float svsFloatTime
 
int svsStartTime
 
int svsEndTime
 
float svsStartFloatTime
 
str level_name
 
str mapname
 
str spawnpoint
 
str nextmap
 
int m_iCuriousVoiceTime
 
int m_iAttackEntryAnimTime
 
qboolean playerfrozen
 
float intermissiontime
 
INTTYPE_e intermissiontype
 
int exitintermission
 
int total_secrets
 
int found_secrets
 
trace_t impact_trace
 
float earthquake_magnitude
 
qboolean cinematic
 
qboolean ai_on
 
qboolean m_bAlarm
 
qboolean mbNoDropHealth
 
qboolean mbNoDropWeapons
 
int m_iPapersLevel
 
qboolean mission_failed
 
qboolean died_already
 
qboolean near_exit
 
Vector water_color
 
Vector lava_color
 
float water_alpha
 
float lava_alpha
 
str current_soundtrack
 
str saved_soundtrack
 
Vector m_fade_color
 
float m_fade_alpha
 
float m_fade_time
 
float m_fade_time_start
 
fadetype_t m_fade_type
 
fadestyle_t m_fade_style
 
float m_letterbox_fraction
 
float m_letterbox_time
 
float m_letterbox_time_start
 
letterboxdir_t m_letterbox_dir
 
Container< badplace_tm_badPlaces
 
Container< Camera * > automatic_cameras
 
int m_numArenas
 
int m_voteTime
 
int m_nextVoteTime
 
int m_voteYes
 
int m_voteNo
 
int m_numVoters
 
str m_voteString
 
str m_voteName
 
VoteOptions m_voteOptions
 
Vector m_intermission_origin
 
Vector m_intermission_angle
 
int frame_skel_index
 
int skel_index [MAX_GENTITIES]
 
qboolean m_LoopProtection
 
qboolean m_LoopDrop
 
Container< SimpleArchivedEntity * > m_SimpleArchivedEntities
 
class Sentientm_HeadSentient [MAX_HEAD_SENTIENTS]
 
earthquake_t earthquakes [MAX_EARTHQUAKES]
 
int num_earthquakes
 
Vector m_vObjectiveLocation
 
Vector m_vAlliedObjectiveLocation
 
Vector m_vAxisObjectiveLocation
 
bool m_bForceTeamObjectiveLocation
 
bool spawning
 
bool m_bIgnoreClock
 
float m_fLandmarkYDistMax
 
float m_fLandmarkYDistMin
 
float m_fLandmarkXDistMin
 
float m_fLandmarkXDistMax
 
landmark_t ** m_pLandmarks
 
int m_iMaxLandmarks
 
int m_iLandmarksCount
 
void * m_pAIStats
 
bool m_bScriptSpawn
 
bool m_bRejectSpawn
 

Additional Inherited Members

- Static Public Member Functions inherited from Class
static void * _newInstance (void)
 
static ClassDefclassinfostatic (void)
 
- Static Public Attributes inherited from Listener
static bool EventSystemStarted = false
 
static bool ProcessingEvents = false
 
- Static Public Attributes inherited from Class
static ClassDef ClassInfo
 
static ClassDefHook _ClassInfo_
 
static ResponseDef< ClassResponses []
 
- Protected Member Functions inherited from Class
void ClearSafePointers ()
 

Member Function Documentation

◆ Archive()

void Level::Archive ( Archiver & arc)
overridevirtual

Reimplemented from Class.


The documentation for this class was generated from the following files: