Loading

Paste #prudxgwg7

  1. (bin35) iron-horse$ make clean
  2. [CLEANING]
  3. [DONE]
  4. (bin35) iron-horse$ time make PW=16
  5. [RENDER GRAPHICS] render_graphics.py

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

  1.  
  2. * andythenorth_ hat die Verbindung getrennt (Remote host closed the connection).
  3. <Alberth> they do make your life complicated with precise placement, or would that also happen with say, default industries ?
  4. <planetmaker> basically what alberth said: a too complex industry newgrf is not well suitable for interaction with anything outside it
  5. <_dp_> btw, all cb gamescripts currently sum all cargo delivered to a town regardless of specific industry first and only then make decisions

Paste #pynizppqk

  1. Regions?
  2.  
  3. As an example, FIRS Steeltown would have
  4.  
  5. - coal

layer test

  1. switch (FEAT_TRAINS,SELF, switch_rail_freight_attach_overlay, getbits(extra_callback_info1, 8, 8)){
  2.   0: return sprite_attach_overlay_8_rail_freight_engine;
  3.   return switch_rail_freight_graphics_which_end;
  4. }

asdf

  1.     graphics {
  2.  
  3.         produce_cargo_arrival: production_counter_reset;
  4.  
  5.         produce_256_ticks: produce_food_processor;
  1.  
  2. V@DESKTOP-F0RUS2Q ~
  3. $ pip install Pillow
  4. Collecting Pillow
  5.   Using cached https://files.pythonhosted.org/packages/81/1a/6b2971adc1bca55b9a53ed1efa372acff7e8b9913982a396f3fa046efaf8/Pillow-6.0.0.tar.gz

help me turn this into a

  1.     /* Count number of AI companies to start. */
  2.     uint num_to_start = 0;
  3.     do {
  4.         if (_networking && num_companies + num_to_start >= _settings_client.network.max_companies) break;
  5.         if (num_ais + num_to_start >= (uint)_settings_game.difficulty.max_no_competitors) break;

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

  1. void Manager::update_goals(Manager::CompanyData &data) {
  2.     fmt::print(stderr, "UPDATE GOALS {} {} \n", data.is_processing, GetOwner(data.company));
  3.     if (data.is_processing)
  4.         return;
  5.     if (data.new_goals.size() > data.goals.size()) {

help me turn this into a

  1.     /* Count number of AI companies to start. */
  2.     uint num_to_start = 0;
  3.     do {
  4.         if (_networking && num_companies + num_to_start >= _settings_client.network.max_companies) break;
  5.         if (num_ais + num_to_start >= (uint)_settings_game.difficulty.max_no_competitors) break;

help me turn this into a

  1.     /* Count number of AI companies to start. */
  2.     uint num_to_start = 0;
  3.     do {
  4.         if (_networking && num_companies + num_to_start >= _settings_client.network.max_companies) break;
  5.         if (num_ais + num_to_start >= (uint)_settings_game.difficulty.max_no_competitors) break;

help me turn this into a

  1.     /* Count number of AI companies to start. */
  2.     uint num_to_start = 0;
  3.     do {
  4.         if (_networking && num_companies + num_to_start >= _settings_client.network.max_companies) break;
  5.         if (num_ais + num_to_start >= (uint)_settings_game.difficulty.max_no_competitors) break;

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