65 Commits

Author SHA1 Message Date
UnknownShadow200
6113c4c270 Fix /client tp [invalid coords] tping you to 0,0,0 2017-09-17 23:41:31 +10:00
UnknownShadow200
c23ba90c1f Make BlockInfo class static and break all plugins in the process. 2017-08-14 09:33:21 +10:00
UnknownShadow200
2717460d0b Implement more of ChunkUpdater in C, remove a few redundant bits of code. 2017-06-16 15:02:13 +10:00
UnknownShadow200
c87309176a Remove an obsolete bit of code 2017-05-15 20:54:06 +10:00
UnknownShadow200
734f27a9b9 less reliant on Block.Invalid 2017-05-05 20:17:12 +10:00
UnknownShadow200
96c9222c65 Fix sitting model with two-layer skins (Thanks Daeslender) and fix sitting model not being in /client models list (Thanks Brett) 2017-04-14 08:02:01 +10:00
UnknownShadow200
8f81cb6d9a add /client teleport 2017-03-04 22:24:59 +11:00
UnknownShadow200
dd0b497136 Initial work on inventory that supports multiple hotbars. 2017-03-01 15:54:52 +11:00
UnknownShadow200
eca7dd5e3b 0.01% less hardcoding 2017-02-28 08:45:04 +11:00
UnknownShadow200
005d0cebe2 For the 0-1 people who bother, make 12 bit block ids as easy as a compile time switch. 2017-02-19 22:29:07 +11:00
UnknownShadow200
a16eaca72d Fix last few issues 2017-02-16 16:54:27 +11:00
UnknownShadow200
c92ebcac6c Use BlockID typedef instead of hardcoding byte everywhere.
In the 0.00001% chance someone changes blockid to be 16 bits
2017-02-16 16:31:17 +11:00
UnknownShadow200
55093847db initial entity rotation. breaks multiplayer. 2017-01-25 21:16:11 +11:00
UnknownShadow200
c35692a8c6 fix singleplayer cuboid 2017-01-23 15:06:27 +11:00
UnknownShadow200
cc54c6bc80 Initial work on survival test 2017-01-20 09:43:44 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
b785c3e2b7 core: /client cuboid now takes block names 2016-12-07 21:27:12 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
33aff91cf3 Client: Fix /client without any args (Thanks Fam0r) 2016-10-18 19:45:14 +11:00
UnknownShadow200
3078d63667 Style: Use less modern syntactic shortcuts. 2016-10-17 23:22:06 +11:00
UnknownShadow200
f0047be63c Style: Remove CommandReader class, move stuff from ClassicalSharp.TexturePack to ClassicalSharp.Textures 2016-10-17 17:15:24 +11:00
UnknownShadow200
d24a929267 Core: Allow building up to 16 chunks per frame. 2016-10-17 16:42:38 +11:00
UnknownShadow200
ac1a6442a7 Core: Now resetting a custom block that overwrote a core block works properly now. Also fix texture pack not being reset in singleplayer when loading a level without one. 2016-10-04 14:09:20 +11:00
UnknownShadow200
0ab5ef4434 Rename INetworkProcessor to the more descriptive IServerConnection, since it does not necessarily actually use the network. 2016-09-11 12:52:00 +10:00
UnknownShadow200
a8f7e2b0a7 In SinglePlayer, you should be able to use commands without /client. (E.g. /cuboid will act the same as /client cuboid) 2016-09-09 09:07:27 +10:00
UnknownShadow200
6b2651b8fb Split up Utils.cs into Utils.cs and Utils.Math.cs, also use our own ToLower() method that does not make any extra memory allocations. 2016-08-15 20:00:57 +10:00
UnknownShadow200
8c52ada595 Use named StringLength constant instead of hardcoding 64 everywhere, replace StringBuilder with StringBuffer. 2016-08-15 18:33:37 +10:00
UnknownShadow200
ff4b1eb723 Avoid foreach wherever possible. 2016-08-15 12:57:25 +10:00
UnknownShadow200
b2d0737b18 RenderType command should save between sessions. (Thanks classic1234) 2016-06-26 22:36:49 +10:00
UnknownShadow200
6a12fc721c Scale model name with model scale. 2016-06-21 23:33:09 +10:00
UnknownShadow200
d6266ed61e Normalise line endings to end this madness. (Thanks Jjp137) 2016-06-11 17:56:37 +10:00
UnknownShadow200
be28a782f5 Don't show CPE blocks unless the server supports them. 2016-05-16 18:04:42 +10:00
UnknownShadow200
60111bcbf2 Add /cuboid command for singleplayer. (Thanks MrGoober) 2016-05-09 08:38:59 +10:00
UnknownShadow200
442d72bd6b More usage of IGameComponent 2016-05-08 18:53:52 +10:00
UnknownShadow200
1e3fad5930 Make all game components handle new map / new map loaded. 2016-05-01 11:23:38 +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
669c88c4d0 Make various classes derive from IGameComponent for easier extensibility. 2016-04-23 12:08:57 +10:00
UnknownShadow200
9f933ac1d6 Make normal and classic mode buttons consistent. 2016-04-22 08:39:29 +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
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
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
3b3a155243 Optimise chunk mesh building functions even further. 2016-02-03 13:31:57 +11:00
UnknownShadow200
d6e541bc91 Minor memory optimisations. 2016-02-02 19:04:20 +11:00
UnknownShadow200
5e5ee2a1cd Allow changing jump height and fov again. 2016-01-02 22:51:38 +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
2e317c4b99 Add proper sounds, fix block models, remove vertical water on map edges. 2015-12-03 20:35:40 +11:00
UnknownShadow200
18ca858e87 Print more helpful message for /client and /client help (Thanks FabTheZen) 2015-11-29 22:54:32 +11:00
UnknownShadow200
c5a1f5a27e Fix bug with tab list when help down from map change (Thanks 123DMWM), don't show sides/edge block if it is air, add basis for new colours/emotes gui. 2015-11-10 18:46:23 +11:00
UnknownShadow200
c7ebbf985b Fix block model on AMD, fix /client gpu info crashing client, add support for default minecraft font. 2015-10-27 18:02:57 +11:00