Ignore:
Timestamp:
04/05/18 20:03:20 (6 years ago)
Author:
Maciej Komosinski
Message:

Unified #define modifiers in f1 and f4, fixes issue number 16 [refs #62]

File:
1 edited

Legend:

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

    r759 r772  
    88#include <common/nonstd_math.h>
    99#include <frams/model/model.h>
     10
     11
     12
     13
     14
     15#define F14_MODIFIERS_VISUAL "DdGgBbHh"
     16#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.
     17#define F14_MODIFIERS "LlRrCcQqFfMmIi" F14_MODIFIERS_RARE F14_MODIFIERS_VISUAL
     18
     19
     20
     21
    1022
    1123/**
Note: See TracChangeset for help on using the changeset viewer.