Loading

Paste #pttduycso

  1. /**
  2.  * Comment about getting owner of canal
  3.  */
  4. static inline Owner GetCanalOwner(TileIndex t)
  5. {

Paste #povxhxrch

  1. planetmaker@localhost:~/bin/hg$ hg pull
  2. Rufe von http://selenic.com/hg ab
  3. Suche nach Änderungen
  4. Füge Änderungssätze hinzu
  5. Füge Manifeste hinzu

Paste #pk9ivwxv6

  1. static inline Owner GetCanalOwner(TileIndex t)
  2. {
  3.     assert(HasTileWaterGround(t));
  4.  
  5.     if (GetWaterClass(t) != WATER_CLASS_CANAL) {

Paste #pw9iqf1q0

  1. diff --git a/CorsixTH/Src/th_lua_map.cpp b/CorsixTH/Src/th_lua_map.cpp
  2. index 8436bba..a36221a 100644
  3. --- a/CorsixTH/Src/th_lua_map.cpp
  4. +++ b/CorsixTH/Src/th_lua_map.cpp
  5. @@ -500,7 +500,7 @@ static int l_map_remove_cell_thob(lua_State *L)

Paste #pn0wg5xga

  1. #!/bin/sh
  2. cmake -D WITH_MOVIES:BOOL=ON \
  3.       -D SDL_LIBRARY:PATH=/usr/lib64/libSDL2.so \
  4.       -D SDL_INCLUDE_DIR=/usr/include/SDL2 \
  5.       -D WITH_LUAJIT:BOOL=ON \

Paste #pjhkexhdg

  1. diff -r 6bed28889caf Makefile
  2. --- a/Makefile  Sun Mar 01 09:25:20 2015 +0100
  3. +++ b/Makefile  Sun Mar 01 13:12:14 2015 +0000
  4. @@ -22,7 +22,7 @@
  5.  DOCS = license.txt readme.txt

Paste #paezrhq73

  1. class GfxClippingArea : public Backup<DrawPixelInfo>
  2. {
  3. public:
  4.   GfxClippingArea(const char * const file, const int line) : Backup<DrawPixelInfo>(_cur_dpi, file, line) {}

Paste #p1tainnyy

  1. {
  2.   GfxClippingArea clipping;
  3.   if (!clipping.Clip(r.left + WD_BEVEL_LEFT, r.top + WD_BEVEL_TOP, width, height)) break;
  4.  
  5.   // draw stuff
  6. }

Paste #pbft3mxmv

  1. (OTTD_graphics)pdq2s-MacBook-Pro-2:busy-bee-gs andy $ python musa.py
  2.   File "musa.py", line 1
  3. SyntaxError: Non-ASCII character '\xe4' in file musa.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Paste #pduokh7wn

  1. Index: src/gfx.cpp
  2. ===================================================================
  3. --- src/gfx.cpp (revision 27171)
  4. +++ src/gfx.cpp (working copy)
  5. @@ -1636,8 +1636,11 @@

Unaffect Industry tile m1

  1. Index: src/industry_cmd.cpp
  2. ===================================================================
  3. --- src/industry_cmd.cpp    (revision 27171)
  4. +++ src/industry_cmd.cpp    (working copy)
  5. @@ -1756,8 +1756,13 @@

Unaffect Industry tile m1

  1. Index: src/industry_cmd.cpp
  2. ===================================================================
  3. --- src/industry_cmd.cpp    (revision 27171)
  4. +++ src/industry_cmd.cpp    (working copy)
  5. @@ -1756,8 +1756,13 @@

Unaffect Industry tile m1

  1. Index: src/industry_cmd.cpp
  2. ===================================================================
  3. --- src/industry_cmd.cpp    (revision 27171)
  4. +++ src/industry_cmd.cpp    (working copy)
  5. @@ -1756,8 +1756,13 @@

Paste #ptabumwiq

  1.     /* I must comment something about bit 4 */
  2.     for (TileIndex t = 0; t < map_size; t++) {
  3.         if (IsTileType(t, MP_INDUSTRY) && (GetWaterClass(t) != WATER_CLASS_CANAL)) {
  4.             SB(_m[t].m1, 4, 1, 1);
  5.         }
  6.     }

Paste #plrxydqmr

  1.     do {
  2.         TileIndex cur_tile = tile + ToTileIndexDiff(it->ti);
  3.  
  4.         if (it->gfx != GFX_WATERTILE_SPECIALCHECK) {
  5.             i->location.Add(cur_tile);