58 Commits

Author SHA1 Message Date
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
UnknownShadow200
6c69baeb38 More physics (still to go: saplings) 2015-09-25 20:21:05 +10:00
UnknownShadow200
82d4f8b93a Fix issue with water level being below 0, leaves should not be skipped if they are not next to each other. (Fixes #47) 2015-09-23 14:03:43 +10:00
UnknownShadow200
60b87b7a6f Client should draw blocks at map boundaries. 2015-09-19 20:35:04 +10:00
UnknownShadow200
5fb2f45189 Fix chunks not being refreshed properly when sunlight/shadowlight changes. Fix client raising EnvVariableChanged events even if new is equal to old, fixes #54. 2015-09-07 06:29:11 +10:00
UnknownShadow200
d95272f4a7 Read saved environment metadata from maps in singleplayer mode. 2015-09-05 20:24:54 +10:00
UnknownShadow200
81906c75ed Mention in readme that you don't really need to turn off VSync anymore for faster chunk mesh building. 2015-09-05 09:39:46 +10:00
UnknownShadow200
b6289b6b79 Increase number of chunks built per frame if we can. 2015-09-05 09:35:27 +10:00
UnknownShadow200
d053a3bf90 Fix Direct3D9Api not building, print graphics info in more concise way and print adapter description for Direct3D 9. Fixes chunk visibility not being recalculated after terrain atlas size changes, closes #34. 2015-08-30 06:48:53 +10:00