50 Commits

Author SHA1 Message Date
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
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
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
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
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
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
8179d9f793 Add sounds for BlockDefinitions. 2015-12-18 14:08:42 +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
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
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
b83a5228f8 Modularise game class somewhat, start commenting the fields/properties of game class. 2015-11-28 20:20:04 +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
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
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
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
UnknownShadow200
0a05980ad6 General cleanup in all model classes, default texture pack should be the last one chosen by the user, not just 'default.zip' 2015-11-05 11:53:23 +11:00
UnknownShadow200
476def4c41 Fix partial messages being word wrapped when LongerMessages is supported, fix left/right shift key being 'stuck' due to WM_SYSKEYUP message only being sent once, start work on refactoring models. 2015-11-05 09:05:58 +11:00
UnknownShadow200
5c586bbeb0 Fix names not appearing in LegendCraft. 2015-10-30 14:33:55 +11:00
UnknownShadow200
043c14fad7 Add support for FullCP437 CPE extension, add support for LongerMessages CPE extension 2015-10-30 08:24:35 +11:00
UnknownShadow200
59aa0a1c07 Remove console window from default builds. 2015-10-27 07:08:46 +11:00
UnknownShadow200
6f8a4be44d Use /client gpuinfo and log gpu info when an unhandled exception occurs, rather than always displaying it at startup. 2015-10-26 20:51:55 +11:00
UnknownShadow200
f63d1e35e1 Begin to phase out usage of LogX/Y/Z calls, see issue #108 for why this is being done 2015-10-26 19:55:16 +11:00
UnknownShadow200
a9406906cb Add hotkey gui, workaround MCDzienny servers adding a + for classicube.net accounts. 2015-10-26 10:46:48 +11:00
UnknownShadow200
c81014d6ef Add CpeTextHotKey support. 2015-10-25 19:28:27 +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
a6f90acf00 More comments. 2015-10-24 15:31:57 +11:00
UnknownShadow200
f639de8f7b More work on simplifying gui functions, more work on new launcher. 2015-10-19 18:19:05 +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
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
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
5593bda240 More work on BlockDefinitions. Remove minecraft.net functonality from launcher because classic was removed from minecraft.net. 2015-10-03 17:00:26 +10:00
UnknownShadow200
bf6532af07 Update NetworkProcessor with latest changes to BlockDefinitions. 2015-10-03 15:24:01 +10:00
UnknownShadow200
bf314359cd Use dispatch table for reading packets, split off CPE reading/writing into a separate file. 2015-10-03 15:04:59 +10:00