Loading

Paste #pwumtlbr3

  1.     uint it_x = TileX(it);
  2.     uint it_y = TileY(it);
  3.     uint max_it_x = it_x + as->size_x - 1;
  4.     uint max_it_y = it_y + as->size_y - 1;
  5.     while (!IsValidTile(TileXY(max_it_x, it_y))) max_it_x--;

Paste #pdct3fzq9

  1. *Industry Satisfaction CB*
  2.  
  3. Called by town when evaluating whether to grow.
  4.  
  5. Called for every industry in the town catchment that handles the callback.

Paste #paqjqngdc

  1. SuperBobGoals GS
  2.  
  3. SuperBobGoals is a GameScript which challenges you to transport a certain amount of 3 cargos in a certain timespan.  SuperBobGoals also adjusts town growth, so that towns won't grow unless specific cargos are delivered.  SuperBobGoals also controls the closure of industries.  SuperBobGoals also controls the placement of industries when the map is generated.  SuperBobGoals also introduces a tech ladder for vehicles.  SuperBobGoals requires the FIRS industry newgrf, and the Iron Horse, AV9, Road Hog and Unsinkable Sam vehicle newgrfs.

Paste #po4oxpeda

  1. @@ -2585,7 +2585,8 @@ STR_EDIT_SIGN_SIGN_OSKTITLE                                     :{BLACK}ادخل
  2.  # Town directory window
  3.  STR_TOWN_DIRECTORY_CAPTION                                      :{WHITE}مدن/ بلدات
  4.  STR_TOWN_DIRECTORY_NONE                                         :{ORANGE}-بدون-
  5. -STR_TOWN_DIRECTORY_TOWN                                         :{ORANGE}{TOWN}{BLACK} ) {COMMA})

Refit menu greyed out

  1. switch (FEAT_TRAINS, SELF, switch_railjet_position_default, position_in_articulated_veh) {
  2.     0: set_railjet_taurus;
  3.     1: set_railjet_bmpvz;
  4.     2: set_railjet_bmpz;
  5.     3: set_railjet_bmpz;

Paste #pfdm6s4jk

  1. R01-G01 - NoCAB vs AdmiralAI - 4,078 days
  2. R01-G02 - AIAI vs NoNoCAB - 3,869 days
  3. R01-G03 - AroAI vs OtviAI - 5,464 days
  4. R01-G04 - BorkAI vs PathZilla - 7,998 days
  5. R01-G05 - ChooChoo vs PAXLink - 4,153 days

layerssssss

  1. switch (FEAT_TRAINS,SELF, switch_rail_freight_vehid_back_layers, [
  2.   STORE_TEMP((getbits(extra_callback_info1, 8, 8) < 4 ? CB_FLAG_MORE_SPRITES  : 0) + PALETTE_USE_DEFAULT, 0x100),
  3.   getbits(extra_callback_info1, 8, 8)
  4.   ]){
  5.   0: sprite_attach_background_8_rail_freight_wagon;

Paste #pwdz0xly8

  1.             if (company_id != INVALID_COMPANY) {
  2.                 if (company_id >= MAX_COMPANIES) return CMD_ERROR;
  3.                 if (ais_to_start != 1) return CMD_ERROR;
  4.                 if (Company::IsValidID(company_id)) return CMD_ERROR;
  5.             }

Paste #p0j4ujpqq

  1. // script_airport.hpp
  2.     /**
  3.      * Checks whether the noise that will be added to the nearest town if an airport would be
  4.      *  built at this tile is allowed.
  5.      * @param tile The tile to check.

engines from both ends

  1. //------------------------------------------------------------------------------------------------------------
  2. switch(FEAT_TRAINS, SELF, switch_railmedium_9_graphics_both_draw1, position_in_consist){
  3.     0: spriteset_train_railmedium9;
  4.     railuniversal2_wagon_switch;
  5. }

layers recolour

  1. switch (FEAT_TRAINS,SELF, switch_mglv_hopper_layer0, [
  2.   STORE_TEMP(CB_FLAG_MORE_SPRITES + base_sprite_2cc + 3 + 16 * company_colour2, 0x100)
  3. ]{
  4.   return spritegroup_maglevhopper_wagon_layer;
  5. }

Paste #phei0hx40

  1. (bin35) iron-horse$ hg up tip
  2. abort: outstanding merge conflicts
  3. (bin35) iron-horse$ hg merge --abort
  4. abort: no merge in progress

Paste #pvyuvm5d2

  1. $ aptitude search evolve
  2. p   evolver                                                           - Surface Evolver                                                            
  3. p   evolver-doc                                                       - Surface Evolver - doc                                                      
  4. p   evolver-nox                                                       - Surface Evolver - with no X support                                        
  5. p   evolver-ogl                                                       - Surface Evolver - with OpenGL display                                      
  6. p   python-pyevolve

Paste #pgvyt0l3p

  1.     if (this->elem >= PFE_AI0 && this->elem <= PFE_AI14) {
  2.         uint active_ais = 0;
  3.         Company *c;
  4.         FOR_ALL_COMPANIES(c) {
  5.             if (Company::IsValidAiID(c->index) && Company::Get(c->index)->ai_instance != NULL && !Company::Get(c->index)->ai_instance->IsDead()) {

Paste #pbwqwybj8

  1. OpenTTD-website.andythenorth(2019-update-content)$ git co master
  2. Switched to branch 'master'
  3. Your branch is up to date with 'origin/master'.
  4. OpenTTD-website.andythenorth(master)$ git fetch upstream
  5. remote: Enumerating objects: 28, done.