Loading

Paste #pclchz9l5

  1. bool THRenderTarget::shouldScaleBitmaps(float* pFactor)
  2. {
  3.     if(!m_bShouldScaleBitmaps)
  4.         return false;
  5.     if(pFactor)

Paste #pv2mg1ag2

  1. /CorsixTH/Src/th_gfx_sdl.cpp:885:57: warning: conversion to 'float' from 'int' may alter its value [-Wconversion]
  2.  
  3.                                static_cast<int>(iWidth * fScaleFactor),
  4.                                                          ^

Paste #pkqeoprwa

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