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

Public Member Functions

 CLASS_PROTOTYPE (Level)
void Init ()
void CleanUp (qboolean samemap=qfalse, qboolean resetConfigStrings=qfalse)
void ResetEdicts ()
gentity_t * AllocEdict (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)
const VoteOptions & GetVoteOptions () const
void EnterIntermission ()
void Restart ()
void Archive (Archiver &arc) override

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

Static Public Attributes

static ScriptDelegate scriptDelegate_intermission
static ScriptDelegate scriptDelegate_exit

The documentation for this class was generated from the following files:
  • code/fgame/level.h
  • code/fgame/level.cpp