75 Commits

Author SHA1 Message Date
UnknownShadow200
fdd620aba6 Combine some headers, part 2 2018-03-27 13:58:00 +11:00
UnknownShadow200
30937e92f5 little bit less hardcoding 2018-03-20 16:54:48 +11:00
UnknownShadow200
12e274af77 Port Commands to C. (also use caseless equals more often) 2018-03-13 08:04:52 +11:00
UnknownShadow200
0c0072025c Start porting CommandList to C 2018-03-12 17:43:54 +11:00
UnknownShadow200
8692f7693a Redo StringBuffer to not need 'ref index' everywhere 2018-01-18 18:29:10 +11:00
UnknownShadow200
83d21d1daf Remove /client commands (pointless when you can just do /client), have all commands enabled in both multiplayer and singleplayer modes. (But singleplayer only commands will show 'disabled' in multiplayer) 2017-11-25 18:33:09 +11:00
UnknownShadow200
bd04b98508 Revert "Remove /client commands (pointless when you can just do /client), have all commands enabled in both multiplayer and singleplayer modes. (But singleplayer only commands will show 'disabled' in multiplayer)"
This reverts commit 1e46e4ad96c3399fc4fb857d60613826f7cc06eb.
2017-11-25 18:30:41 +11:00
UnknownShadow200
1e46e4ad96 Remove /client commands (pointless when you can just do /client), have all commands enabled in both multiplayer and singleplayer modes. (But singleplayer only commands will show 'disabled' in multiplayer) 2017-11-25 15:47:04 +11:00
UnknownShadow200
cb2bce7e4c If you specify a custom resolution by doing /client resolution, that resolution is saved and used for subsequent sessions 2017-11-11 12:26:51 +11:00
UnknownShadow200
bd3b131e3d Add /client resolution command. 2017-11-10 22:49:36 +11:00
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