- bool is_gs_slot = this->selected_slot == OWNER_DEITY;
- bool invalid_slot = this->selected_slot == INVALID_COMPANY;
- bool is_green_slot = IsEditable((CompanyID)(this->selected_slot)) && Company::IsValidID(this->selected_slot) && Company::IsValidAiID(this->selected_slot) && !Company::Get(this->selected_slot)->ai_instance->IsDead();
- bool is_silver_slot_above = !IsEditable((CompanyID)(this->selected_slot - 1));
- bool is_silver_slot_below = !IsEditable((CompanyID)(this->selected_slot + 1));
- bool is_green_slot_above = IsEditable((CompanyID)(this->selected_slot - 1)) && Company::IsValidID(this->selected_slot - 1) && Company::IsValidAiID(this->selected_slot - 1) &&