87 Commits

Author SHA1 Message Date
UnknownShadow200
05a8f5f598 Finish EnvMapAppearance v3 (now EnvMapAspect to avoid breaking backwards compatibility.) 2016-05-12 17:50:45 +10:00
UnknownShadow200
67395247f2 Initial work on EnvMapAppearance version 3. 2016-05-12 09:40:02 +10:00
UnknownShadow200
37273895dc Properly reset CPE state on server reconnection. 2016-05-09 23:35:44 +10:00
UnknownShadow200
fc4028f013 Initial work on adding Reset method to IGameComponent. (To reset state for reconnection to a server) 2016-04-24 23:13:29 +10:00
UnknownShadow200
f3ed4d4c40 Make NetworkProcessor less hardcoded and more extensible. 2016-04-24 22:57:15 +10:00
UnknownShadow200
ce2efa5ba9 Properly fix workaround for D3 server bug. (Thanks Evander) 2016-04-13 21:30:14 +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
7af045f9a9 Text input now properly wraps colour codes across multiple lines. (Thanks xnotx123) 2016-03-24 13:11:26 +11:00
UnknownShadow200
d70851a1b9 Pure classic mode should not intefere with normal mode settings. (Thanks FabTheZen) 2016-03-23 23:28:23 +11:00
UnknownShadow200
b859739cb7 Show texture pack download status in top right corner. 2016-03-02 13:37:45 +11:00
UnknownShadow200
672ebf696d Super quick fix for last commit not compiling. 2016-02-29 14:44:53 +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
1275ece957 Support saving/loading BlockDefinitions blocks in singleplayer. 2016-02-09 16:18:02 +11:00
UnknownShadow200
4811f15bf3 Announcement texture should be in top quarter, fix non-32 bpp terrain.png files crashing client when saved to texturecache (Thanks goodlyay), fix hotkeys not being removed when closing client then the launcher (Thanks 123DontMessWitMe). 2016-02-07 11:59:53 +11:00
UnknownShadow200
c28e1f343f Default speed modifier should be 10, to match ClassiCube. 2016-02-05 21:39:51 +11:00
UnknownShadow200
95c7eaa6ca Initial implementation of version 2 of BlockDefinitionsExt. 2016-02-01 15:29:27 +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
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
b79de4c457 Create and implement the CpeTextColours extension. 2016-01-10 21:05:46 +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
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
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
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
cfcab93452 Add reconnect button to error screen. (Thanks 123DontMessWitMe) 2015-12-22 11:08:55 +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
55db094c0b Make some gui touchups to launcher, default to 640x480. 2015-12-09 15:41:28 +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
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
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
8130d91fc3 Bold selected name, some minor cleanup. 2015-11-04 20:36:01 +11:00
UnknownShadow200
e8bed0c721 Use bigger resolutions by default depending on current resolution. 2015-11-03 12:37:50 +11:00