108 Commits

Author SHA1 Message Date
UnknownShadow200
36115c7b80 Add an 'always yes/always no' option to texture pack warning screen. 2016-01-02 23:20:35 +11:00
UnknownShadow200
5e5ee2a1cd Allow changing jump height and fov again. 2016-01-02 22:51:38 +11:00
UnknownShadow200
2866436906 Quick fix for last commit with client not receiving EnvMapAppearance v1 packets. 2015-12-31 16:13:36 +11:00
UnknownShadow200
76452c75d1 Implement EnvMapAppearance v2 extension. 2015-12-31 16:02:49 +11:00
UnknownShadow200
53ddd3f829 Fix 'ping packet not being received for over 15 seconds' being shown when not actually disconnected, fix 'Use texture pack' always being shown. 2015-12-30 23:23:43 +11:00
UnknownShadow200
0102471e91 Implement gas block draw type in BlockDefinitions, also allow press function keys in text input widget (Thanks FabTheZen). 2015-12-30 21:42:20 +11:00
UnknownShadow200
8b73b0a713 Minor code cleanup, separate event classes. 2015-12-29 16:24:54 +11:00
UnknownShadow200
140ed90269 Don't immediately disconnect on first failed write, thus ensuring all kick messages are shown. 2015-12-28 23:23:42 +11:00
UnknownShadow200
42c38611df Fix texture coordinates being noticably offset in some rare cases. (Thanks 123DontMessWitMe) 2015-12-28 14:06:48 +11:00
UnknownShadow200
3789499245 Middle mouse click should change selected index, not swap block (Thanks goodlyay), also clicking on block in hotbar should move to that block in the block select screen (Thanks FabTheZen). 2015-12-25 13:23:59 +11:00
UnknownShadow200
a69074bb88 Don't dispose of old screen when changing maps (Thanks WolfgangNS) 2015-12-25 12:01:49 +11:00
UnknownShadow200
1116c22a66 Fix held block bobbing being jerky when leaving the ground. (Thanks WolfgangNS) 2015-12-25 11:11:57 +11:00
UnknownShadow200
95bc4a3c03 Fix some packet reading issues with DefineBlockExt. 2015-12-24 16:51:13 +11:00
UnknownShadow200
76ee17523d MinX/Y/Z and maxX/Z should be specified in units of 16. 2015-12-24 16:44:31 +11:00
UnknownShadow200
6e3e5a258d Modularise CpeDefineBlock packet handling in preparation for DefineBlockExt extension, also fix not being able to define more than five hotkeys (Thanks EpicSuperNova). 2015-12-24 15:27:32 +11:00
UnknownShadow200
57b7eb8013 Workaround for servers that rarely send LevelDataChunk before LevelBegin due to async sending. (Thanks BPzeBanshee) 2015-12-23 23:19:36 +11:00
UnknownShadow200
6fb7e099f9 Remove Height[] array and use MaxBB[].Y in its place, also fix sprites being drawn with wrong height in block in hand. 2015-12-23 17:43:45 +11:00
UnknownShadow200
cfcab93452 Add reconnect button to error screen. (Thanks 123DontMessWitMe) 2015-12-22 11:08:55 +11:00
UnknownShadow200
8179d9f793 Add sounds for BlockDefinitions. 2015-12-18 14:08:42 +11:00
UnknownShadow200
fa358f9ad2 Add rain particles, use particle pooling. 2015-12-17 18:35:05 +11:00
UnknownShadow200
2c98941832 Add untested code for the new BulkBlockUpdate CPE extension. 2015-12-16 22:16:34 +11:00
UnknownShadow200
d7e3e9d200 Disable 'hacks setting' screen (as it is pointless to show anyways) when server sends hax/ophax in motd. 2015-12-15 10:05:17 +11:00
UnknownShadow200
f5fd0c9853 Update for CPE BlockDefinitions spec changes. 2015-12-12 16:40:52 +11:00
UnknownShadow200
f53173c607 Oops, also need to use this workaround for ExtRemovePlayerName. 2015-12-12 14:53:21 +11:00
UnknownShadow200
f2cd2f3c78 Fix names not showing up on some servers. 2015-12-12 14:50:43 +11:00
UnknownShadow200
3cdb1d381f Default speed modifier is now 7, move first item slightly down in server list, other buttons should only be selectable by enter when user first moves the mouse (Thanks FabTheZen) 2015-12-10 10:55:42 +11:00
UnknownShadow200
0e331ce01a Fix trees not being generated in singleplayer (Thanks Jerralish), fix some issues with selection bounds not being calculated correctly for BlockDefinitions blocks. 2015-12-09 21:20:47 +11:00
UnknownShadow200
55db094c0b Make some gui touchups to launcher, default to 640x480. 2015-12-09 15:41:28 +11:00
UnknownShadow200
0ab941c787 Use icons. 2015-12-05 14:18:06 +11:00
UnknownShadow200
f06a0dda88 Add option for whether liquids are breakable, mark 'use music' as no longer WIP. 2015-12-01 21:06:23 +11:00
UnknownShadow200
59d0b2da74 Treat .zip as texture packs in EnvMapAppearance packets, use builds.json for determing latest builds. 2015-12-01 10:41:48 +11:00
UnknownShadow200
3a15ef9024 Fix hotbar scaling blocks wrong, fix skins not working when used by multiple entities (Thanks 123DMWM) 2015-11-30 15:14:10 +11:00
UnknownShadow200
b83a5228f8 Modularise game class somewhat, start commenting the fields/properties of game class. 2015-11-28 20:20:04 +11:00
UnknownShadow200
0f08678139 More work on view bobbing. 2015-11-24 18:11:48 +11:00
UnknownShadow200
479456baab Add partially working view bobbing. 2015-11-23 21:39:31 +11:00
UnknownShadow200
e94e53f348 Fix colour codes not being trimmed from own skin name, launcher should auto-focus to search box. 2015-11-20 10:44:29 +11:00
UnknownShadow200
caaafaf754 Fix hotkeys not being removed. 2015-11-18 13:32:19 +11:00
UnknownShadow200
ba9851a82f Rain/Snow uses sunlight colour now, fix map borders using previous sun colour, new terrain.png size is shown in WarningScreen now. 2015-11-17 16:34:34 +11:00
UnknownShadow200
56b0842de8 Only show closest name, fix urls not showing proper colour and not being linked to at all. Also fix crashing when clicking on an empty space in AltTextInputWidget colour codes tab. 2015-11-16 16:50:23 +11:00
UnknownShadow200
bd9da4d83d Workaround for when ExtInfo is received after ExtEntry packets. 2015-11-15 13:41:31 +11:00
UnknownShadow200
97a38f3cf4 Show warning screen for first time a texture pack is sent to the client. Fix bugs with being able to press B in both error and map loading screens. 2015-11-14 17:56:36 +11:00
UnknownShadow200
70a2fc868f Save singleplayer physics option, only use mob texture for external urls, use bigger font size for name texture. 2015-11-11 17:27:36 +11:00
UnknownShadow200
078b7b2747 Cleanup entity rendering, fix own skin changes not being shown and disable alpha testing for humanoid models (Thanks 123DMWM) 2015-11-11 14:48:26 +11:00
UnknownShadow200
f1a7a0e513 Remove 'Add new' from hotkeys, just clicking on empty hotkey line does the same thing. Make HUD show behind pause and block menu screen. 2015-11-08 17:03:44 +11:00
UnknownShadow200
c8061b64fd Cleanup SelectionManager, don't show all 64 spaces in ChatInputWidget. 2015-11-08 16:32:08 +11:00
UnknownShadow200
17d54a09d5 Treat pixel as solid if its alpha is not 0 when calculating sprite bounds, don't redraw CPE player list names unless necessary. 2015-11-08 13:16:31 +11:00
UnknownShadow200
30a70638e1 Make hacks more consistent, can place blocks through yourself in noclip, alow cycling fog up to 1024, 2048 and 4096. 2015-11-08 12:22:04 +11:00
UnknownShadow200
b9ab4df820 Fix up key in chat, fix table being resized to 20 pixels when minimising then reopening. 2015-11-07 12:25:09 +11:00
UnknownShadow200
bab357300e Add a texture caching mechanism to reduce bandwidth usage and speed up texture pack loading. 2015-11-07 08:24:42 +11:00
UnknownShadow200
5218124c6c Separate writing methods, allow entering CP437 directly into chat via clipboard if server supports FullCP437. 2015-11-05 18:43:16 +11:00