Loading

Paste #pvekrsvxs

  1. production_version = 0 | 1
  2.  
  3. // 0 : behaviour as before (now)
  4. // 1 : new behaviour with up to 64 cargoes:

Paste #phqik4jng

  1. combination of switch expression syntax with "[expression1, ...]" for multiple things, and switch/layout body syntax with "foo: bar;"
  2.  
  3. produce(switch_name, [
  4.   IORE: expression;
  5.   COAL: expression;

Paste #pefzfn0mf

  1. void MaybeStartNewCompany() {
  2.     uint current_companies = (uint)Company::GetNumItems();
  3.  
  4.     /* Count number of existing AI only companies. */
  5.     uint current_ais = 0;

Paste #ppazmhk0d

  1. /** Start new competitor companies if possible. */
  2. void MaybeStartNewCompany()
  3. {
  4.     /* Count number of total existing companies. */
  5.     uint current_companies = (uint)Company::GetNumItems();

Paste #psh2zd1js

  1. local myCID = Utils.MyCID();
  2.  
  3.                 if (!AITown.HasStatue(town)) {
  4.                     local action = AITown.TOWN_ACTION_BUILD_STATUE;
  5.                     if (AITown.IsActionAvailable(town, action)) {

Paste #pnrowcvo8

  1. /* static */ VehicleID ScriptVehicle::GetVehicleID(UnitID unit_number, ScriptVehicle::VehicleType vehicle_type)
  2. {
  3.     EnforcePrecondition(INVALID_VEHICLE, vehicle_type == ScriptVehicle::VT_AIR || vehicle_type == ScriptVehicle::VT_ROAD || vehicle_type == ScriptVehicle::VT_RAIL || vehicle_type == ScriptVehicle::VT_WATER);
  4.     EnforcePrecondition(INVALID_VEHICLE, unit_number >= 0 && unit_number <= UINT16_MAX);

https://imgur.com/wQuDOi5

  1. https://imgur.com/wQuDOi5
  2.  
  3. static bool GrowingOnWateredTile(TileIndex tile)
  4. {
  5.     TrackBits water_track = TrackStatusToTrackBits(GetTileTrackStatus(tile, TRANSPORT_WATER, 0));

Paste #plpbjd2zg

  1. ingo@aeolus:~/bin/mercurial/hg$ sudo apt-get install python2.7-dev
  2. [sudo] Passwort für ingo:
  3. Paketlisten werden gelesen... Fertig
  4. Abhängigkeitsbaum wird aufgebaut.      
  5. Statusinformationen werden eingelesen.... Fertig

Paste #pn5we4eqn

  1.     openttd.exe!SQVM::Execute(SQObjectPtr & closure, __int64 target, __int64 nargs, __int64 stackbase, SQObjectPtr & outres, unsigned __int64 raiseerror, SQVM::ExecutionType et) Ligne 730 C++
  2.     openttd.exe!sq_resumeerror(SQVM * v) Ligne 1031 C++
  3.     openttd.exe!Squirrel::ResumeError() Ligne 337   C++
  4. >   openttd.exe!`ScriptInstance::GameLoop'::`1'::catch$3() Ligne 228    C++
  5.     [Code externe]

Paste #pungzsg9l

  1. static void CheckIfAircraftNeedsService(Aircraft *v)
  2. {
  3.     bool needs_automatic_servicing = v->NeedsAutomaticServicing();
  4.     bool has_pending_replace = v->HasPendingReplace();
  5.     if (Company::Get(v->owner)->settings.vehicle.servint_aircraft == 0 || (!needs_automatic_servicing &&

Paste #pjp9qy4zx

  1.     openttd.exe!Utf8Decode(unsigned int * c, const char * s) Line 452   C++
  2.     openttd.exe!Utf8Consume(const char * * s) Line 90   C++
  3.     openttd.exe!FormatString(char * buff, const char * str_arg, StringParameters * args, const char * last, unsigned int case_index, bool game_script, bool dry_run) Line 798   C++
  4.     openttd.exe!FormatString(char * buff, const char * str_arg, StringParameters * args, const char * last, unsigned int case_index, bool game_script, bool dry_run) Line 789   C++
  5.     openttd.exe!FormatString(char * buff, const char * str_arg, StringParameters * args, const char * last, unsigned int case_index, bool game_script, bool dry_run) Line 1008  C++
  6.     openttd.exe!Form

Paste #ptdil1uqf

  1.         bool hangar_in_o = false;
  2.         const Order *o;
  3.  
  4.         /* Is there at least an airport with a hangar in the orders? */
  5.         FOR_VEHICLE_ORDERS(v, o) {

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

ww 22.04.2018 / 00.04 uhr

  1.  
  2. 670814
  3. 619
  4. 457
  5. 26692