Code Monkey home page Code Monkey logo

Comments (4)

dusty-qw avatar dusty-qw commented on August 11, 2024

FYI hud_frags_style 3 already exists which will hide any indicators

from ezquake-source.

Matrix-QW avatar Matrix-QW commented on August 11, 2024

It doesn't do anything in mine.
Info text says "similar to 0".
If hud_teamfrags_cell_width 0 would work then there would be no need for a new style.
ezquake001

from ezquake-source.

dusty-qw avatar dusty-qw commented on August 11, 2024

are you sure you're using the latest build? See: https://github.com/QW-Group/ezquake-source/pull/895

from hud_frags.c:351

switch (style) {
	case 1:
		Draw_SCharacterP(x - FontCharacterWidth(13, scale, proportional) * 0.5f, posy, 13, scale, proportional);
		break;
	case 2:
		// Red outline.
		Draw_Fill(x, y - 1, width, 1, 0x4f);
		Draw_Fill(x, y - 1, 1, height + 2, 0x4f);
		Draw_Fill(x + width - 1, y - 1, 1, height + 2, 0x4f);
		Draw_Fill(x, y + height, width, 1, 0x4f);
		break;
	case 3:
		// Draw nothing
		break;
	case 0:
	default:
		Draw_SCharacterP(x - 2 - 2 * d, brack_posy, 16, scale, proportional); // [
		Draw_SCharacterP(x + width - 8 + 1 + d, brack_posy, 17, scale, proportional); // ]
		break;
}

from ezquake-source.

Matrix-QW avatar Matrix-QW commented on August 11, 2024

I had the stable release, I just downloaded the latest and works.
Didn't know this was added two months ago. Thanks!

So now there is only hud_gameclock_colon to be added if possible, please.

Also, the golden brackets are not properly aligned to the sides. I don't know if this can be fixed with code or is due to the charset position.
The red rectangle is to the sides but goes off up/bottom. Maybe because it doesn't fit but at least looks good.
You can see this with the hud_editor green box that limits elements.

rectangle_offset
goldenbrackets_offset

from ezquake-source.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.