Changeset 151
- Timestamp:
- Aug 31, 2014, 11:11:11 PM (10 years ago)
- Location:
- binary-improvements
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/MapRendering/MapRendering.cs
r148 r151 227 227 private void getBlockNumber (Vector2i innerPos, out Vector2i block, out Vector2i blockOffset, int scaleFactor, int offsetSize) 228 228 { 229 block = default(Vector2i); 230 blockOffset = default(Vector2i); 229 231 block.x = ((innerPos.x + 16777216) / scaleFactor) - (16777216 / scaleFactor); 230 232 block.y = ((innerPos.y + 16777216) / scaleFactor) - (16777216 / scaleFactor); … … 238 240 out int widthPix, out int heightPix) 239 241 { 242 minChunk = default(Vector2i); 243 maxChunk = default(Vector2i); 244 minPos = default(Vector2i); 245 maxPos = default(Vector2i); 246 240 247 long[] keys = rfm.GetAllChunkKeys (); 241 248 int minX = Int32.MaxValue; -
binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web/Web.cs
r142 r151 20 20 21 21 handlers.Add ("/index.", new SimpleRedirectHandler ("/static/index.html")); 22 handlers.Add ("/static/", new StaticHandler ("/static/", Application.dataPath + "/../webserver", true, true));22 handlers.Add ("/static/", new StaticHandler ("/static/", Application.dataPath + "/../webserver", false/*true*/, true)); // TODO: Enable cache 23 23 handlers.Add ("/map/", new StaticHandler ("/map/", StaticDirectories.GetSaveGameDir () + "/map", false, false)); 24 24 -
binary-improvements/bin/Release/7dtd-server-fixes_version.txt
r148 r151 1 Version: 0.91.5356. 284651 Version: 0.91.5356.41724
Note:
See TracChangeset
for help on using the changeset viewer.