Loading

Paste #psmgcc2cs

  1. /** Information about GRF, used in the game and (part of it) in savegames */
  2. struct GRFConfig : ZeroedMemoryAllocator {
  3.     GRFConfig(const char *filename = NULL);
  4.     GRFConfig(const GRFConfig &config);
  5.     ~GRFConfig();

Paste #pcte0cuvk

  1. static const SaveLoad _grfconfig_desc[] = {
  2.     SLEG_CONDSTR(_filename,                   SLE_STR,    0x40, 0, 221),
  3.      SLE_CONDVAR(GRFConfig, fylename,         SLE_STDSTRING, 222, SL_MAX_VERSION),
  4.          SLE_VAR(GRFConfig, ident.grfid,      SLE_UINT32),
  5.          SLE_ARR(GRFConfig, ident.md5sum,     SLE_UINT8,  16),

FindClosestReachableShipD

  1. Index: src/pathfinder/yapf/yapf.h
  2. ===================================================================
  3. --- src/pathfinder/yapf/yapf.h  (revision 27829)
  4. +++ src/pathfinder/yapf/yapf.h  (working copy)
  5. @@ -97,4 +97,14 @@

FindClosestReachableShipD

  1. Index: src/pathfinder/yapf/yapf.h
  2. ===================================================================
  3. --- src/pathfinder/yapf/yapf.h  (revision 27829)
  4. +++ src/pathfinder/yapf/yapf.h  (working copy)
  5. @@ -97,4 +97,14 @@

FindClosestReachableShipD

  1. Index: src/pathfinder/follow_track.hpp
  2. ===================================================================
  3. --- src/pathfinder/follow_track.hpp (revision 27829)
  4. +++ src/pathfinder/follow_track.hpp (working copy)
  5. @@ -438,6 +438,21 @@

FindClosestReachableShipD

  1. Index: src/pathfinder/yapf/yapf.h
  2. ===================================================================
  3. --- src/pathfinder/yapf/yapf.h  (revision 27829)
  4. +++ src/pathfinder/yapf/yapf.h  (working copy)
  5. @@ -97,4 +97,14 @@

Paste #pmxscn0go

  1. from kivy.app import App
  2. from kivy.uix.screenmanager import ScreenManager, Screen
  3. from kivy.uix.boxlayout import BoxLayout
  4. from kivy.properties import StringProperty

Paste #pm6zsqs0x

  1. >>> exec(open("./ShowImage.py").read(), globals())
  2. [INFO   ] [Logger      ] Record log in /home/planetmaker/.kivy/logs/kivy_17-03-25_3.txt
  3. [INFO   ] [Kivy        ] v1.9.1
  4. [INFO   ] [Python      ] v3.5.3 (default, Mar  8 2017, 18:16:59)
  5. [GCC 6.3.1 20161221 (Red Hat 6.3.1-1)]

Paste #pdrpkkwh6

  1. consist.add_unit(capacity = 40,
  2.                 vehicle_length = 7,
  3.                 cargo_length = 4,
  4.                 repeat = 4)

Paste #p3ywofais

  1. /* AyStar callback when an route has been found. */
  2. static void River_FoundEndNode(AyStar *aystar, OpenListNode *current)
  3. {
  4.     for (PathNode *path = &current->path; path != NULL; path = path->parent) {
  5.         TileIndex tile = path->node.tile;

friendly river gen

  1. Index: src/landscape.cpp
  2. ===================================================================
  3. --- src/landscape.cpp   (revision 27795)
  4. +++ src/landscape.cpp   (working copy)
  5. @@ -992,6 +992,32 @@

friendly river gen

  1. Index: src/landscape.cpp
  2. ===================================================================
  3. --- src/landscape.cpp   (revision 27795)
  4. +++ src/landscape.cpp   (working copy)
  5. @@ -992,6 +992,32 @@

friendly river gen

  1. Index: src/landscape.cpp
  2. ===================================================================
  3. --- src/landscape.cpp   (revision 27795)
  4. +++ src/landscape.cpp   (working copy)
  5. @@ -1008,7 +1008,7 @@

Paste #pecztjz1v

  1. openttd-trunk(master)$ make run -j13
  2. make[1]: Nothing to be done for `all'.
  3. make[1]: Nothing to be done for `all'.
  4. make[1]: Nothing to be done for `all'.
  5. make[1]: Nothing to be done for `all'.

Paste #phpkcrryy

  1.         spritelayout aluminium_plant_spritelayout_1 {
  2.            
  3.  
  4.             // industry-specific ground (snow aware)
  5.             // normal