Loading

Paste #pmsvkvyjl

  1.         bool is_gs_slot = this->selected_slot == OWNER_DEITY;
  2.         bool invalid_slot = this->selected_slot == INVALID_COMPANY;
  3.         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();
  4.         bool is_silver_slot_above = !IsEditable((CompanyID)(this->selected_slot - 1));
  5.         bool is_silver_slot_below = !IsEditable((CompanyID)(this->selected_slot + 1));
  6.         bool is_green_slot_above = IsEditable((CompanyID)(this->selected_slot - 1)) && Company::IsValidID(this->selected_slot - 1) && Company::IsValidAiID(this->selected_slot - 1) &&

Paste #pqfngbwiy

  1.         bool is_gs_slot = this->selected_slot == OWNER_DEITY;
  2.         bool invalid_slot = this->selected_slot == INVALID_COMPANY;
  3.         bool is_orange_slot = IsEditable((CompanyID)(this->selected_slot)) && !Company::IsValidID(this->selected_slot);
  4.         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();
  5.         bool is_red_slot = IsEditable((CompanyID)(this->selected_slot)) && Company::IsValidID(this->selected_slot) && Company::IsValidAiID(this->selected_slot) && Company::Get(this->selected_slot)->ai_instance->IsDead();
  6.         bool is_

Paste #pwldz1rs3

  1.         bool is_gs_slot = this->selected_slot == OWNER_DEITY;
  2.         bool invalid_slot = this->selected_slot == INVALID_COMPANY;
  3.         bool is_orange_slot = IsEditable((CompanyID)(this->selected_slot)) && !Company::IsValidID(this->selected_slot);
  4.         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();
  5.         bool is_red_slot = IsEditable((CompanyID)(this->selected_slot)) && Company::IsValidID(this->selected_slot) && Company::IsValidAiID(this->selected_slot) && Company::Get(this->selected_slot)->ai_instance->IsDead();
  6.         bool is_

Paste #pi7dgzowb

  1. Check first slot:                                                           Check second slot:
  2. is_gs_slot  = false // GS slot isn't selected                               silver:
  3. is_gs_slot  = true  // GS slot is selected, and thus, unmovable             IsEditable  = false // human player in this slot, or outside slot range of 1-15, and thus, unmovable
  4.  
  5. invalid_slot= false // nothing isn't selected                               orange:

Paste #pcgnsbddr

  1. bool gs_slot = this->selected_slot == OWNER_DEITY;
  2. bool dead_ai_slot = IsEditable((CompanyID)(this->selected_slot)) && Company::IsValidAiID(this->selected_slot) && !Company::Get(this->selected_slot)->ai_instance->IsDead();
  3. this->SetWidgetDisabledState(WID_AIC_CHANGE, _game_mode == GM_NORMAL && (gs_slot || dead_ai_slot) || this->selected_slot == INVALID_COMPANY);

Paste #phz94hxiy

  1. // RoadTypes, with ability to get road type, tram type, or look up roadtype given subtype
  2. enum RoadTypes {
  3.     ROADTYPES_ROAD_BASE = 0,
  4.     ROADTYPES_ROAD_LENGTH = 4,    ///< Number of bit
  5.     ROADTYPES_INVALID_ROAD = 0x7, ///< Road-type denoting 'no road'.

Paste #pytpi3bkw

  1. this->SetWidgetDisabledState(WID_AIC_CHANGE, ((this->selected_slot == OWNER_DEITY && _game_mode == GM_NORMAL) || this->selected_slot == INVALID_COMPANY) || (this->selected_slot <= MAX_COMPANIES && _game_mode == GM_NORMAL && Company::IsValidAiID(this->selected_slot) && !Company::Get(this->selected_slot)->ai_instance->IsDead()));

NotRoadTypes

  1. NotRoadType Spec
  2.  
  3. Essential
  4. • split RoadType to StreetType and TramType
  5. • per tile, one StreetType and one TramType may be present

NotRoadTypes

  1. NotRoadType Spec
  2.  
  3. Essential
  4. • ‘road' and ‘tram' are independent, like ‘road’ and ‘rail’
  5. • they can coexist on the same tile in some cases, but do not influence each other

NotRoadTypes

  1. Spec
  2.  
  3. Essential
  4. • ‘road' and ‘tram' are independent, like ‘road’ and ‘rail’
  5. • they can coexist on the same tile in some cases, but do not influence each other

NotRoadTypes

  1. NotRoadTypes Spec
  2.  
  3. Essential
  4. • ‘road' and ‘tram' are independent, like ‘road’ and ‘rail’
  5. • they can coexist on the same tile in some cases, but do not influence each other

NotRoadTypes

  1. Spec
  2.  
  3. Essential
  4. • ‘road' and ‘tram' are independent, like ‘road’ and ‘rail’
  5. • they can coexist on the same tile in some cases, but do not influence each other

NotRoadTypes

  1. Spec
  2.  
  3. Essential
  4.     • ‘road' and ‘tram' are independent, like ‘road’ and ‘rail’
  5.     • they can coexist on the same tile in some cases, but do not influence each other

NotRoadTypes

  1. NotRoadTypes Spec
  2.  
  3. Essential
  4. ‘road' and ‘tram' are independent, like ‘road’ and ‘rail’
  5. they can coexist on the same tile in some cases, but do not influence each other

Paste #pwsi6f6d1

  1.    CPU  - file size -   encode method   -  encode time - encode speed - upload rate
  2.          (in Bytes)                         (in secs)
  3. FX-8150 -  13261252 - lzma preset 0.sav -  9,872231400 -  1343288 B/s -  10494 Kbps
  4. FX-8150 -  12747536 - lzma preset 1.sav - 10,690595300 -  1192406 B/s -   9315 Kbps
  5. FX-8150 -  12256972 - lzma preset 2.sav - 12,391299100 -   989159 B/s -   7727 Kbps