65 Commits

Author SHA1 Message Date
UnknownShadow200
3e05ba60de Make jump height calculation more precise and only show three significant figures (Thanks MrGoober), also always show generate/load options but disabled in multiplayer. 2016-02-27 08:54:37 +11:00
UnknownShadow200
eb3bbc168a Separate player logic into separate component classes. 2016-02-16 23:37:18 +11:00
UnknownShadow200
1275ece957 Support saving/loading BlockDefinitions blocks in singleplayer. 2016-02-09 16:18:02 +11:00
UnknownShadow200
c28e1f343f Default speed modifier should be 10, to match ClassiCube. 2016-02-05 21:39:51 +11:00
UnknownShadow200
300a9e23e9 Quick fix for last commit. 2016-02-01 15:44:07 +11:00
UnknownShadow200
95c7eaa6ca Initial implementation of version 2 of BlockDefinitionsExt. 2016-02-01 15:29:27 +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
0ba33ce2a3 Make colours in extended text widget nicer and more extensible, in preparation for CustomTextColours. 2016-01-21 23:12:14 +11:00
UnknownShadow200
0f87b7feb5 Specify whether the FastBitmap instance is readonly or not. (Mainly for android) 2016-01-21 21:19:23 +11:00
UnknownShadow200
f6d083f280 Slightly reduce own player bobbing to be less noticable (Thanks Cecil), add a confirmation dialog when selecting 'no/always no' to a texture pack (Thanks goodlyay), move arial chat font back to its more logical place in gui options. (Thanks FabTheZen) 2016-01-15 22:18:11 +11:00
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
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