Code Monkey home page Code Monkey logo

Comments (2)

jite avatar jite commented on July 29, 2024

I'll discuss this with the other ezQ devs, it's not really a bug in my opinion because you are trying to use a style that doesn't exist. What if a user sets "style 3" which doesn't exist, and it's drawing as if "style 2". Next up we're adding a new style, which naturally will have nbr 3, then what's being drawn will change.

This way, not drawing anything if choosing a style that doesn't exist will atleast make you aware of that fact and make you set something that works (and we can safely make a style 3 without breaking things for anyone).

However the question is a bit wider here because I'm fairly sure that the behaviour differs depending on which cvar we're talking about and they should ideally behave the same all of them. We must discuss how we think it should be as a first step and then look into what we can do about unifying the behaviour.

(Sidenote: My opinion about on/off cvars is that 0 means off, any other value means on, but we might discuss this too and get back to you/others).

from ezquake-source.

meag avatar meag commented on July 29, 2024

Changing this to the more general point that there's no validation between your configuration and the documentation, so it's difficult to know when you've set a cvar to an invalid value. Of course, we'll need complete documentation, otherwise that will throw up lots of erroneous warnings...

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.