46 Commits

Author SHA1 Message Date
UnknownShadow200
ecb052a6b5 Fix compass strings in fCraft showing in regular chat. 2016-05-29 21:55:03 +10:00
UnknownShadow200
6c3f72c6c8 Reduce code duplication for classic and normal player list code. 2016-05-29 21:47:46 +10:00
UnknownShadow200
c4f1f69cbd Use a single tab list code base for both CPE ExtPlayerList and original tab list behaviour. 2016-05-29 21:37:38 +10:00
UnknownShadow200
fba550f3c2 Use generic BlockChanged event instead of hardcoding behaviour in PickingHandler. 2016-05-21 15:06:38 +10:00
UnknownShadow200
9576ec39af Fix text not having yellow colour code prepended when id = 0xFF and server isn't using message types (Thanks andreja6). 2016-05-20 15:32:26 +10:00
UnknownShadow200
2717458067 Move everything to WorldEnv class. 2016-05-11 19:29:59 +10:00
UnknownShadow200
37273895dc Properly reset CPE state on server reconnection. 2016-05-09 23:35:44 +10:00
UnknownShadow200
723585661a Make Animations a game component, make TexturePackExtractor less hardcoded. 2016-05-08 23:05:56 +10:00
UnknownShadow200
f5878f70a3 Create .lvl and .fcm level exporter. 2016-05-08 15:39:49 +10:00
UnknownShadow200
faa8165b63 Fix client crashing when a LevelInit packet is received, but a Handshake packet was not received beforehand. (Thanks Lemmmy) 2016-05-07 07:26:01 +10:00
UnknownShadow200
d50476e760 Allow camera to go 0.15 degrees closer to truly vertical (Thanks 123DMWM), also read code page instead of ascii strings for 'disconnect packets' and block names in 'DefineBlock'. 2016-04-26 11:42:08 +10:00
UnknownShadow200
f3ed4d4c40 Make NetworkProcessor less hardcoded and more extensible. 2016-04-24 22:57:15 +10:00
UnknownShadow200
c050ae7a9e Add very basic .lvl importer (need to fallback physics blocks, no support for custom blocks), also tidy up some of the interfaces. 2016-04-11 09:55:02 +10:00
UnknownShadow200
3865bc6888 Rename vertices structs to a more concise one, also fix issue with progress bar very very rarely overflowing when the server overflows on computing the progress value, by instead computing it client-side. (Thanks 123DontMessWitMe) 2016-03-29 20:45:52 +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
cfb50e2621 Server can now change colour of player's own entity name tag, but not the actual name in the name tag. 2016-03-26 13:28:12 +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
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
04ade22693 Make Chibi's model more consistent with the other models, also make set its name height to be just above the head. 2016-02-29 08:46:02 +11:00
UnknownShadow200
eb3bbc168a Separate player logic into separate component classes. 2016-02-16 23:37:18 +11:00
UnknownShadow200
f03182a91b Revert sending ping packets. (Caused 'unhandled message id 1' on MCGalaxy) 2016-02-06 07:37:15 +11:00
UnknownShadow200
78e7c558e0 Send ping packet in reply. (Thanks 123DontMessWitMe) 2016-02-06 07:30:18 +11:00
UnknownShadow200
358de19090 Timeout 20 seconds (not 10 seconds) after last packet now, not just ping packet. 2016-01-31 08:19:01 +11:00
UnknownShadow200
1a6b47266d Quick fix for last commit. 2016-01-30 23:45:12 +11:00
UnknownShadow200
bad6ac3763 Make loading map/generating map screen more like original classic. (Thanks Darky64) 2016-01-30 22:37:54 +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
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
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
a69074bb88 Don't dispose of old screen when changing maps (Thanks WolfgangNS) 2015-12-25 12:01:49 +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
cfcab93452 Add reconnect button to error screen. (Thanks 123DontMessWitMe) 2015-12-22 11:08:55 +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
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
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
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
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
bab357300e Add a texture caching mechanism to reduce bandwidth usage and speed up texture pack loading. 2015-11-07 08:24:42 +11:00