DOM Ponder

 

  • global
    • .sessionStorage = persists to savegame
    • .localStorage = persists to user data folder, accessible across multiple games
    • .wz
      • .settings
        • .graphics
          • ...
        • .video
          • ...
        • .audio
          • ...
        • .mouse
          • ...
        • .keyboard
          • ...
      • .game = only active when a game is active
        • .settings
          • .type = game type (skirmish, tutorial, mp, conquest, challenge, etc)
          • .allianceMode = none, alliances, teams
          • .baseMode = clean, base, walls
          • .powerMode = low, medium, high
          • .scavengerMode = on, off
        • .players = [] of player objects
        • .limits = [] of droid/structure limits?
        • .tech = [] of technology (research) objects
        • .hud = for map overlays
          • .minimap = true/false (show/hide)
          • ...
        • .map
          • .oilResources = [] of oil resource positions (not feature objects)
          • .startPositions = [] of all player start positions, even for players that are disabled
          • .hasScavengers = true if there are scavenger bases defined
          • .height = height of map in tiles
          • .width = width of map in tiles
          • .name = name of map
          • .continents = [] of continent objects
        • .droids = [] of droid objects
        • .structures = [] of structure objects
        • .features = [] of feature objects