Tiger Wang
8656e149c8
Improved maps
2015-07-14 21:46:30 +01:00
Mattes D
8df31067d4
Externalized cPrefabPiecePool self-test.
2015-06-19 16:15:59 +02:00
Alexander Harkness
1e77f27191
Merge pull request #2144 from mc-server/comparators
...
Redstone improvements [SEE DESC]
2015-06-09 09:15:08 +01:00
Tiger Wang
de5b1401f8
Comparators
2015-06-06 12:21:09 +01:00
Anthony Birkett
9dac390247
Daemon support on Linux.
...
Added null console log listener, avoid printf() when stdout is closed.
2015-06-05 15:47:47 +01:00
Cengiz Can
c967698b2d
Skip unknown cflag for Apple clang & remove cSemaphore
2015-06-04 11:48:56 +03:00
tycho
c96849f431
Move make_unique into a namespace to avoid ADL issues
...
this prevents VS finding std::make_unique for constructors that take types from std
2015-05-16 10:47:04 +01:00
tycho
b9efa02c80
Initial implementation of IniFile overloading
2015-05-16 10:46:51 +01:00
Mattes D
c13b1931ff
More style checking.
...
Spaces around some operators are checked.
2015-05-09 12:58:54 +02:00
Mattes D
b1d4b3bb96
Unified cByteBuffer types.
...
cByteBuffer now reads and writes any of the [U]Int<N> types.
2015-03-21 13:00:20 +01:00
Mattes D
16636ff6e2
LuaAPI: Added client TLS support for TCP links.
2015-02-12 20:05:55 +01:00
Mattes D
014b96adb3
Exported cServerHandle and cNetwork:Listen to Lua.
...
Also added an example to the NetworkTest plugin.
2015-02-04 08:40:52 +01:00
Mattes D
bef957ef14
Added newline to logged messages in the tests.
2015-01-22 20:12:43 +01:00
Tycho
a9b8a530b1
Extracted Google connection test
2015-01-22 20:12:42 +01: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
8ad1afcc1b
Merge remote-tracking branch 'origin/master' into c++11Events
2014-12-07 18:15:23 +01:00
Mattes D
c014f5624c
Merged branch 'origin/master' into c++11.
2014-12-04 22:04:16 +01:00
Mattes D
201313a9f8
Added a basic stacktracing for assert and signal failures.
2014-11-29 23:06:10 +01:00
Tiger Wang
187bdab4fa
Merge remote-tracking branch 'origin-master' into c++11
2014-11-25 23:03:33 +00:00
Mattes D
b9777287ca
Moved the chrono include into Globals.
2014-10-24 11:01:45 +02:00
Mattes D
765bf006ad
Merged branch 'master' into c++11.
2014-10-24 10:19:13 +02:00
Tiger Wang
51fa6b4090
Suggestions
2014-10-23 23:58:01 +01:00
Mattes D
154c329a25
Removed the "conditional expression is constant" warning.
...
MSVC spits out many of these on its own std libraries.
2014-10-23 10:58:41 +02:00
Tiger Wang
2334c8dd9d
Merge branch 'master' of https://github.com/mc-server/MCServer
2014-10-20 19:01:53 +01:00
Tiger Wang
bde99d684e
Migrated cSleep and cTimer to std::chrono
2014-10-20 18:59:40 +01:00
Mattes D
ee23fd5b9e
Removed obsolete tr1::shared_ptr.
2014-10-19 18:52:24 +02:00
Tiger Wang
aa19a3afb0
Migrated random generators to std::random
2014-10-19 14:10:18 +01:00
Tiger Wang
6d5a8892f3
Use std::thread
2014-10-19 00:29:34 +01:00
worktycho
6a448be88c
Fix spaces
2014-10-12 12:17:29 +01:00
tycho
473c0425d3
Moved a few objects to unique_ptr
2014-10-10 15:33:19 +01:00
Mattes D
a47d9e5334
Fixed MSVC compilation.
2014-10-10 09:58:54 +02:00
archshift
76b37acb42
Float/Ciel: If it's going to use C++11, it might as well take advantage of it
2014-10-09 14:57:57 -07:00
archshift
f8d1e96ae7
Use static casts instead of C casts, add floor-cast functions
2014-10-09 14:57:40 -07:00
madmaxoft
0d83477540
Fixed UNUSED macro so that it doesn't require type knowledge.
...
Introduced new UNUSED_VAR macro that is used when type knowledge is available (for local variables).
2014-09-26 22:53:39 +02:00
Tycho
6e7c0e33b5
Added first test to show the object can be created
2014-09-17 18:40:10 +01:00
Tycho
9844368267
Renamed Loggers
2014-08-12 16:05:04 +01:00
Tycho
806d0936dc
First Implementatation of new Loggin framework
2014-08-10 19:34:11 +01:00
madmaxoft
6ce61d1a6f
Fixed a ToLua warning - operator = not supported.
2014-08-03 22:04:48 +02:00
madmaxoft
93d29555e5
Style: Normalized to no spaces before closing parenthesis.
2014-07-21 17:40:43 +02:00
madmaxoft
6be79575fd
Style: Normalized spaces after if, for and while.
2014-07-21 17:38:50 +02:00
madmaxoft
00c524519e
Fixed style: spaces after commas.
2014-07-19 14:53:41 +02:00
madmaxoft
7fff12bfac
Fixed spaces around single-line comments.
...
There should be at least two spaces in front and one space after //-style comments.
2014-07-17 19:13:23 +02:00
madmaxoft
993fd14ddf
Fixed basic whitespace problems.
...
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-07-17 16:33:09 +02:00
archshift
e824cd09b3
Merge remote-tracking branch 'origin/master' into potions
...
Conflicts:
src/Entities/Player.cpp
src/Entities/ProjectileEntity.cpp
2014-07-09 23:28:27 -07:00
Mattes D
f9f3f7eac5
Fixed size_t printfing under MinGW.
2014-06-30 21:58:23 +02:00
archshift
87b1bfaf2a
Moved Effects.h to EntityEffects.h, added initial impl
2014-06-17 11:17:32 -07:00
madmaxoft
730e36844e
Test failures break into MSVC debugger.
2014-05-30 11:01:13 +02:00
madmaxoft
0b60caac4a
Test failures are reported verbosely and into the debug console on Win.
2014-05-30 10:56:12 +02:00
Tycho
19df18c461
Fixed test globals to work with precompiled headers
2014-05-27 12:46:22 +01:00
Mattes D
a2cffb0363
Fixed MSVC2013 compilation.
2014-05-01 20:22:23 +02:00
madmaxoft
6d167b370e
Fixed C++11 check for SharedPtr.
2014-04-25 16:05:24 +02:00
madmaxoft
f3dfc0349d
Added shared_ptr handling for C++03 mode.
2014-04-25 09:48:52 +02:00
madmaxoft
a02e8e8021
Declared a SharedPtr that hopefully resolves on all platforms.
...
MSVC2008 has it in std::tr1, all the others in std.
2014-04-24 22:30:19 +02:00
madmaxoft
c701adbd24
Initial C++ SSL classes.
2014-04-24 21:53:41 +02:00
Mattes D
25529ba62f
Fixed a few MSVC type warnings.
2014-04-03 09:27:17 +02:00
madmaxoft
773ce7fde6
Fixed non-virtual destructors warnings.
2014-03-28 21:35:45 +01:00
Tycho
8e11c270fc
Added Noreturn attribtes to a couple of functions and made a missing noreturn an error
2014-03-14 07:59:25 -07:00
Tycho
2f81c1d7fb
Added NORETURN macro
2014-03-14 07:33:47 -07:00
Tycho
cd6ab5617c
Fixed xofts issues
2014-03-14 06:11:49 -07:00
Tycho
9a28d1bbe1
Fixed comma
2014-03-12 11:56:24 -07:00
Tycho
862e219443
Added additional macros to support the MSVC size_t format and changed all formats to use the macros
2014-03-12 10:34:50 -07:00
Tycho
d904e89712
Merge branch 'Werror' into warnings
...
Conflicts:
src/Globals.h
2014-03-12 10:12:13 -07:00
Tycho
a584b7b3bc
Fixed printf format compatabilty
2014-03-12 10:09:08 -07:00
Tycho
3caa4a38b9
Merge branch 'master' into Werror
...
Conflicts:
src/Generating/PieceGenerator.cpp
2014-03-12 09:59:10 -07:00
Tycho
ef58b0eb54
Fixed comments an assert
2014-03-12 09:49:37 -07:00
Tycho
53faac10c5
Added macros to follow format string checking through wrappers
2014-03-11 13:41:15 -07:00
andrew
b4bf13aa4f
Unified Vector classes
2014-03-11 16:02:25 +02:00
Tycho
e9e2852ce1
Fixed test asserts
2014-03-10 13:12:43 -07:00
Tycho
1bf99b5fd2
Be more parinoid about int sizes
2014-03-09 11:47:22 -07:00
Tycho
676dcfd1c7
Globals.h is now warnings free again.
...
Also turned off Wpadded as it is indicates potental performance issues rather than potential bugs
2014-03-09 10:32:56 -07:00
andrew
d73cdba1f6
g_BlockXXX => cBlockInfo::XXX
2014-03-01 21:34:19 +02:00
andrew
f201f4f176
Thread safe cMap manager
2014-02-20 16:38:37 +02:00
andrew
83d3a2eedf
Manual merge (Fixed conflicts)
2014-02-20 15:37:15 +02:00
Tycho
bed2ee22e8
Merge branch 'master' into GeneratingBenchmark2
...
Conflicts:
src/Blocks/BlockRail.h
src/World.h
2014-01-26 06:28:51 -08:00
Tycho
a2d3eea80b
Added support for overide in c++11 supporting varients of gcc/clang
2014-01-25 15:02:31 -08:00
madmaxoft
5f34c78091
PolarSSL is fully used for 1.3.2 protocol encryption.
2014-01-23 23:35:23 +01:00
Bill Derouin
cee76f1ace
Move biome definition to separate files
2014-01-09 15:21:46 -06:00
madmaxoft
a33b157dc9
Disabled an unneeded MSVC warning.
...
Also sorted the enabled warnings by their numerical code for easier searching..
2014-01-07 17:15:08 +01:00
madmaxoft
778c329ad2
Disabled the type conversion MSVC warning.
...
It was hitting way too many false positives.
2014-01-06 22:23:03 +01:00
Diusrex
1acbf07445
Changed the release version of ASSERT.
...
This was so a variable only used in ASSERT statements will not give a warning about not being used.
2014-01-05 15:07:46 -07:00
Diusrex
0d5b581fcd
Making all of the useful level 4 warnings be active.
2014-01-05 14:42:22 -07:00
madmaxoft
4402725c61
Removed offending tr1/memory header inclusion.
...
We already use <memory> at line 160, this was a double include, additionally causing problems (#424 ).
2013-12-18 12:04:31 +01:00
STRWarrior
8c04afe18a
Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h.
2013-12-14 22:34:49 +01:00
Alexander Harkness
596963743e
Fixed a load of issues, clang autodetection works now.
...
This fixes issue #210 .
This also removes the disableasm option, so it would be wise to remove
it from any scripts that use it.
I also removed a random line in the middle of globals.h, why was it
there?
2013-11-27 17:18:40 +00:00
Alexander Harkness
675b4aa878
Moved source to src
2013-11-24 14:19:41 +00:00