Implemented cl_invrender

This commit is contained in:
smallmodel 2023-12-31 22:02:47 +01:00
parent 0cd217b484
commit 0d556b1b40
No known key found for this signature in database
GPG key ID: A96F163ED4891440
2 changed files with 876 additions and 102 deletions

File diff suppressed because it is too large Load diff

View file

@ -60,6 +60,8 @@ public:
void OnMouseLeave(Event *ev);
void OnMenuKilled(Event *ev);
void EquipItem(Event *ev);
inventory_item_t *getHoverItem() const;
};
class FakkInventory : public UIWidget
@ -73,8 +75,11 @@ protected:
public:
CLASS_PROTOTYPE(FakkInventory);
public:
qboolean m_mouse_active;
protected:
void VerifyItemUp(inventory_item_t *item, qboolean warpmouse);
void VerifyTypeUp(inventory_type_t *t, qboolean warpmouse);
public:
FakkInventory();
@ -111,4 +116,6 @@ void CL_Draw3DModel(
vec3_t color,
str anim
);
void UI_DoInventory(qboolean activate_mouse);
qboolean UI_CloseInventory(void);