Loading

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

  1. /* static */ bool ScriptAirport::IsNoiseLevelAllowed(TileIndex tile, AirportType type)
  2. {
  3.     extern Town *AirportGetNearestTown(const AirportSpec *as, const TileIterator &it, uint &mindist);
  4.     extern uint8 GetAirportNoiseLevelForDistance(const AirportSpec *as, uint distance);

Paste #pwvjchy87

  1. local noise = AIAirport.GetNoiseLevelIncrease(tile, type);
  2. local allowed_noise = AITown.GetAllowedNoise(AIAirport.GetNearestTown(tile, type));
  3. local old_result = (noise != -1 && allowed_noise != -1 && noise <= allowed_noise);
  4. assert(old_result == AIAirport.IsNoiseLevelIncreaseAllowed(tile, type));

Paste #pzw5wpafl

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

  1. /usr/local/Cellar/freetype/2.9.1/lib/libfreetype.6.dylib:
  2. Mach header
  3.       magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
  4.  0xfeedfacf 16777223          3  0x00           6    16       1560 0x00100085
  5. Load command 0

Paste #pf4yhqvai

  1. /usr/local/Cellar/freetype/2.9.1/lib/libfreetype.6.dylib:
  2.     /usr/local/opt/freetype/lib/libfreetype.6.dylib (compatibility version 23.0.0, current version 23.1.0)
  3.     /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
  4.     /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
  5.     /usr/local/opt/libpng/lib/libpng16.16.dylib (compatibility version 51.0.0, current version 51.0.0)
  6.     /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)

Paste #pmxvuic0n

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

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

Paste #pltru1qh4

  1. *** OpenTTD Crash Report ***
  2.  
  3. Crash at: Fri Apr 19 07:07:31 2019
  4. In game date: 2009-12-18 (57)

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

  1. planetmaker@aeolusmaximus-vortex:~/ottd$ hg clone ssh://user@host/path/to/repo/ottd-hg ottd-hg
  2. Gegenseite: abort: repository requires features unknown to this Mercurial: sparserevlog!
  3. Gegenseite: (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
  4. Abbruch: Keine passende Antwort des entfernten hg!
  5. planetmaker@aeolusmaximus-vortex:~/ottd$ hg --version

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 #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]);

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