Loading

Paste #p2cylboxi

  1.     if (IsSavegameVersionBefore(195)) {
  2.         for (TileIndex t = 0; t < map_size; t++) {
  3.             if ((IsTileType(t, MP_STATION) || IsTileType(t, MP_WATER) || IsTileType(t, MP_OBJECT)) && GetWaterClass(t) == WATER_CLASS_CANAL) {
  4.                 assert(IsValidTile(t));
  5.                 assert(!IsTileType(t, MP_HOUSE));

HORRIBLE

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

Paste #pow6kkx9d

  1. /**
  2.  * Returns the owner of a tile
  3.  *
  4.  * This function returns the owner of a tile. This cannot used
  5.  * for tiles which type is one of MP_HOUSE, MP_VOID and MP_INDUSTRY

Paste #p1lurqbzg

  1.  
  2. »» 19:44:53 < heffer> planetmaker: fixed nml 0.4.0 source tarball in sight? :D
  3. »» 19:45:14 <@planetmaker> ehm, would be 0.4.1 :)
  4. »» 19:45:23 < heffer> okay :D
  5. »» 19:48:21 <@planetmaker> heffer: can you check whether the current dev version is more to your liking? :) http://bundles.openttdcoop.org/nml/push/LATEST/ The manifest was really borked

canal owner testing

  1. Index: src/water_map.h
  2. ===================================================================
  3. --- src/water_map.h (revision 27177)
  4. +++ src/water_map.h (working copy)
  5. @@ -346,8 +346,33 @@

Paste #p20tkxsoz

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

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