Loading

Paste #prkv7boyh

  1. Ricardo@FX-8150 MINGW64 /d/OpenTTD/OpenTTD GitHub/OpenTTD (EnsureNoShipFromDiagDirs)
  2. $ git fetch upstream
  3.  
  4. Ricardo@FX-8150 MINGW64 /d/OpenTTD/OpenTTD GitHub/OpenTTD (EnsureNoShipFromDiagDirs)
  5. $ git rebase upstream/master

Paste #purcr82x9

  1. // default graphics chain
  2.         spriteset(athena_ss_doors_closed_livery_1_0_unflipped, "generated/graphics/athena.png") {
  3.           spriteset_template_asymmetric_unreversed_athena_unflipped(10 + 0)
  4.         }
  5.         spriteset(athena_ss_doors_open_livery_1_0_unflipped, "generated/graphics/athena.png") {

Paste #pjkzbg4qk

  1. /// Somewhere in english.txt
  2. STR_AI_SETTINGS_CAPTION                                         :{WHITE}{STRING} Parameters of {RAW_STRING}
  3.  
  4. /// Somewhere in AI Settings Window widget construction
  5.         NWidget(WWT_CAPTION, COLOUR_MAUVE, WID_AIS_CAPTION), SetDataTip(STR_AI_SETTINGS_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),

Paste #pemgnti9i

  1. diff --git a/nml/parser.py b/nml/parser.py
  2. index 8d28382..7193262 100644
  3. --- a/nml/parser.py
  4. +++ b/nml/parser.py
  5. @@ -441,8 +441,12 @@ class NMLParser(object):

SCPLib Message.GetBoolDat

  1. function _SCPLib_Message::GetBoolData(index)
  2. // Get bool data at the index position in Data. If Data doesn't exist or the
  3. // index is invalid, null is returned. If data exist, but is not of the type
  4. // integer, null will be returned. Yes, it is not a typo. Bools are transmitted
  5. // as integers, however this function does check that the received integer is

Paste #pmacpimxt

  1. class SCPClient_CompanyValueGS {
  2.  
  3.     /* Private members variables */
  4.     static COMMAND_SET = "Company Value GS";

Paste #pa7nscczm

  1. void ScriptConfig::ResetChangeableSettings()
  2. {
  3.     if (this->info == NULL) return;
  4.  
  5.     for (SettingValueList::iterator it = this->settings.begin(); it != this->settings.end(); it++) {

Paste #pmqx8er2l

  1.     if (AI::CanStartNew() && _game_mode != GM_MENU && --_next_competitor_start == 0) {
  2.         /* Allow multiple AIs to possibly start in the same tick. */
  3.         do {
  4.             if (!MaybeStartNewCompany()) {
  5.                 break;

Paste #pnp04lwfn

  1. ///////////
  2. my approach
  3. ///////////
  4. cur_worst: 664 = 2343 * 84 / 296
  5. moved: +3

Paste #po46thby7

  1. ///////////
  2. my approach
  3. ///////////
  4. cur_worst: 642 = 2769 * 120 / 517
  5. moved: +2

Paste #phrxiucsp

  1. 1. Core Game
  2.     1. what's the game
  3.     2. how to get started
  4.     3. where to learn more about gameplay
  5. 2. Extend

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

  1. *** OpenTTD Crash Report ***
  2.  
  3. Crash at: Fri Apr  5 01:50:18 2019
  4. In game date: 1976-12-14 (72)