190 Commits

Author SHA1 Message Date
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
59990d2899 More comments, improve gui: Autohide chat when input bar isn't in use, hide selection box when gui is hidden. 2015-10-11 20:22:20 +11:00
UnknownShadow200
85b1ad2ac2 Extend map edge to just above map sides, fixes #94. Also fix crashing with legacyfast rendertype and view distance > 4096. 2015-10-11 09:36:10 +11:00
UnknownShadow200
85eef80e21 Can pass initial texture pack as a command line argument to the client. Add a texture pack selection screen. 2015-10-10 12:25:40 +11:00
UnknownShadow200
95604267ec Tick mouse 60 times instead of 20 times per second. 2015-10-10 10:50:02 +11:00
UnknownShadow200
e9c190c28c Refactor and comment gui, make tab list higher up and more solid. 2015-10-09 16:47:39 +11:00
UnknownShadow200
1f54263749 Fix sprites not being full bright if they should, overhaul fps screen to also display current position and hack states. FPS can be hidden with option 'Show FPS' now. 2015-10-08 19:39:27 +11:00
UnknownShadow200
d084385215 Fix 2D gui being affected by fog when in lava, optimise IsometricBlockDrawer by avoiding redundant calculations. 2015-10-08 16:47:53 +11:00
UnknownShadow200
ad57351cf2 Fix isometric blocks. Save chat font size and mouse sensitivity settings. Enter and keypad enter now do the same thing as clicking on 'OK' in menu screens. 2015-10-07 19:39:20 +11:00
UnknownShadow200
7a87906dad Fix weather issues, fixes #88. 2015-10-04 17:23:23 +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
0979c0597e Fix translucent blocks, fix clipboard crashing the client. 2015-09-30 13:49:37 +10:00
UnknownShadow200
63a42bbc68 Rewrite backend for 2D drawing to be far more modular. 2015-09-28 17:10:27 +10:00
UnknownShadow200
a12ffa3730 Fix custom key bindings not being loaded, sprites are now rotated diagonally. 2015-09-27 08:48:51 +10:00
UnknownShadow200
067f87ce37 Use default op block permissions regardless of whether BlockPermissions is used or not. BlockPermissions settings always override other attempts to set permissions. 2015-09-27 06:40:33 +10:00
UnknownShadow200
ba565760c3 Add support for importing .cw maps. 2015-09-26 08:54:08 +10:00
UnknownShadow200
6c69baeb38 More physics (still to go: saplings) 2015-09-25 20:21:05 +10:00
UnknownShadow200
fe1d808025 Fix crashing when pressing button in OptionsScreen, save and load default view distance, other minor gui touchups. 2015-09-24 19:39:51 +10:00
UnknownShadow200
a119b2bddf Add support for EnvMapApperance v2 packets, other various cleanup. 2015-09-23 19:53:12 +10:00
UnknownShadow200
8a140863fd Fetch snow and animations from modern minecraft. 2015-09-13 09:03:59 +10:00
UnknownShadow200
58e5816acf Much more work on patching. Now we just depend on extract resources from classic's jar and terrain-patch.png. Snow is still broken. 2015-09-13 08:12:47 +10:00
UnknownShadow200
41073fc4b9 Initial work on animations, half size of block picking and change its colour to black. 2015-09-12 13:43:33 +10:00
UnknownShadow200
c714c5136a Can now press F1 to hide gui. 2015-09-11 19:39:48 +10:00
UnknownShadow200
1ec491d2a1 Entities should use map sunlight and shadowlight colours, camera should use old camer's delta and previous mouse position. Fixes #66, fixes #67. 2015-09-11 18:11:10 +10:00
UnknownShadow200
2920b3afb5 Hopefully address problem raised in comments in #61, thanks Mono. 2015-09-09 18:25:29 +10:00
UnknownShadow200
46a09255cc Try to find cause of crash found in comments in #61. 2015-09-09 06:28:48 +10:00
UnknownShadow200
4fbaa4196f Client should not move to pause screen when chat input bar is active, fixes #60. 2015-09-07 17:00:19 +10:00
UnknownShadow200
e43add1d32 Client should switch to block on the hotbar if it is the same as the new held block rather than duplicating it, fixes #58. 2015-09-06 17:57:25 +10:00
UnknownShadow200
60c753a2fd Make entity models dynamic in preparation for #45, also means we make a lot less matrix multiplications. Still broken! 2015-09-03 19:20:08 +10:00
UnknownShadow200
1aff357e80 Make sure we don't overwrite existing map files when saving, because we permanently lose some of the original map's metadata when the client loads a map. 2015-09-01 20:05:53 +10:00
UnknownShadow200
7826f84b55 Consistency of Game/Window - now just use game. Start work on adding crosshairs. 2015-09-01 18:03:36 +10:00
UnknownShadow200
7baf64051f Add proper singleplayer support. Can generate new flatgrass worlds with /client gen, also the client starts singleplayer when no arguments are provided. 2015-09-01 17:24:01 +10:00
UnknownShadow200
6ebed77929 Add basic singleplayer support. Generates a flatgrass map, but has no support for saving. Partially addresses #40. 2015-09-01 06:50:20 +10:00
UnknownShadow200
dab0e31bfc More code XML comments. 2015-08-29 11:54:55 +10:00
UnknownShadow200
4e34637a05 Minor code cleanup. 2015-08-15 13:51:22 +10:00
UnknownShadow200
0fe78fdf3b Use indexed drawing and stackalloc in StandardEnvRenderer. 2015-08-04 08:33:00 +10:00
UnknownShadow200
4bf4209a4c Don't crash when the device is lost, partially addresses #30. Need to conduct more thorough testing to ensure that this works on all graphics cards. 2015-07-30 19:54:02 +10:00
UnknownShadow200
df879604f2 Major rewrite of graphics APIs: Use SharpDX instead of Managed DirectX (64 bit works now), rewrite OpenTK GL class to use calli instructions. 2015-07-28 06:53:22 +10:00
UnknownShadow200
4cc1e27157 Cleanup the solution - move the client's files and folders into their own folder. 2015-07-25 06:45:14 +10:00