66 Commits

Author SHA1 Message Date
UnknownShadow200
fa36e7f8af Slightly better rendering of weather, still needs to fix some special cases though. 2016-05-29 22:26:50 +10:00
UnknownShadow200
c4f1f69cbd Use a single tab list code base for both CPE ExtPlayerList and original tab list behaviour. 2016-05-29 21:37:38 +10:00
UnknownShadow200
109e5fc1a8 Render rain/snow in correct order. 2016-05-13 19:49:39 +10:00
UnknownShadow200
0ab4014001 Fix non-water translucent back faces disappearing when not in same chunk as the player even though the player may be able to see its back faces. 2016-05-11 17:50:32 +10:00
UnknownShadow200
442d72bd6b More usage of IGameComponent 2016-05-08 18:53:52 +10:00
UnknownShadow200
0c84116f93 Do not reallocate ChunkInfo on Refresh(), reduces temp memory allocations. 2016-05-01 22:01:11 +10:00
UnknownShadow200
c80781045d Skip drawing sprite groups we can never see. 2016-04-28 09:09:22 +10:00
UnknownShadow200
781692963b Fix issue when a chunk has exactly 65536 sprite vertices. 2016-04-28 08:37:13 +10:00
UnknownShadow200
02d861b275 Quick fix for commit 8956cc5abdd346b6f3f71549abe37ff3f3a63689 2016-04-20 11:40:07 +10:00
UnknownShadow200
a8cd79abcd Fix client crashing after clicking 'chat scale', then 'use font', then 'chat scale' again. 2016-04-20 09:48:23 +10:00
UnknownShadow200
8956cc5abd Modularise MapRenderer class. 2016-04-20 08:41:22 +10:00
UnknownShadow200
10ca60c2d6 Fix rare crash when terrain.png changes to a different size partway through the map loading. 2016-04-20 08:16:05 +10:00
UnknownShadow200
b1a6e87d92 Occlusion code does not work currently and was disabled, therefore there is no need to include it in the output binary. 2016-04-20 07:37:30 +10:00
UnknownShadow200
93c35029a3 Make zoom fov only active when key binding is held down, to match optifine. (Thanks 123DontMessWitMe) 2016-04-14 07:38:25 +10:00
UnknownShadow200
4dca01a619 Optimise map rendering - we keep track of which 1D texture atlases actually have any chunks in the world using them at all (in addition to the test on visible chunks), thus we can skip entire rows. 2016-04-13 17:40:09 +10:00
UnknownShadow200
221dff8081 Quick fix for some maps not loading in singleplayer. 2016-04-05 22:06:57 +10:00
UnknownShadow200
d012d7dd0a Only refresh map borders when sides level changes, only refresh entire map when the texture pack is different to the last one. (Thanks FabTheZen) 2016-04-03 08:31:11 +10:00
UnknownShadow200
2a67f8f698 Remove Pack=1 arguments which were causing runtime errors on specific mono versions, partially addresses #93. (Thanks Jjp137) 2016-03-30 15:59:55 +11:00
UnknownShadow200
7a2e5d6049 Organise most things into namespaces. 2016-03-27 09:33:51 +11:00
UnknownShadow200
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
ddc38805b0 Implement sprite mirroring, closes #56. 2016-02-29 18:11:37 +11:00
UnknownShadow200
b66fdffae9 Fix entity shadows definitely, fix launcher not proper updating in some circumstances. (Thanks FabTheZen) 2016-02-20 00:19:22 +11:00
UnknownShadow200
357b20619a Fix update script on linux not restarting launcher. 2016-02-14 10:26:39 +11:00
UnknownShadow200
bfe9e287c6 Less popping in of chunks on fog border (Thanks MrGoober), also can press F8 to show a shadow above the block you are standing on. (Thanks MrGoober) 2016-02-05 00:10:01 +11:00
UnknownShadow200
c3ffec20a2 Save 'show FPS' option, also refresh the level if a BlockDefinition is added/changed/removed after the level loaded the first time. 2016-01-30 21:26:59 +11:00
UnknownShadow200
fd8e765b8b Optimise big maps to be even faster, optimise double/triple jump with speed to be much faster and use much less memory. 2016-01-17 21:56:22 +11:00
UnknownShadow200
bbe3820e95 Initial implementation of head vs body yaw roation, also use default.png in more places instead of always hardcoding arial. (Thanks Vladcosmonaut) 2016-01-12 21:32:31 +11:00
UnknownShadow200
2193038449 Can speed through water/lava/rope (Thanks carversedge) and also don't let water 'squish' rope in singleplayer. 2016-01-07 23:39:12 +11:00
UnknownShadow200
2aa00c1684 Optimise large maps even further. 2016-01-04 22:14:03 +11:00
UnknownShadow200
cac62b14db Include username in window title and add rand() to direct connect screen (Thanks Fudgie), also avoid rendering empty translucent batches twice. Improves FPS by 4-5 on 1024^3 maps. 2016-01-04 20:10:14 +11:00
UnknownShadow200
76452c75d1 Implement EnvMapAppearance v2 extension. 2015-12-31 16:02:49 +11:00
UnknownShadow200
f8e19afe65 Implement clipping for third person camera, also fix sound selection method for blocks being wrong (Thanks 123DontMessWitMe) 2015-12-31 11:09:53 +11:00
UnknownShadow200
8b73b0a713 Minor code cleanup, separate event classes. 2015-12-29 16:24:54 +11:00
UnknownShadow200
c5a1f5a27e Fix bug with tab list when help down from map change (Thanks 123DMWM), don't show sides/edge block if it is air, add basis for new colours/emotes gui. 2015-11-10 18:46:23 +11:00
UnknownShadow200
928ab17ec2 More comments. 2015-11-03 16:26:15 +11:00
UnknownShadow200
0d255b4586 More cleanup, fix map side textures being upside down. 2015-10-25 15:36:40 +11:00
UnknownShadow200
6748d3fe6d Fix entities being lit as shadows when standing in empty chunks, add support for 'push back' when placing blocks that intersect your position, making building much faster. Add more comments to various parts of the client. 2015-10-24 19:00:49 +11:00
UnknownShadow200
cd7190e9eb Fix bugs with third person camera over-aggressively culling, add forward facing third person camera, slightly decrease selection box for sprites. 2015-10-21 07:37:18 +11:00
UnknownShadow200
80f6793a33 Add more comments to utils class, modify ExtPlayerWidget to strip colour codes from names and display group name ahead of players. 2015-10-14 20:26:02 +11:00
UnknownShadow200
b39d2764bc More work on occlusion culling (still doesn't work properly in same cases), fix issues with HoldThis packet, fixes #100. 2015-10-13 16:59:21 +11:00
UnknownShadow200
f99a01cba9 Refactor physics some more, also fix bug with terrain atlas sometimes causing crash. More work on occlusion, still broken. 2015-10-10 10:17:13 +11:00
UnknownShadow200
f6089db641 More work on occlusion culling, still broken though. 2015-10-06 16:01:23 +11:00
UnknownShadow200
dc5a29e9f1 Move CloudsLevel to map class, simplify various map set methods, reset texture pack to default if we can't download the .png or .zip., fixes #90. 2015-10-05 16:57:39 +11:00
UnknownShadow200
d0445ba54d More work on experimental occlusion culling. 2015-10-04 20:18:07 +11:00
UnknownShadow200
4d3331ae47 Prefer 24 bit depth buffer by default, only use the maximum used atlas in MapRenderer. 2015-10-04 15:24:20 +11:00
UnknownShadow200
728785ed6c Fix non 32bpp terrain atlases crashing the client, remove some leftover debug stuff. 2015-10-03 06:57:20 +10:00
UnknownShadow200
69e23c88e1 Separate various aspects of 'Game' class into own separate classes. 2015-10-02 16:03:55 +10:00
UnknownShadow200
1740631f17 Simplify linux backend, use core vbo functions if running >= 1.5 opengl. 2015-10-01 18:10:22 +10:00
UnknownShadow200
0979c0597e Fix translucent blocks, fix clipboard crashing the client. 2015-09-30 13:49:37 +10:00
UnknownShadow200
976db7a487 Some cleanup, simplify readme. 2015-09-30 08:33:35 +10:00