79 Commits

Author SHA1 Message Date
UnknownShadow200
ce2efa5ba9 Properly fix workaround for D3 server bug. (Thanks Evander) 2016-04-13 21:30:14 +10:00
UnknownShadow200
d012d7dd0a Only refresh map borders when sides level changes, only refresh entire map when the texture pack is different to the last one. (Thanks FabTheZen) 2016-04-03 08:31:11 +10:00
UnknownShadow200
634b3213c3 Modularise LocalPlayer.Physics into separate PhysicsComponent. 2016-03-31 21:25:25 +11:00
UnknownShadow200
7a2e5d6049 Organise most things into namespaces. 2016-03-27 09:33:51 +11:00
UnknownShadow200
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
a234af2443 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-03-25 22:59:01 +11:00
UnknownShadow200
52d471b4fd More work on custom models. 2016-03-25 22:58:51 +11:00
UnknownShadow200
00f4dc134a Initial work on a 'select mode' menu for the launcher, also fix mirroring of left side for 64x32 skins. (Thanks goodlyay) 2016-03-25 07:54:28 +11:00
UnknownShadow200
41a1ef7113 Client uses your account name and skin from the main menu in singleplayer, also add a /client model command to change model in singleplayer. 2016-03-17 17:08:47 +11:00
UnknownShadow200
99969ab941 Invalid block update messages show only show in console when desired for debugging purposes (define DEBUG_BLOCKS for this). (Thanks Jjp137) 2016-03-15 14:01:48 +11:00
UnknownShadow200
91b7353885 Start work on custom models. 2016-03-06 23:04:23 +11:00
UnknownShadow200
c5b2ff1efe Implement multi-line link wrapping. 2016-03-03 21:46:21 +11:00
UnknownShadow200
77e52bb592 Fix for critical bug with BulkBlockUpdate packet handling. (Thanks 123DMWM) 2016-03-03 07:10:14 +11:00
UnknownShadow200
d16ba9bfc6 Optimise network reading - only need to move memory after all pending packets are processed, not after each field. 2016-02-29 14:43:31 +11:00
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