Commit graph

120 commits

Author SHA1 Message Date
UnknownShadow200
7c7bc4e79d Add 'use CPE' button to nostalgia settings. 2016-01-12 22:15:54 +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
a4c548cd14 Initial implementation of nostalgia options - can turn off custom blocks, and can turn off using server textures. 2016-01-11 19:44:50 +11:00
UnknownShadow200
ac33a869af Implement double/triple jump. 2016-01-11 15:28:19 +11:00
UnknownShadow200
b79de4c457 Create and implement the CpeTextColours extension. 2016-01-10 21:05:46 +11:00
UnknownShadow200
7a866f351e Add auto tab-complete as an option under gui options. 2016-01-10 12:57:32 +11:00
UnknownShadow200
6dbce98a67 Lazily allocate weather heightmap, also fix double texture warning screne not restoring the cursor (Thanks Zingan). 2016-01-09 21:45:25 +11:00
UnknownShadow200
6ac0e096a4 Add a warning to chat (always shown at button of chat area) when using multiple-line messages on servers that don't support LongerMessages. 2016-01-09 15:23:28 +11:00
UnknownShadow200
59a968662b Add control left for half speed modifier, also save spawn yaw/pitch (Thanks FabTheZen). 2016-01-08 17:52:58 +11:00
UnknownShadow200
169a5538f6 Fix some isometric blocks top faces being drawn with the wrong texture coords. (Thanks 123DontMessWitMe) 2016-01-08 10:35:14 +11:00
UnknownShadow200
101cbc5f06 Add more methods for android, add platform class to abstract away some platform differences. 2016-01-07 22:29:40 +11:00
UnknownShadow200
99bd040d2f Fix DefineBlock/DefineBlockExt packets taking a disproportionate amount of time to process. 2016-01-07 09:54:40 +11:00
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