78 Commits

Author SHA1 Message Date
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
e33d39685c Style: Make more code available to external plugins. 2016-12-03 19:26:38 +11:00
UnknownShadow200
4d1ef1a65b more work on lighting abstraction 2016-11-29 21:25:39 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
2fa379746a Style: Finish simplifying BlockInfo 2016-10-29 13:49:33 +11:00
UnknownShadow200
6abc7d1660 Client: Fix issue with backface of water not being drawn when below water horizon outside the map, closes #268. 2016-10-19 17:06:50 +11:00
UnknownShadow200
2452cc93a7 Style: Use gfx consistently everywhere, instead of mixing api and graphics. 2016-10-12 12:25:12 +11:00
UnknownShadow200
4281dead19 Allow switching between normal / smooth lighting mesh building at runtime. 2016-07-09 16:10:32 +10:00
UnknownShadow200
d2c6820dec Do much more optimised chunk rendering, this can double FPS on very large worlds (512^3 or 1024^3) which have many empty chunks. 2016-06-28 13:29:42 +10:00
UnknownShadow200
fc688b53d2 Vertex counter now only counts vertices actually submitted to the GPU for drawing. (Thanks Empy) 2016-06-15 21:39:51 +10:00
UnknownShadow200
1158193ad1 Fix selected block outline not showing when looking through map edge water. 2016-06-08 15:04:17 +10:00
UnknownShadow200
d06110f571 Make selected block lines smaller (Thanks Coliop). 2016-06-08 13:54:46 +10:00
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