]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Change the minigame icon format from iqm to sprite so that it no longer appears overs...
authorterencehill <piuntn@gmail.com>
Sat, 19 Aug 2023 23:10:59 +0000 (01:10 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 19 Aug 2023 23:10:59 +0000 (01:10 +0200)
models/misc/minigame_busy.spr [new file with mode: 0644]
models/misc/minigame_busy.spr_0.tga [new file with mode: 0644]
models/sprites/minigame_busy.tga [deleted file]
qcsrc/common/models/all.inc
qcsrc/server/client.qc

diff --git a/models/misc/minigame_busy.spr b/models/misc/minigame_busy.spr
new file mode 100644 (file)
index 0000000..33063d4
Binary files /dev/null and b/models/misc/minigame_busy.spr differ
diff --git a/models/misc/minigame_busy.spr_0.tga b/models/misc/minigame_busy.spr_0.tga
new file mode 100644 (file)
index 0000000..c896b2a
Binary files /dev/null and b/models/misc/minigame_busy.spr_0.tga differ
diff --git a/models/sprites/minigame_busy.tga b/models/sprites/minigame_busy.tga
deleted file mode 100644 (file)
index c896b2a..0000000
Binary files a/models/sprites/minigame_busy.tga and /dev/null differ
index b8fc08f388144d328b101b1c60e5557a92027187..c2f511eaf6121918d0c06451afa3b1247f84b132 100644 (file)
@@ -335,7 +335,7 @@ MODEL(VEH_SPIDERBOT_TOP,                "models/vehicles/spiderbot_top.dpm");
 MODEL(VEH_SPIDERBOT_VIEW,               "models/vehicles/spiderbot_cockpit.dpm");
 
 MODEL(CHAT,                             "models/misc/chatbubble.spr");
-MODEL(CHAT_MINIGAME,                    "models/sprites/minigame_busy.iqm");
+MODEL(CHAT_MINIGAME,                    "models/misc/minigame_busy.spr");
 
 MODEL(0,                                "models/sprites/0.spr32");
 MODEL(1,                                "models/sprites/1.spr32");
index 00063bba214fae3ba064a144ec18bf2983db2eae..577b781e59f140efe9fd055a47cc1ea9b9c9a662 100644 (file)
@@ -1304,7 +1304,7 @@ void ChatBubbleThink(entity this)
        if ( !IS_DEAD(this.owner) && IS_PLAYER(this.owner) )
        {
                if ( CS(this.owner).active_minigame && PHYS_INPUT_BUTTON_MINIGAME(this.owner) )
-                       this.mdl = "models/sprites/minigame_busy.iqm";
+                       this.mdl = "models/misc/minigame_busy.spr";
                else if (PHYS_INPUT_BUTTON_CHAT(this.owner))
                        this.mdl = "models/misc/chatbubble.spr";
        }