1
0
Commit Graph

8248 Commits

Author SHA1 Message Date
Mattes D
6f5e267d58 Implemented LibEvent-based client connections. 2015-01-22 20:12:40 +01:00
Mattes D
a8a7488b54 Added the libevent library. 2015-01-22 20:12:39 +01:00
Mattes D
f36a00c603 Merge pull request #1708 from mc-server/WarningFixes
Warning fixes
2015-01-22 14:33:36 +01:00
Mattes D
9429cdcb53 Fixed warnings in StringUtils. 2015-01-21 20:39:34 +01:00
Matyas Dolak
dc5ab256a5 ProtoProxy: Fixed warnings in Connection.cpp. 2015-01-21 14:15:35 +01:00
Matyas Dolak
adf3b3a569 ByteBuffer: Added support for reading unsigned shorts and ints. 2015-01-21 12:12:22 +01:00
Matyas Dolak
b333551830 ProtoProxy: Fixed warnings in Connection.cpp. 2015-01-21 11:24:32 +01:00
Mattes D
2df8e4863f Fixed warnings in FastNBT.cpp. 2015-01-20 23:52:53 +01:00
Mattes D
5ac3a23586 Fixed warnings in 1.7 protocol. 2015-01-18 22:43:35 +01:00
Mattes D
45b1d5ff78 Fixed various warnings. 2015-01-18 18:01:24 +01:00
Mattes D
b1c58b7b52 cWorld: Fixed a type warning. 2015-01-18 15:10:05 +01:00
Mattes D
83ed6a2c1b Fixed type conversion warnings. 2015-01-18 11:25:16 +01:00
Mattes D
e38f41d32f Merge pull request #1702 from mc-server/chrono
Started to convert more of MCServer to std::chrono
2015-01-18 11:21:36 +01:00
Mattes D
e211aafaa4 Fixed type-conversion warnings. 2015-01-18 11:02:17 +01:00
worktycho
6758c1d2a1 correct comment to say milliseconds 2015-01-17 22:24:25 +00:00
Mattes D
50918a5214 Merge pull request #1707 from UltraCoderRU/master
Fixed some problems found by CppCheck
2015-01-17 19:52:26 +01:00
Kirill Kirilenko
41f30edcf7 Fixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types. 2015-01-17 16:00:12 +03:00
Kirill Kirilenko
3dc994f9dc Fixed CppCheck: (performance) Possible inefficient checking for emptiness. 2015-01-17 15:20:03 +03:00
Kirill Kirilenko
2ce2741968 Fixed CppCheck: (performance) Function parameter should be passed by reference. 2015-01-17 15:19:23 +03:00
Tycho
bfe1960191 Converted Monster to std::chrono 2015-01-16 14:38:21 +00:00
Tycho
05c40db060 Converted cPickupEntity to std::chrono 2015-01-16 13:56:18 +00:00
Tycho
8dc9cf0c76 Converted MinecartEntity to std::chrono 2015-01-16 13:42:44 +00:00
Tycho
7562a381c0 Converted cExpOrbEntity to std::chrono 2015-01-16 13:27:10 +00:00
Tycho
d6f042da4a Converted ArrowEntityTiers to std::chrono 2015-01-16 13:13:23 +00:00
Tycho
acc2dcbbc3 Fix trailing whitespace 2015-01-11 21:53:20 +00:00
Tycho
2a9664d6ca Initial convertion of a_Dt to std::chrono
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2015-01-11 21:12:26 +00:00
Tycho
4f75b94c99 Created new type cTickTime and rewrote cWorld::TickThread to use it 2015-01-11 01:54:18 +00:00
Mattes D
52d307e3b0 CMake: Check libs in submodules before configuring.
This provides an early error message when someone forgets to init / update submodules.
2015-01-09 20:38:25 +01:00
Mattes D
7d13a2a77a Fixed Linux compilation. 2015-01-03 22:39:55 +01:00
Mattes D
06c2669cf6 Protocols: Ignore garbage data at the end of PluginMessage packets.
Fixes #1692.
2015-01-03 22:24:15 +01:00
Mattes D
35a3a1b9f4 cByteBuffer: Improved SingleThreadAccessChecker performance.
But it's still poor and unusable for regular testing.
2015-01-03 22:24:12 +01:00
Mattes D
7a400bdcd1 Merge pull request #1691 from tonibm19/patch-3
Added player count to webadmin
2014-12-30 10:34:37 +01:00
tonibm19
48b0f4daa4 Use cRoot:Get():GetServer():GetNumPlayers() instead of a custom function. 2014-12-30 10:31:16 +01:00
tonibm19
b621fb511f Added player count to webadmin
Now it shows the number of online players near the memory use
2014-12-29 20:21:57 +01:00
worktycho
dcdecc0ca7 Add make as a required program for *nix 2014-12-26 14:27:26 +00:00
Mattes D
19ff14752e MobHead: Fixed wither spawning. 2014-12-25 20:41:27 +01:00
Mattes D
9e4528793a ProtoProxy: Log block change packet details. 2014-12-25 20:41:12 +01:00
Mattes D
eddbce64be MobHeads: fixed regular head placement. 2014-12-25 20:41:12 +01:00
Mattes D
8730643720 Merge pull request #1687 from mc-server/StyleCheckTravis
Style check travis
2014-12-25 20:23:32 +01:00
Mattes D
f5005fd2f8 Travis style check in the right folder. 2014-12-25 09:11:25 +01:00
Mattes D
e8c8aca779 Travis: Added lua installation before build. 2014-12-25 08:59:28 +01:00
Mattes D
ff65e77c57 Added basic style checking to Travis builds. 2014-12-25 08:49:47 +01:00
Mattes D
7d35e84578 Fixed tools compilation.
Fixes errors introduced in 081e7ddd02.
2014-12-25 08:47:35 +01:00
Mattes D
9e478c6f29 Fixed door placement. 2014-12-25 01:00:51 +01:00
Mattes D
1af6210466 Fixed forgotten big flower handler. 2014-12-25 00:51:24 +01:00
Mattes D
3da6e4374e Fixed basic style. 2014-12-25 00:44:09 +01:00
Mattes D
f59740b262 APIDump: Added details about client handle in OnServerPing hook. 2014-12-25 00:36:01 +01:00
Mattes D
081e7ddd02 cIsThread: Fixed a race condition on thread start. 2014-12-25 00:34:54 +01:00
Mattes D
1d593134da Merge pull request #1686 from mc-server/PlaceBlockRefactor
Place block refactor
2014-12-25 00:31:56 +01:00
Mattes D
5609d76ed7 APIDump: Updated the player block placement documentation.
The hooks now have fewer parameters but are called on all player-placed blocks (#1618).
2014-12-24 20:02:51 +01:00