103 Commits

Author SHA1 Message Date
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
UnknownShadow200
ddba1b1838 Fix names not disappearing when using LegendCraft. 2015-11-01 10:16:27 +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
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
e83957c685 More code commenting and cleanup. 2015-10-25 20:34:47 +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
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
25406a0bb2 Fix packetSizes, oops. 2015-10-03 15:29:08 +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
UnknownShadow200
87ffa1e5fe Fix Direct3D9 build crashing if another application took and exited exclusive fullscreen, potentially fix crash in SetBlock packet. 2015-10-03 08:25:28 +10:00
UnknownShadow200
e5cd574dae Replace local with direct connection tab, store resume information. 2015-10-03 06:24:29 +10:00
UnknownShadow200
69e23c88e1 Separate various aspects of 'Game' class into own separate classes. 2015-10-02 16:03:55 +10:00
UnknownShadow200
067f87ce37 Use default op block permissions regardless of whether BlockPermissions is used or not. BlockPermissions settings always override other attempts to set permissions. 2015-09-27 06:40:33 +10:00
UnknownShadow200
808d66ea6c Initial single player physics added. 2015-09-25 18:17:04 +10:00
UnknownShadow200
a119b2bddf Add support for EnvMapApperance v2 packets, other various cleanup. 2015-09-23 19:53:12 +10:00
UnknownShadow200
b195699620 Ignore extraneous byte for HackControl sent by older D3 servers, but doesn't work properly if jump height is >= 0. 2015-09-23 11:31:59 +10:00
UnknownShadow200
56089bf275 More work on BlockDefinitions support. Liquid collision and gravity still not properly supported. 2015-09-23 08:45:16 +10:00
UnknownShadow200
dde58e8b1d Reorganise BlockInfo, more work on BlockDefinitions. 2015-09-22 16:48:04 +10:00
UnknownShadow200
3d9d2a0e76 If Op user type and not using block permissions, the player should be able to place grass, water, lava, and admincrete. 2015-09-21 11:13:37 +10:00
UnknownShadow200
fb566ac505 Fix two reported bugs: Client crashes when receiving block update while still loading a map (thanks Goodlyay), client doesn't remove player names from list when ExtPlayerList CPE extension is used (thanks 123DMWM) 2015-09-21 07:19:33 +10:00
UnknownShadow200
12da9e5d7a Fix Y offseting being incorrect for self teleportation packets, remove ugly hack in Entity.Physics and fixes #78. 2015-09-20 07:18:41 +10:00
UnknownShadow200
766943bd8c EnvMapApperance should clear client animations, fixes #74. 2015-09-16 17:20:59 +10:00
UnknownShadow200
d4a5bf9fff Make function keys reassignable, change view distance binding to default as F, make function keys only apply when a screen does not have input locked. 2015-09-13 19:06:27 +10:00
UnknownShadow200
d5f36adc8d Undo debug yaw/pitch offesting. 2015-09-13 12:19:20 +10:00
UnknownShadow200
c88348c6d8 Fix rotation of models, use nicer constants in Model classes. 2015-09-13 12:17:34 +10:00
UnknownShadow200
2920b3afb5 Hopefully address problem raised in comments in #61, thanks Mono. 2015-09-09 18:25:29 +10:00
UnknownShadow200
2e502ee8bb Implement support for resetting block definitions. 2015-09-08 20:10:54 +10:00
UnknownShadow200
d705593c36 Add highly experimental, partial support for BlockDefinitions to address #42. 2015-09-08 06:28:30 +10:00
UnknownShadow200
8a531558ff Implement reading of BlockDefinitions packet, but no actual support yet. 2015-09-07 16:56:01 +10:00
UnknownShadow200
0c7dec86e4 Sadly, it turns out that our memory string optimisation procedures corrupted the headp after the GC was run. Turns out because (I might be wrong though) that the GC appears to try to use leftover string space for heap allocations, which sometimes caused random corruptions but mostly crashes as were directly modifying the underlying string length. Fixes #51. 2015-09-05 07:36:51 +10:00
UnknownShadow200
1aff357e80 Make sure we don't overwrite existing map files when saving, because we permanently lose some of the original map's metadata when the client loads a map. 2015-09-01 20:05:53 +10:00