280 Commits

Author SHA1 Message Date
Drew DeVault
a188c05ed2 Fix depth buffer, lower priority of chunk convert 2015-05-13 23:45:13 -06:00
Drew DeVault
9385568ab7 Add chunk mesh generation and basic rendering
Woot!
2015-05-13 23:09:49 -06:00
Drew DeVault
0149af3ba2 Add Mesh class 2015-05-13 17:02:03 -06:00
Drew DeVault
dfa3132759 Avoid problem with duplicate spawns 2015-05-13 16:51:51 -06:00
Drew DeVault
605cbbc2a0 Add physics simulation to client
This allows the player to fall to the ground when they spawn.
2015-05-13 16:26:23 -06:00
Drew DeVault
240ca3c972 Merge pull request #80 from manio143/tellCommand
/tell command added
2015-05-13 14:35:14 -06:00
Drew DeVault
756a309f8b Add chunk handling and stub out chunk worker
The chunk worker will be converting incoming chunks to renderable
meshes.
2015-05-13 14:20:35 -06:00
manio143
46c6a05b80 TellCommand message format changed. 2015-05-13 19:43:46 +02:00
Drew DeVault
4ec032892b Add chat handling+rendering to TrueCraft.Client
This is the basic version, I'll improve it later. This is just to
prove that networking is working correctly.

Next up: decoding chunks!
2015-05-13 11:30:29 -06:00
manio143
c523684d19 /tell command added 2015-05-13 13:56:20 +02:00
Drew DeVault
9ab181fab1 Reduce window to 720p and disable client in DEBUG
This also disables it in RELEASE. If you want to build the client, then
you'll want to build the Client target.
2015-05-12 17:39:34 -06:00
Drew DeVault
3b625810cd Build out basic client infrastructure, can connect 2015-05-12 17:31:22 -06:00
Drew DeVault
47733bb5fb Create TrueCraft.Client.Linux
At some point I'll work on other platforms.
2015-05-12 17:31:22 -06:00
Drew DeVault
3b55c50578 Merge pull request #56 from ToastyMallows/master
Added support for placing redstone dust
2015-05-11 21:13:15 -06:00
Drew DeVault
ea8e63d889 Properly fix torch blocks
This was broken partially due to a bug in the Minecraft client.

Fixes #75
2015-05-08 22:13:37 -06:00
Ross L
e11ce99dd8 Merge remote-tracking branch 'upstream/master' 2015-05-08 19:52:05 -04:00
Ross L
f77fbe666d Added RedstoneDustBlock support direction 2015-05-08 18:48:19 -04:00
Ross L
5e707876d8 Added support for placing redstone dust, part 2 2015-05-08 18:18:07 -04:00
Drew DeVault
df623854d2 Merge pull request #71 from robinkanters/master
World save interval now configurable with 'worldSaveInterval'
2015-05-08 14:51:34 -06:00
Robin Kanters
ca5c213040 World save interval now configurable with 'worldSaveInterval' 2015-05-08 22:36:25 +02:00
Drew DeVault
0997e94d36 Merge pull request #70 from robinkanters/master
Moved /time command class and cleaned up some code
2015-05-08 13:58:15 -06:00
Robin Kanters
4206f2d005 Fixed code issues (variable renames and such) 2015-05-08 21:56:08 +02:00
Robin Kanters
ff815aa2fc /time is no longer a debug command, deserves its own file 2015-05-08 21:48:03 +02:00
Drew DeVault
16bf4f2996 Merge pull request #67 from manio143/cmdArrayFix
Fixed command arguments to exclude command name.
2015-05-08 09:37:42 -06:00
manio143
f72ccc9da8 Fixed command arguments to exclude command name. 2015-05-08 17:25:39 +02:00
Drew DeVault
fbec611202 Implement snowball drops from snow blocks
Fixes #65
2015-05-07 14:04:04 -06:00
Drew DeVault
8e0030231c Merge pull request #66 from robinkanters/giveme
Giveme
2015-05-06 13:55:42 -06:00
Robin Kanters
5f5ef95287 Fixed exception when trying to give items to a player who couldn't be found 2015-05-06 21:45:33 +02:00
Robin Kanters
da748d84df Added /giveme by pulling some logic into methods (in /give) that can be re-used by /giveme 2015-05-06 21:44:58 +02:00
Robin Kanters
475b57c69b Redundant using directive 2015-05-06 21:29:14 +02:00
Drew DeVault
51e820ceb6 Merge pull request #64 from manio143/master
Fixed HelpCommand behaviour
2015-05-06 12:59:46 -06:00
manio143
d3a3abf8c0 Fixed PosCommand and LogCommand 2015-05-06 20:46:42 +02:00
manio143
690ae82431 Fixed HelpCommand behaviour 2015-05-06 20:22:26 +02:00
Drew DeVault
5cdf03b570 Merge pull request #61 from robinkanters/command-case-sensitivity
Command case sensitivity
2015-05-05 14:57:11 -06:00
Robin Kanters
2ad2856d9e And forgot this help message for when non-numeric values are entered for itemid/amount 2015-05-05 22:56:04 +02:00
Robin Kanters
7e9f841ea0 Removed regex checking, no functional changes 2015-05-05 22:55:40 +02:00
Robin Kanters
d567a538fe removed temporary debug message 2015-05-05 22:46:43 +02:00
Robin Kanters
f89d733ee9 added posibility to /give > 64 items at one 2015-05-05 22:40:31 +02:00
Robin Kanters
87966f1265 Now checking validity of /give command using a regex. Also made amount optional and default to 1 2015-05-05 22:36:20 +02:00
Robin Kanters
2b09ca5ce0 buttload of capitalization fixed (uppercase in parameter names) 2015-05-05 22:26:44 +02:00
Robin Kanters
119d1364f0 Visual studio predicted a possible nullreferenceexception here, might as well check it 2015-05-05 21:54:21 +02:00
Robin Kanters
db27404b84 Username is now case-insensitive in /give command 2015-05-05 21:15:05 +02:00
Drew DeVault
bd2c4a9fc5 Merge pull request #59 from robinkanters/double-slash
Double slash
2015-05-05 12:43:34 -06:00
Drew DeVault
25f8ad9a49 Merge pull request #57 from robinkanters/time-set-impl
Implemented /time set x
2015-05-05 12:42:51 -06:00
Robin Kanters
61902bb4db pretty pretty code 2015-05-05 20:22:38 +02:00
Robin Kanters
e662b6f050 Moved processing chat messages to ProcessChatCommand (makes sense). If chat message starts with '//', we now cut off the first '/' and send it as a chat message (rather than parse it as a command) 2015-05-05 20:18:48 +02:00
Robin Kanters
eb1db825bd Only sending time update to clients in same world 2015-05-05 19:50:09 +02:00
Drew DeVault
6706c3534e Merge pull request #58 from robinkanters/fix-command-crash
Fixed server crash when sending "/" without command
2015-05-05 11:49:36 -06:00
Robin Kanters
6554b31f24 Fixed server crash when sending "/" without command 2015-05-05 19:45:38 +02:00
Robin Kanters
97eb2da5e7 Now updating time on ALL clients when server time is updated with /time set x 2015-05-05 19:31:55 +02:00