Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
playlist.qh File Reference
#include "listbox.qh"
Include dependency graph for playlist.qh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XonoticPlayList

Functions

entity makeXonoticPlayList ()
void NextSound_Click (entity btn, entity me)
void PauseSound_Click (entity btn, entity me)
void PlayList_Remove (entity btn, entity me)
void PlayList_Remove_All (entity btn, entity me)
void PrevSound_Click (entity btn, entity me)
void StartSound_Click (entity btn, entity me)
void StopSound_Click (entity btn, entity me)

Function Documentation

◆ makeXonoticPlayList()

entity makeXonoticPlayList ( )

Definition at line 3 of file playlist.qc.

4{
5 entity me;
7 me.configureXonoticPlayList(me);
8 return me;
9}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define NEW(cname,...)
Definition oo.qh:117

References entity(), and NEW.

Referenced by XonoticMusicPlayerTab_fill().

◆ NextSound_Click()

void NextSound_Click ( entity btn,
entity me )

Definition at line 222 of file playlist.qc.

223{
224 me.startSound(me, +1);
225}

References entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ PauseSound_Click()

void PauseSound_Click ( entity btn,
entity me )

Definition at line 243 of file playlist.qc.

244{
245 me.pauseSound(me);
246}

References entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ PlayList_Remove()

void PlayList_Remove ( entity btn,
entity me )

Definition at line 92 of file playlist.qc.

93{
94 me.removeSelectedFromPlayList(me);
95}

References entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ PlayList_Remove_All()

void PlayList_Remove_All ( entity btn,
entity me )

Definition at line 97 of file playlist.qc.

98{
99 cvar_set("music_playlist_list0", "");
100 me.stopSound(me);
101 me.selectedItem = 0;
102}
void cvar_set(string name, string value)

References cvar_set(), and entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ PrevSound_Click()

void PrevSound_Click ( entity btn,
entity me )

Definition at line 217 of file playlist.qc.

218{
219 me.startSound(me, -1);
220}

References entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ StartSound_Click()

void StartSound_Click ( entity btn,
entity me )

Definition at line 212 of file playlist.qc.

213{
214 me.startSound(me, 0);
215}

References entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ StopSound_Click()

void StopSound_Click ( entity btn,
entity me )

Definition at line 174 of file playlist.qc.

175{
176 me.stopSound(me);
177}

References entity().

Referenced by XonoticMusicPlayerTab_fill().