Ignore:
Timestamp:
11/30/20 03:44:14 (3 months ago)
Author:
Maciej Komosinski
Message:

Removed Part's "visual thickness" property

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/geneprops.h

    r772 r1039  
    1313
    1414
    15 #define F14_MODIFIERS_VISUAL "DdGgBbHh"
     15#define F14_MODIFIERS_VISUAL "DdGgBb"
    1616#define F14_MODIFIERS_RARE "EeWwAaSs" //expdef would need to handle these properly/specifically to ensure reasonable behavior, and hardly any expdef does. Modifying initial energy of a creature as a result of its genes (Ee) is in general not a good idea. Weight (Ww) works only in water, and in water sinking/going up should usually be caused by real "intentional" activity of a creature, not by its inherited weight. For assimilation (Aa), there is a dedicated parameter in CreaturesGroup. Stamina (Ss) is no longer needed as destructive collisions are not supported, and even if they were, some expdef would need to impose reasonable restrictions on the value of this parameter (e.g. similar to normalizeBiol4()) so there is some cost associated with it, and the specific consequences of destructions should be defined as needed.
    1717#define F14_MODIFIERS "LlRrCcQqFfMmIi" F14_MODIFIERS_RARE F14_MODIFIERS_VISUAL
     
    5050        bool muscle_reset_range;  ///<Used only by conv_f1
    5151
    52         double visual_size;       ///<incremented by H, decremented by h. Part's visual size, only affects appearance
    5352        double cred;              ///<incremented by D, decremented by d. Part's red color proportion
    5453        double cgreen;            ///<incremented by B, decremented by b. Part's blue color proportion
Note: See TracChangeset for help on using the changeset viewer.