Loading

Paste #pow6gd4ao

  1. switch (FEAT_OBJECTS, SELF, object_decide_tilepos, relative_coord(relative_x,relative_y)) {
  2.     relative_coord(0,0): graphics_object_tile_00;
  3.     relative_coord(1,0): graphics_object_tile_10;
  4. }

Attempt

  1. $ ./make.bat
  2.  
  3. C:\TTDTools\GRFs\Useful Sources\nutracks-c56a33a23225>gcc -C -E -I. -nostdinc -x c-header -o src/nutracks.nml src/nutracks.pnml
  4.  
  5. C:\TTDTools\GRFs\Useful Sources\nutracks-c56a33a23225>nmlc src/nutracks.nml

Error

  1. $ ./make.bat
  2.  
  3. C:\TTDTools\GRFs\Useful Sources\nutracks-c56a33a23225>gcc -C -E -nostdinc -x c-header -o nutracks.nml nutracks.pnml
  4. gcc: error: nutracks.pnml: No such file or directory
  5. gcc: warning: '-x c-header' after last input file has no effect

Paste #pqbylmyxq

  1.     for (local type = 0; type < 9999; type++) {
  2.         if (AIAirport.IsValidAirportType(type)) {
  3.             local w = AIAirport.GetAirportWidth(type);
  4.             local h = AIAirport.GetAirportHeight(type);
  5.             local r = AIAirport.GetAirportCoverageRadius(type);

Paste #pzgax6cjj

  1.         local alltiles = AIMap.GetMapSize();
  2.         for (local type = 0; type <= 8; type++) {
  3.             for (local tile = 0; tile < alltiles; tile++) {
  4.                 AIAirport.GetNearestTown(tile, type);
  5.             }

Paste #pexnsnx62

  1.   GNU nano 2.9.7                                                                              C:/Users/Ricardo/.gitconfig
  2.  
  3. [user]
  4.         name = Samu
  5.         email = dj_samu@hotmail.com

Paste #pfy8hd19r

  1. [alias]
  2.     rb = "!f() { git fetch upstream && git rebase upstream/master; }; f"
  3.     pr = "!f() { git fetch -fu ${2:-$(git remote | grep ^upstream || echo origin)} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f"
  4.     pr-clean = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done"

Paste #pumazxsaf

  1.     AirportTileTableIterator it(as->table[0], tile);
  2.     for (TileIndex cur_tile = it; cur_tile != INVALID_TILE; cur_tile = ++it) {
  3.         if (!::IsValidTile(cur_tile)) return INVALID_TOWN;
  4.     }

Paste #pizf1oyp4

  1.         local alltiles = AIMap.GetMapSize();
  2.         for (local tile = 0; tile < alltiles; tile++) {
  3.             AIAirport.GetNearestTown(AIBase.RandRange(alltiles), AIAirport.AT_INTERCON);
  4.         }

Paste #piojqoyk3

  1.         local alltiles = AIMap.GetMapSize();
  2.         for (local tile = 0; tile < alltiles; tile++) {
  3.             AIAirport.GetNearestTown(tile, AIAirport.AT_INTERCON);
  4.         }
  5.         AIController.Break("Iterated all tiles");

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 #pmxvuic0n

  1. Town *AirportGetNearestTownKdTree(const AirportSpec *as, const TileIterator &it)
  2. {
  3.     Town *nearest = NULL;
  4.     if (Town::GetNumItems() == 0) return nearest;

Paste #psjlkah9v

  1.             AILog.Info("Checking " + AITown.GetName(town) + " for an airport of type " + WrightAI.GetAirportTypeName(a));
  2.  
  3.             local rectangleCoordinates = this.TownAirportRadRect(a, town);
  4.             local tileList = AITileList();
  5.             tileList.AddRectangle(rectangleCoordinates[0], rectangleCoordinates[1]);

Paste #p9xonsoqa

  1.             AILog.Info("Checking " + AITown.GetName(town) + " for an airport of type " + WrightAI.GetAirportTypeName(a));
  2.  
  3.             local rectangleCoordinates = this.TownAirportRadRect(a, town);
  4.             local tileList = AITileList();
  5.             tileList.AddRectangle(rectangleCoordinates[0], rectangleCoordinates[1]);

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