2309 Commits

Author SHA1 Message Date
UnknownShadow200
714f03e893 Simplify and modularise AsyncDownloader, remove duplicate entity spwaning code, remove EntityInfoChange event (broken, as it didn't change the in game entity display name) 2015-05-13 19:47:12 +10:00
UnknownShadow200
12bcf5d335 Start work on CpeExtPlayerList version 2, remove useless comments in packet size array initialiser. 2015-05-13 06:39:30 +10:00
UnknownShadow200
55f23831e1 Cleanup physics, fix bug with half stairs. 2015-05-13 06:09:50 +10:00
UnknownShadow200
a8f663f129 Optimise allocations of cursor get/set calls, optimise allocations in PauseScreen. 2015-05-12 19:16:04 +10:00
UnknownShadow200
78d35a0b87 Some simplification of 2D screens. 2015-05-11 18:23:31 +10:00
UnknownShadow200
5db13ca535 Don't use substring with WoM detail strings. 2015-05-11 06:22:31 +10:00
UnknownShadow200
0352a4da4c Optimise string allocations, some other reductions in allocations. 2015-05-10 19:53:01 +10:00
UnknownShadow200
bb2a55944f Minimise allocation of FastBitmaps. 2015-05-10 07:29:01 +10:00
UnknownShadow200
d8b8e58656 Minimise DrawTextArgs allocations. 2015-05-10 07:17:21 +10:00
UnknownShadow200
05621acd92 Minimise brush allocations. 2015-05-10 06:54:17 +10:00
UnknownShadow200
91f31fd85a Remove debug statement. 2015-05-09 19:09:25 +10:00
UnknownShadow200
0f0b3e57d5 Reduce temporary string allocations. 2015-05-09 18:50:15 +10:00
UnknownShadow200
989870e623 Refactor most 2D operations, further reduce memory allocations. 2015-05-09 18:37:20 +10:00
UnknownShadow200
df8719e4ba Simplify PhysicsTick() 2015-05-09 08:14:31 +10:00
UnknownShadow200
f2f6fb7487 Various simplifications. 2015-05-09 06:22:55 +10:00
UnknownShadow200
bae3b3d32e Various simplifications. 2015-05-08 06:43:50 +10:00
UnknownShadow200
dc2b67d538 Further simplify LocalPlayer. 2015-05-07 18:58:12 +10:00
UnknownShadow200
512657e009 Remove unused ambient lighting code. 2015-05-07 16:27:54 +10:00
UnknownShadow200
49ebc304b9 Simplify mouse picking. 2015-05-06 06:43:38 +10:00
UnknownShadow200
197fb5f7c9 Even more simplification. 2015-05-05 19:07:25 +10:00
UnknownShadow200
4d4dca6de7 More simplification of LocalPlayer. 2015-05-05 18:58:09 +10:00
UnknownShadow200
8376a3b881 More cleanup of LocalPlayer. 2015-05-05 18:49:35 +10:00
UnknownShadow200
010d14c545 Use tSquared for comparisons in entity physics. 2015-05-05 18:44:52 +10:00
UnknownShadow200
808504b382 Simplify FixedBufferStream. 2015-05-05 16:21:19 +10:00
UnknownShadow200
c436c5beea Simplify UpdateState() in LocalPlayer. 2015-05-05 06:45:56 +10:00
UnknownShadow200
25fa7e19bf Add * operator which does component-wise multiplication in OpenTK vectors. 2015-05-04 06:39:13 +10:00
UnknownShadow200
8575c6fb72 Some cleanup in LocalPlayer. 2015-05-04 06:31:43 +10:00
UnknownShadow200
d0fc1fe791 Simplify ^detail.user= parsing. 2015-05-03 06:51:24 +10:00
UnknownShadow200
45d0e53a72 Simplify BlockModel. 2015-05-03 06:40:05 +10:00
UnknownShadow200
2c8535c2ec Fix compliance issue with BlockPermissions (ServerIdentification and SetPermission overriding SetBlockPermissions) 2015-05-02 07:42:17 +10:00
UnknownShadow200
8548159927 Move offseting from SphereInFrustum to ChunkInfo constructor. 2015-05-02 07:08:26 +10:00
UnknownShadow200
3922da3305 Move rendering functions from ChunkMeshBuilder to MapRenderer. 2015-05-02 07:01:34 +10:00
UnknownShadow200
3994af123b Integrate ChunkMeshBuilderTex2Col4 and ChunkMeshBuilder into one class. 2015-05-02 06:53:48 +10:00
UnknownShadow200
afd70c38c2 Remove useless UsesLighting calls. 2015-05-02 06:11:07 +10:00
UnknownShadow200
7a93a8e813 Move some classes into folders. 2015-05-02 06:08:51 +10:00
UnknownShadow200
05e6eef41c Optimise Draw functions in MapRenderer. 2015-05-01 06:43:17 +10:00
UnknownShadow200
f3eeee2d02 Reduce OpenTK even more. 2015-05-01 06:16:58 +10:00
UnknownShadow200
00f20c7fa9 Properly cleanup after disconnected, fix pause screen overriding error screen. 2015-04-30 06:44:21 +10:00
UnknownShadow200
92b8266e29 Simplify view distance cycling. 2015-04-30 06:27:57 +10:00
UnknownShadow200
1b6b9133fe Avoid reallocating vertices every frame in ParticleManager. 2015-04-29 06:37:47 +10:00
UnknownShadow200
fa62592016 Use array cache to avoid reallocating states in Entity.MoveAndWallSlide() 2015-04-29 06:16:37 +10:00
UnknownShadow200
69a166e1f2 Reuse single buffer for writing packets. 2015-04-28 06:41:03 +10:00
UnknownShadow200
60f0086680 Cache WoM env and terrain identifiers. 2015-04-28 06:26:46 +10:00
UnknownShadow200
1a61c78ed6 Reuse 1 PickedPos instance. 2015-04-28 06:19:36 +10:00
UnknownShadow200
7b0aa1482d Cache Action<> constructor calls. 2015-04-27 06:39:58 +10:00
UnknownShadow200
7dcfb4526a Fix display lists. (oops) 2015-04-26 19:53:10 +10:00
UnknownShadow200
8d68ebc3de Fix crashing II. 2015-04-26 09:01:02 +10:00
UnknownShadow200
99bb316001 Fix crashing. 2015-04-26 08:44:23 +10:00
UnknownShadow200
a2e50e914f [broken] Attempting to fix vertices > 65536. 2015-04-26 08:42:33 +10:00
UnknownShadow200
08b7bdb854 Less hardcoding. 2015-04-26 08:26:31 +10:00