fissh

termios terminal aquarium. demo at ssh://fish@kloet.net
Download | Log | Files | Refs

Config.h (821B)


      1 #pragma once
      2 #include <string>
      3 
      4 struct AquariumConfig {
      5   // Entity spawn settings
      6   int initial_fish_count = -1;    // -1 means auto-calculate
      7   int initial_seaweed_count = -1; // -1 means auto-calculate
      8   int max_bubbles = 50;
      9 
     10   // Animation settings
     11   int frame_delay_ms = 100;
     12   bool enable_big_entities = true;
     13   bool enable_bubbles = true;
     14 
     15   // Visual settings
     16   bool use_colors = true;
     17   bool use_bold = true;
     18 
     19   // Spawn rates (lower = more frequent)
     20   int fish_bubble_rate = 10;        // 1 in N chance per frame
     21   int big_entity_spawn_delay = 100; // frames between big entities
     22 
     23   // Performance settings
     24   bool optimize_rendering = true;
     25   int max_entities = 200;
     26 
     27   // Debug settings
     28   bool show_fps = false;
     29   bool show_entity_count = false;
     30   bool debug_mode = false;
     31 };
     32 
     33 extern AquariumConfig g_config;