gmodWare / gware-utilities

gmodWare roleplay utilities
2 stars 1 forks source link

gware_utils_spawnnpc #22

Closed StarLight-Oliver closed 1 year ago

StarLight-Oliver commented 1 year ago

Distance check in the draw function, instead of DistToSQR.

Color(0,0, 160) is constantly recreated in each frame even though it is static.

Minor, height gets shadowed "boxWidth" has been used so probably can go with fontHeight to avoid shadowing

MenschlichTv commented 1 year ago

Minor, height gets shadowed "boxWidth" has been used so probably can go with fontHeight to avoid shadowing

What do you mean by that?

Luiggi33 commented 1 year ago

I don't quite get the point with the boxWidth, the maxs and mins are related to the bounding box of the entity, and said size, not to the size of the text with a certain font.

Luiggi33 commented 1 year ago

But I do understand that it uses the same variable, as my linter pointed out, I think I just understood that wrong. Correct me if I got something wrong