# Window Divider Adjacency Connections

As the name implies, window divider connections are specific to creating seamless windows and use the âWindow Divider Adjacency Connectorâ.

The window divider adjacency connector is not meant to be used with the window models themselves, it is meant to be used with the âwindow dividersâ component that overlays the windows. The reason for this is explained when we look at the sheer number of possible connection variations a single window tile can have. Initially there may not seem like many, but it becomes apparent when looking at the more complex shapes (âTâ & âXâ).

After carefully considering all possibilities, we reduced the total number of possible variations by counting any corner connection as a wall (regardless if it is a wall or window) if at least one of its adjacent connections is a wall (these specific corners are marked with purple in the image linked below). Next we discarded any shapes that would be a duplicate of another shape when rotated. After these reductions we are still left with ~170 possible connection variations between our metal walls and windows. This would also mean that there would be another ~170 possible models for EACH type of window (window, reinforced window, plasma window, etc.).

Using separated components, we are able to use just 23 window divider models with the 15 window models (using the advanced adjacency connector). Reinforced windows can use the same dividers, so they simply only require 15 models themselves. Adding a new exotic type of window (ex. gold) would require 15 gold window models as well as 23 gold window dividers for a total of 38 models, far less than 170.

The wall dividers are named based on how many sides they overlay. They are defined below:

A - A variant that overlays 0 sides but does overlay 1 corner (NE).

B1 - Overlays 1 side (N), both edges are flat.

B2 - Overlays 1 side (N), both edges are angled.

B3 - Overlays 1 side (N), both edges are full.

B4 - Overlays 1 side (N), left edge is flat & right edge is angled.

B5 - Overlays 1 side (N), left edge is angled & right edge is flat.

B6 - Overlays 1 side (N), left edge is flat & right edge is full.

B7 - Overlays 1 side (N), left edge is full & right edge is flat.

B8 - Overlays 1 side (N), left edge is angled & right edge is full.

B9 - Overlays 1 side (N), left edge is full & right edge is angled.

C1 - Overlays 2 sides (N & E) and their joining corners, both edges are flat.

C2 - Overlays 2 sides (N & E) and their joining corners, both edges are angled.

C3 - Overlays 2 sides (N & E) and their joining corners, both edges are full.

C4 - Overlays 2 sides (N & E) and their joining corners, left edge is flat & right edge is angled.

C5 - Overlays 2 sides (N & E) and their joining corners, left edge is angled & right edge is flat.

C6 - Overlays 2 sides (N & E) and their joining corners, left edge is flat & right edge is full.

C7 - Overlays 2 sides (N & E) and their joining corners, left edge is full & right edge is flat.

C8 - Overlays 2 sides (N & E) and their joining corners, left edge is angled & right edge is full.

C9 - Overlays 2 sides (N & E) and their joining corners, left edge is full & right edge is angled.

D1 - Overlays 3 sides (W, N, & E) and their joining corners, both edges are flat.

D2 - Overlays 3 sides (W, N, & E) and their joining corners, both edges are angled.

D3 - Overlays 3 sides (W, N, & E) and their joining corners, both edges are full.

D4 - Overlays 3 sides (W, N, & E) and their joining corners, left edge is angled & right edge is full.

D5 - Overlays 3 sides (W, N, & E) and their joining corners, left edge is full & right edge is angled.

E - Overlays all sides (N, E, S, & W) and all corners except SE.

**The window dividers could be made even even more modular but work on this has been put on hold while we further discuss quartering tilemap tiles.**

Last updated