Loading

Paste #pjxlpttdj

  1. $ python3 src/render_docs.py
  2.   File "src/render_docs.py", line 9
  3.     print "[PYTHON] render docs"
  4.                                ^
  5. SyntaxError: invalid syntax

Paste #ps6q2pxx0

  1. grf {
  2.  grfid: "RS\01\02";
  3.  name: string(STR_GRF_NAME);
  4.  desc: string(STR_GRF_DESCRIPTION);
  5.  version: 0;

Paste #pchthae2x

  1. grf {
  2.  grfid: "RS\01\02";
  3.  name: string(STR_GRF_NAME);
  4.  desc: string(STR_GRF_DESCRIPTION);
  5.  version: 0;

Paste #pl4tteuex

  1. [PYTHON] render docs
  2. [PARSE BASE LANG & EXTRA STRINGS] utils.py
  3. Traceback (most recent call last):
  4.   File "/Users/andy/Documents/OTTD_graphics/bin3/lib/python3.3/site-packages/chameleon/utils.py", line 402, in __getitem__
  5.     return dict.__getitem__(self, key)

Paste #pljamjupf

  1. //! Bitflags for drawing operations
  2. enum THDrawFlags
  3. {
  4.     /** Sprite drawing flags **/
  5.     /* Where possible, designed to be the same values used by TH data files */

Paste #ptatxemzw

  1. [repository]
  2. native = LF
  3.  
  4. [patterns]
  5. **.py = native

Paste #plhqsoroa

  1. ingo@aeolus trunk default-r22157 (tip) ~/ottd/trunk $ hg log -u planetmaker -r'children(branchpoint())' | wc -l
  2. 81
  3. ingo@aeolus trunk default-r22157 (tip) ~/ottd/trunk $ hg log -u planetmaker -r'children(branchpoint())' --template='{branch}\n' | wc -l
  4. 14

Paste #p22gkwobj

  1. ingo@aeolus trunk default-r22157 (tip) ~/ottd/trunk $ hg log -u planetmaker -r'children(branchpoint())' --template='{branch}\n' | wc -l
  2. 14
  3. ingo@aeolus trunk default-r22157 (tip) ~/ottd/trunk $ hg log -u planetmaker -r'children(branchpoint()) and not closed()' --template='{branch}\n' | wc -l
  4. 14

Coding style genworld_gui

  1. # HG changeset patch
  2. # User chillcore
  3. # Date 1423430735 -3600
  4. #      zo feb 08 22:25:35 2015 +0100
  5. # Node ID 3a112fa300c7e566a64ce2554b104d2f103bf87c

GenerateLandscapeWindowMo

  1. # HG changeset patch
  2. # User chillcore
  3. # Date 1423428031 -3600
  4. #      zo feb 08 21:40:31 2015 +0100
  5. # Node ID 626e3398621f6061a450cce02f559bbdd177665b

Paste #paxe8ntdh

  1. (gdb) bt
  2. #0  0x000000000044922e in THSpriteSheet::_makeAltBitmap(THSpriteSheet::sprite_t*) ()
  3. #1  0x0000000000449010 in THSpriteSheet::drawSprite(THRenderTarget*, unsigned int, int, int, unsigned long) ()
  4. #2  0x0000000000458e72 in THAnimationManager::drawFrame(THRenderTarget*, unsigned int, THLayers_t const&, int, int, unsigned long) const ()
  5. #3  0x00000000004596e0 in THAnimation::draw(THRenderTarget*, int, int) ()

Paste #pnvpqvuml

  1. An error has occured!
  2. Almost anything can be the cause, but the detailed information below can help the developers find the source of the error.
  3. Running: The buttonup handler.
  4. A stack trace is included below, and the handler has been disconnected.
  5. ./CorsixTH/Lua/dialogs/place_objects.lua:384: bad argument #2 to 'setAnimation' (number expected, got nil)

Paste #plybnixxk

  1.     def get_name_substr(self):
  2.         # relies on name being in format "Foo [Bar]" for Name [Type Suffix]
  3.         name = self.title.decode('utf-8').split('[')[0]
  4.         # enforce a space if name is not empty
  5.         if len(name) is not 0:

Paste #pxbc9li0y

  1. import global_constants
  2. from train import EngineConsist, DieselLoco
  3. # for rest of stats, look up GE Evolution
  4. consist = EngineConsist(id = 'evolucao',
  5.               base_numeric_id = 2110,

Paste #pahrp9oek

  1. Python 3.4.1 (default, Nov  3 2014, 14:38:10)
  2. [GCC 4.9.1 20140930 (Red Hat 4.9.1-11)] on linux
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> title = u'Evoluc?a?o [Diesel]'.encode('utf-8')
  5. >>> print(title)