26 Commits

Author SHA1 Message Date
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
UnknownShadow200
6ebed77929 Add basic singleplayer support. Generates a flatgrass map, but has no support for saving. Partially addresses #40. 2015-09-01 06:50:20 +10:00
UnknownShadow200
4e34637a05 Minor code cleanup. 2015-08-15 13:51:22 +10:00
UnknownShadow200
4cc1e27157 Cleanup the solution - move the client's files and folders into their own folder. 2015-07-25 06:45:14 +10:00