Loading

Paste #pjb22lrrb

  1.     cached_text_t* pEntry = m_aCache + iHash;
  2.     if(pEntry->iMessageLength != iMessageLength || pEntry->iWidth > iWidth
  3.         || (iWidth != INT_MAX && pEntry->iWidth < iWidth)
  4.         || pEntry->eAlign != eAlign || !pEntry->bIsValid
  5.         || memcmp(pEntry->sMessage, sMessage, iMessageLength) != 0)

Paste #pwt8ay35p

  1. diff --git a/CorsixTH/Src/th_gfx_font.cpp b/CorsixTH/Src/th_gfx_font.cpp
  2. index b3cdcd0..09a62d2 100644
  3. --- a/CorsixTH/Src/th_gfx_font.cpp
  4. +++ b/CorsixTH/Src/th_gfx_font.cpp
  5. @@ -731,8 +731,11 @@ int THFreeTypeFont::drawTextWrapped(THRenderTarget* pCanvas, const char* sMessag

Paste #ptd2yw2w1

  1. #0  0x0000000000452354 in THRenderTarget::createTexture (this=0x0, iWidth=32, iHeight=14, pPixels=0x71110e0)
  2.     at /home/alberth/corsix-th/corsix_alberth_fork/CorsixTH/Src/th_gfx_sdl.cpp:635
  3. #1  0x00000000004546f7 in THFreeTypeFont::_makeTexture (this=0x70aba68, pEventualCanvas=0x0, pCacheEntry=0x70abe00)
  4.     at /home/alberth/corsix-th/corsix_alberth_fork/CorsixTH/Src/th_gfx_sdl.cpp:1538
  5. #2  0x000000000046d1f5 in THFreeTypeFont::drawTextWrapped (this=0x70aba68, pCanvas=0x0, sMessage=0x1fd7208 "Magyar", iMessageLength=6, iX=0, iY=0,

Paste #pss2abftc

  1. diff --git a/CorsixTH/Lua/window.lua b/CorsixTH/Lua/window.lua
  2. index 0c52544..dc4fa61 100644
  3. --- a/CorsixTH/Lua/window.lua
  4. +++ b/CorsixTH/Lua/window.lua
  5. @@ -317,16 +317,28 @@ function Panel:drawLabel(canvas, x, y, limit)

Paste #puslfw73w

  1.             for (CityNode node : road_network.nodes.values()) {
  2.                 XY map_pos = road_network.positions.junction_map_positions.get(node.name);
  3.                 XY display_pos = new XY(xoffset + scale * map_pos.x, yoffset + scale * map_pos.y);
  4.                 road_network.positions.junction_display_positions.put(node.name, display_pos);
  5.             }

Paste #pcjilqkui

  1. outside
  2. col 1 y 1 width 2 height 2
  3. col 3 y 1 width 2 height 2
  4. col 5 y 1 width 2 height 1
  5. col 5 y 2 width 2 height 1

Paste #pdrbr6mm6

  1. #!/usr/bin/env lua
  2. editor_sprites=
  3. {foliage={{sprite=192, height=2}, -- Regular European shrub 1
  4.           {sprite=193, height=2}, -- Ground plant, green 1
  5.           {sprite=194, height=2}, -- Bush

Paste #pq36bdhke

  1. /home/alberth/freerct/freerct_git/src/mouse_mode.h:393: warning: Member MarkDirty() override (function) of class VoxelTileDataMouseMode< VoxelTileData< VoxelFenceData > > is not documented.
  2. /home/alberth/freerct/freerct_git/src/mouse_mode.h:408: warning: Member GetZRange(uint xpos, uint ypos) override (function) of class VoxelTileDataMouseMode< VoxelTileData< VoxelFenceData > > is not documented.
  3. /home/alberth/freerct/freerct_git/src/mouse_mode.h:186: warning: Member GetCursor(const XYZPoint16 &voxel_pos) override (function) of class TileDataMouseMode< VoxelTileData< VoxelFenceData > > is not documented.
  4. /home/alberth/freerct/freerct_git/src/mouse_mode.h:487: warning:

Paste #pvl8ki4t0

  1.   for _, object in pairs(object_list) do
  2.     if object.existing_object then
  3.       object.existing_objects = {object.existing_object}
  4.     end
  5.     self.objects[#self.objects + 1] = object

Paste #puvastb6c

  1. table: 0x7075370
  2.         qty     1
  3.         object  table: 0x5611a50
  4.                 tooltip <LocalisedString> Current value:Litter: Left on the floor by a patient because he did not find a bin to throw it in.
  5.                 thob    62

Paste #pprpjbtbv

  1. Index: pathfinder/yapf/yapf_costrail.hpp
  2. ===================================================================
  3. --- pathfinder/yapf/yapf_costrail.hpp   (revision 27324)
  4. +++ pathfinder/yapf/yapf_costrail.hpp   (working copy)
  5. @@ -487,7 +487,7 @@

Paste #p1xfftxyo

  1. Index: src/gfx.cpp
  2. ===================================================================
  3. --- src/gfx.cpp (revision 27323)
  4. +++ src/gfx.cpp (working copy)
  5. @@ -175,22 +175,11 @@

Paste #p0xbst66f

  1. Index: src/gfx.cpp
  2. ===================================================================
  3. --- src/gfx.cpp (revision 27323)
  4. +++ src/gfx.cpp (working copy)
  5. @@ -175,30 +175,24 @@

Paste #pzdzje656

  1. $ musa.py -d -r -x license.txt -c bundle/bananas.ini "bundle/BeeReward-v2"
  2. packaging files... (might take a while)
  3. Please enter your username: alberth
  4. Please enter your password:
  5. are you one of the authors of this content, if so answer 'yes I am': yes I am

Paste #p71oqjutl

  1. $  gvim CorsixTH/Src/th_gfx.cpp
  2.  
  3. $  make                        
  4. Scanning dependencies of target CorsixTH
  5. [  3%] Building CXX object CorsixTH/CMakeFiles/CorsixTH.dir/Src/th_gfx.cpp.o