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{
6 me.configureXonoticPlayList(me);
7 return me;
8}
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 221 of file playlist.qc.

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

References entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ PauseSound_Click()

void PauseSound_Click ( entity btn,
entity me )

Definition at line 242 of file playlist.qc.

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

References entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ PlayList_Remove()

void PlayList_Remove ( entity btn,
entity me )

Definition at line 91 of file playlist.qc.

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

References entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ PlayList_Remove_All()

void PlayList_Remove_All ( entity btn,
entity me )

Definition at line 96 of file playlist.qc.

97{
98 cvar_set("music_playlist_list0", "");
99 me.stopSound(me);
100 me.selectedItem = 0;
101}
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 216 of file playlist.qc.

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

References entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ StartSound_Click()

void StartSound_Click ( entity btn,
entity me )

Definition at line 211 of file playlist.qc.

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

References entity().

Referenced by XonoticMusicPlayerTab_fill().

◆ StopSound_Click()

void StopSound_Click ( entity btn,
entity me )

Definition at line 173 of file playlist.qc.

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

References entity().

Referenced by XonoticMusicPlayerTab_fill().