Changeset 148 for binary-improvements


Ignore:
Timestamp:
Aug 31, 2014, 3:49:00 PM (10 years ago)
Author:
alloc
Message:

Fixes

Location:
binary-improvements
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/MapRendering/MapRendering.cs

    r144 r148  
    8787                        renderingFullMap = true;
    8888
    89                         Vector2i minChunk, maxChunk;
    90                         Vector2i minPos, maxPos;
     89                        Vector2i minChunk = default(Vector2i), maxChunk = default(Vector2i);
     90                        Vector2i minPos = default(Vector2i), maxPos = default(Vector2i);
    9191                        int widthChunks, heightChunks, widthPix, heightPix;
    9292                        getWorldExtent (rfm, out minChunk, out maxChunk, out minPos, out maxPos, out widthChunks, out heightChunks, out widthPix, out heightPix);
     
    104104                        Monitor.Enter (Instance.zoomLevelBuffers);
    105105                        try {
    106                                 Vector2i curFullMapPos;
    107                                 Vector2i curChunkPos;
     106                                Vector2i curFullMapPos = default(Vector2i);
     107                                Vector2i curChunkPos = default(Vector2i);
    108108                                for (curFullMapPos.x = 0; curFullMapPos.x < widthPix; curFullMapPos.x += Constants.MAP_CHUNK_SIZE) {
    109109                                        for (curFullMapPos.y = 0; curFullMapPos.y < heightPix; curFullMapPos.y += Constants.MAP_CHUNK_SIZE) {
     
    186186                                //Log.Out ("Start Dirty: " + chunkPos);
    187187
    188                                 Vector2i block, blockOffset;
     188                                Vector2i block = default(Vector2i), blockOffset = default(Vector2i);
    189189                                getBlockNumber (chunkPos, out block, out blockOffset, Constants.MAP_BLOCK_TO_CHUNK_DIV, Constants.MAP_CHUNK_SIZE);
    190190
    191191                                zoomLevelBuffers [Constants.ZOOMLEVELS - 1].LoadBlock (block);
    192192
    193                                 Vector2i v_block, v_blockOffset;
     193                                Vector2i v_block = default(Vector2i), v_blockOffset = default(Vector2i);
    194194                                foreach (Vector2i v in keys) {
    195195                                        getBlockNumber (v, out v_block, out v_blockOffset, Constants.MAP_BLOCK_TO_CHUNK_DIV, Constants.MAP_CHUNK_SIZE);
     
    215215                {
    216216                        if (level > 0) {
    217                                 Vector2i block, blockOffset;
     217                                Vector2i block = default(Vector2i), blockOffset = default(Vector2i);
    218218                                getBlockNumber (innerBlock, out block, out blockOffset, 2, Constants.MAP_BLOCK_SIZE / 2);
    219219
  • binary-improvements/bin/Release/7dtd-server-fixes_version.txt

    r146 r148  
    1 Version:       0.91.5355.36217
     1Version:       0.91.5356.28465
  • binary-improvements/server-fixes.userprefs

    r142 r148  
    11<Properties>
    22  <MonoDevelop.Ide.Workspace ActiveConfiguration="Release_Version" />
    3   <MonoDevelop.Ide.Workbench ActiveDocument="assembly-patcher/Main.cs">
     3  <MonoDevelop.Ide.Workbench ActiveDocument="7dtd-server-fixes/src/CustomCommands/ListPlayersExtended.cs">
    44    <Files>
    5       <File FileName="assembly-patcher/Main.cs" Line="21" Column="4" />
    6       <File FileName="7dtd-server-fixes/src/NetConnections/NetTelnetServer.cs" Line="28" Column="1" />
    7       <File FileName="7dtd-server-fixes/src/NetConnections/IServer.cs" Line="7" Column="21" />
    8       <File FileName="7dtd-server-fixes/src/NetConnections/Servers/Telnet/TelnetConnection.cs" Line="95" Column="1" />
    9       <File FileName="7dtd-server-fixes/src/MapRendering/MapRendering.cs" Line="21" Column="1" />
    10       <File FileName="7dtd-server-fixes/src/MapRendering/MapRenderBlockBuffer.cs" Line="40" Column="1" />
    11       <File FileName="7dtd-server-fixes/src/NetConnections/Servers/Web/Web.cs" Line="77" Column="59" />
    12       <File FileName="7dtd-server-fixes/src/NetConnections/Servers/Web/StaticHandler.cs" Line="54" Column="1" />
    13       <File FileName="7dtd-server-fixes/src/PersistentData/PersistentContainer.cs" Line="45" Column="19" />
    14       <File FileName="7dtd-server-fixes/src/PersistentData/KnownPlayers.cs" Line="20" Column="6" />
    15       <File FileName="7dtd-server-fixes/src/StateManager.cs" Line="28" Column="1" />
     5      <File FileName="assembly-patcher/Main.cs" Line="86" Column="25" />
     6      <File FileName="7dtd-server-fixes/src/PlayerDataStuff.cs" Line="16" Column="1" />
     7      <File FileName="7dtd-server-fixes/src/PersistentData/PersistentContainer.cs" Line="56" Column="70" />
     8      <File FileName="7dtd-server-fixes/src/PersistentData/Players.cs" Line="34" Column="33" />
     9      <File FileName="7dtd-server-fixes/src/PersistentData/Player.cs" Line="22" Column="3" />
     10      <File FileName="7dtd-server-fixes/src/PersistentData/Inventory.cs" Line="33" Column="1" />
     11      <File FileName="7dtd-server-fixes/src/PersistentData/InvItem.cs" Line="15" Column="23" />
     12      <File FileName="7dtd-server-fixes/src/StateManager.cs" Line="21" Column="5" />
     13      <File FileName="7dtd-server-fixes/src/CustomCommands/ListLandProtection.cs" Line="48" Column="1" />
     14      <File FileName="7dtd-server-fixes/src/AllocsLogFunctions.cs" Line="45" Column="57" />
     15      <File FileName="7dtd-server-fixes/src/CustomCommands/ListKnownPlayers.cs" Line="41" Column="5" />
     16      <File FileName="7dtd-server-fixes/src/CommandExtensions.cs" Line="19" Column="81" />
     17      <File FileName="7dtd-server-fixes/src/CustomCommands/ListPlayersExtended.cs" Line="70" Column="5" />
    1618    </Files>
    1719    <Pads>
Note: See TracChangeset for help on using the changeset viewer.