]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/playermodel.qh
Merge branch 'master' into terencehill/hud_fixes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / playermodel.qh
1 #pragma once
2
3 #include "image.qh"
4 CLASS(XonoticPlayerModelSelector, XonoticImage)
5         METHOD(XonoticPlayerModelSelector, configureXonoticPlayerModelSelector, void(entity));
6         METHOD(XonoticPlayerModelSelector, loadModels, void(entity));
7         METHOD(XonoticPlayerModelSelector, loadCvars, void(entity));
8         METHOD(XonoticPlayerModelSelector, saveCvars, void(entity));
9         METHOD(XonoticPlayerModelSelector, draw, void(entity));
10         METHOD(XonoticPlayerModelSelector, resizeNotify, void(entity, vector, vector, vector, vector));
11         METHOD(XonoticPlayerModelSelector, showNotify, void(entity));
12         ATTRIB(XonoticPlayerModelSelector, currentModel, string, string_null)
13         ATTRIB(XonoticPlayerModelSelector, currentSkin, float, 0)
14         ATTRIB(XonoticPlayerModelSelector, currentModelImage, string, string_null)
15         ATTRIB(XonoticPlayerModelSelector, currentModelTitle, string, string_null)
16         ATTRIB(XonoticPlayerModelSelector, currentModelDescription, string, string_null)
17         METHOD(XonoticPlayerModelSelector, go, void(entity, float));
18         METHOD(XonoticPlayerModelSelector, destroy, void(entity));
19         ATTRIB(XonoticPlayerModelSelector, origin, vector, '0 0 0')
20         ATTRIB(XonoticPlayerModelSelector, size, vector, '0 0 0')
21         ATTRIB(XonoticPlayerModelSelector, realFontSize, vector, '0 0 0')
22         ATTRIB(XonoticPlayerModelSelector, fontSize, float, SKINFONTSIZE_NORMAL)
23         ATTRIB(XonoticPlayerModelSelector, titleFontSize, float, SKINFONTSIZE_TITLE)
24         ATTRIB(XonoticPlayerModelSelector, bufModels, float, -1)
25         ATTRIB(XonoticPlayerModelSelector, numModels, float, -1)
26         ATTRIB(XonoticPlayerModelSelector, idxModels, float, -1)
27 ENDCLASS(XonoticPlayerModelSelector)
28 entity makeXonoticPlayerModelSelector();
29 void PlayerModelSelector_Next_Click(entity btn, entity me);
30 void PlayerModelSelector_Prev_Click(entity btn, entity me);