Changeset 148
- Timestamp:
- Aug 31, 2014, 3:49:00 PM (10 years ago)
- Location:
- binary-improvements
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/MapRendering/MapRendering.cs
r144 r148 87 87 renderingFullMap = true; 88 88 89 Vector2i minChunk , maxChunk;90 Vector2i minPos , maxPos;89 Vector2i minChunk = default(Vector2i), maxChunk = default(Vector2i); 90 Vector2i minPos = default(Vector2i), maxPos = default(Vector2i); 91 91 int widthChunks, heightChunks, widthPix, heightPix; 92 92 getWorldExtent (rfm, out minChunk, out maxChunk, out minPos, out maxPos, out widthChunks, out heightChunks, out widthPix, out heightPix); … … 104 104 Monitor.Enter (Instance.zoomLevelBuffers); 105 105 try { 106 Vector2i curFullMapPos ;107 Vector2i curChunkPos ;106 Vector2i curFullMapPos = default(Vector2i); 107 Vector2i curChunkPos = default(Vector2i); 108 108 for (curFullMapPos.x = 0; curFullMapPos.x < widthPix; curFullMapPos.x += Constants.MAP_CHUNK_SIZE) { 109 109 for (curFullMapPos.y = 0; curFullMapPos.y < heightPix; curFullMapPos.y += Constants.MAP_CHUNK_SIZE) { … … 186 186 //Log.Out ("Start Dirty: " + chunkPos); 187 187 188 Vector2i block , blockOffset;188 Vector2i block = default(Vector2i), blockOffset = default(Vector2i); 189 189 getBlockNumber (chunkPos, out block, out blockOffset, Constants.MAP_BLOCK_TO_CHUNK_DIV, Constants.MAP_CHUNK_SIZE); 190 190 191 191 zoomLevelBuffers [Constants.ZOOMLEVELS - 1].LoadBlock (block); 192 192 193 Vector2i v_block , v_blockOffset;193 Vector2i v_block = default(Vector2i), v_blockOffset = default(Vector2i); 194 194 foreach (Vector2i v in keys) { 195 195 getBlockNumber (v, out v_block, out v_blockOffset, Constants.MAP_BLOCK_TO_CHUNK_DIV, Constants.MAP_CHUNK_SIZE); … … 215 215 { 216 216 if (level > 0) { 217 Vector2i block , blockOffset;217 Vector2i block = default(Vector2i), blockOffset = default(Vector2i); 218 218 getBlockNumber (innerBlock, out block, out blockOffset, 2, Constants.MAP_BLOCK_SIZE / 2); 219 219 -
binary-improvements/bin/Release/7dtd-server-fixes_version.txt
r146 r148 1 Version: 0.91.535 5.362171 Version: 0.91.5356.28465 -
binary-improvements/server-fixes.userprefs
r142 r148 1 1 <Properties> 2 2 <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"> 4 4 <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" /> 16 18 </Files> 17 19 <Pads>
Note:
See TracChangeset
for help on using the changeset viewer.