Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable Groups and Objects #63

Open
tiawl opened this issue Jun 19, 2023 · 1 comment
Open

Configurable Groups and Objects #63

tiawl opened this issue Jun 19, 2023 · 1 comment
Labels
generator Related to the generator hat Gather several related issues
Milestone

Comments

@tiawl
Copy link
Owner

tiawl commented Jun 19, 2023

Allow, throught an organized options structure:

  1. select object individually and configure them,
  2. select objects by group and configure them.

For the second point: each individual object is always associated to a group. For each group, none of its object, some of its object or all of its object could be displayed.
A group option is a plural ID. Examples:

--planets   a separated comma list of planets object to display
            possible values: dry,land,ring,all,none
            all keyword is a shortcut for dry,land,ring.
            if none is selected, planets are not displayed.
            default value: all
--colors   a separated comma list of planets object to display
           possible values: red, blue, green, all, none.
           all keyword is a shortcut for red, blue, green
           if none is selected, everything is black and white.
           default value: none

Possible group options:

  • asteroids
  • biomes
  • planets
  • stars
  • galaxies
  • massives (dark hole, ...)
  • colors

Internally, each group of object is always associated to a struct which allow to customize the group.
A struct group option is a plural ID followed with dash and the member ID of the struct. Exemple:

--planets-frequency

Internally, each object is always associated to a struct which allow to customize the object independently to other object of the same group.
A struct object option is the singular of its group ID, followed with dash the object ID, followed with dash and the member ID of the struct. Exemple:

--planet-dry-colornumbers

Some objects can not be rely to a group. Exemple: camera

@tiawl tiawl added roadmap generator Related to the generator labels Jun 19, 2023
@tiawl tiawl added this to the 0.1.0 milestone Jun 19, 2023
@tiawl tiawl assigned tiawl and unassigned tiawl Jun 22, 2023
@tiawl
Copy link
Owner Author

tiawl commented Jul 1, 2023

Here a list of issues referring to configurable objects:

@tiawl tiawl added the hat Gather several related issues label Jul 1, 2023
@tiawl tiawl changed the title Option - Objects options Configurable Objects options Jul 1, 2023
@tiawl tiawl changed the title Configurable Objects options Configurable Groups and Objects Jul 1, 2023
@tiawl tiawl removed the stage label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator Related to the generator hat Gather several related issues
Projects
None yet
Development

No branches or pull requests

1 participant