Well, since nobody bothered to even comment on this, I decided to address the problem myself.
Added a new flag for the 'drawmugshot' command, named "custom". If this is specified, the skin's mugshot is ignored and the one given in the command always used.
[~March 13?] drawmugshot ignores specification
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Lead GZDoom+Raze Developer
- Posts: 49143
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
-
- Posts: 3167
- Joined: Wed Nov 24, 2004 12:59 pm
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: [~March 13?] drawmugshot ignores specification
Which is pretty much what I suggested.
Edit: Previous wording of that sentence overstated some stuff.
Probably would have went with the syntax of custom("XYZ") myself, print a warning with the old syntax that was previously deprecated, but this works fine too.Blzut3 wrote:My natural inclination at the moment is to just outright ignore that parameter and add a new one that is specifically for forcing a prefix, but I could use more opinions there.
Edit: Previous wording of that sentence overstated some stuff.
-
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Re: [~March 13?] drawmugshot ignores specification
Works like a charm, thanks!