Commit Graph
4727 Commits
Author SHA1 Message Date
Tycho 3e0dfbc7a1 Made buffers static const 2014-03-16 07:59:58 -07:00
Tycho a427f004b8 Fix indentation 2014-03-15 07:15:02 -07:00
Tycho 04f1d58561 Fixed unessicary return 2014-03-15 07:08:09 -07:00
Tycho fbd4d53dac Merge branch 'master' into unreachable
Conflicts:
	SetFlags.cmake
2014-03-15 06:47:56 -07:00
Tycho 2e9fe777e4 Patched tolua to emit range checks for enums 2014-03-15 06:45:26 -07:00
madmaxoft 4a5bea159f Debuggers: Added a test for WE selection API.
This tests mc-server/WorldEdit#34.
2014-03-15 08:38:15 +01:00
madmaxoft d364c7befc APIDump: Documented a forgotten cCuboid constructor. 2014-03-15 08:38:14 +01:00
Mattes D 50b53ff3e8 Merge pull request #800 from mc-server/EntireCommandError
The entire unknown command is echoed back to the user on error.
2014-03-15 07:52:37 +01:00
madmaxoft 62ed305f07 APIDump: Fixed missing return statement. 2014-03-15 07:51:33 +01:00
madmaxoft 0442c41c87 Added cCuboid:Assign(OtherCuboid) API function. 2014-03-15 07:50:39 +01:00
madmaxoft dc1049da3c Ignoring all config and SQLite files in the output folder. 2014-03-14 16:18:31 +01:00
madmaxoft a982b9b5ac APIDump: Trigger the dump manually.
Fixes #715. The dump can be triggerred by issuing an "api" console command, or in the webadmin.
2014-03-14 16:18:31 +01:00
Mattes D 763ea2840b Merge pull request #808 from worktycho/noreturn
Noreturn
2014-03-14 16:16:33 +01:00
Tycho e3646fc877 Fixed a couple of unneeded returns in ProtoProxy 2014-03-14 08:05:35 -07:00
Tycho 693e59c6a4 Merge branch 'master' into noreturn
Conflicts:
	SetFlags.cmake
2014-03-14 08:04:48 -07: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 c51a9b5fc2 Merge branch 'master' into unreachable
Conflicts:
	SetFlags.cmake
2014-03-14 07:46:33 -07:00
Mattes D adf5a60746 Merge pull request #805 from worktycho/undef
Fixed a couple of missing defs
2014-03-14 15:37:01 +01:00
worktycho b8cffe569f Merge pull request #798 from worktycho/warnings
Fixed Format string warnings
2014-03-14 14:34:29 +00:00
Tycho 2f81c1d7fb Added NORETURN macro 2014-03-14 07:33:47 -07:00
Tycho fed461bf2a Made unreachable code an error 2014-03-14 07:12:18 -07:00
Tycho b829c9b14e Fixed a few unneeded breaks 2014-03-14 07:12:00 -07:00
Tycho 58fa8b40bf Removed missiterperatable malfunctioning error handling code 2014-03-14 07:02:57 -07:00
Tycho e61810e1bf Removed invalid block face handling code
The code for handling invalid block faces is removed by gcc and clang as it is undefined behavior for a enum
to contain a value that is not part of the enum. Since the only way that the line can be executed is through
undefined behavior clang and gcc remove it so the function fits in the caches better.
2014-03-14 06:52:49 -07:00
Tycho 8b83c1a653 Merge branch 'master' into warnings 2014-03-14 06:46:20 -07:00
Tycho 22cdbe99b4 Fixed a couple of missing defs 2014-03-14 06:44:04 -07:00
madmaxoft 9b63156447 cPlugin:BindConsoleCommand can be called statically.
This has been documented before it was written.
2014-03-14 14:37:39 +01:00
madmaxoft 35fe96b07d Fixed a warning. 2014-03-14 14:36:44 +01:00
Tycho cd6ab5617c Fixed xofts issues 2014-03-14 06:11:49 -07:00
Tycho 692cf5bb70 Merge branch 'master' into warnings 2014-03-14 06:01:45 -07:00
Mattes D 1259844084 Merge pull request #793 from xdot/master
Unified Vector classes
2014-03-14 11:52:15 +01:00
madmaxoft bba090ebdd cPluginManager:Bind[Console]Command returns true on success.
Fixes #801.
2014-03-14 11:18:14 +01: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
madmaxoft d545be9614 Fixed missing comment terminator. 2014-03-12 15:33:28 +01:00
andrew 4a883be428 Vector3: More casts 2014-03-12 16:30:57 +02:00
madmaxoft ec23e2591e Merge remote-tracking branch 'xdot/master' 2014-03-12 15:20:33 +01:00
andrew 6f2bb0ad44 M_PI MSVC Fix 2014-03-12 16:13:03 +02:00
madmaxoft f2df33f746 Merge remote-tracking branch 'xdot/master' 2014-03-12 14:42:04 +01:00
andrew a3a94436dc Vector3: Length() should always return a float 2014-03-12 15:13:19 +02:00
madmaxoft 5d7df54e35 Fixed Lua string return values.
Fixes #773.
2014-03-12 14:11:28 +01:00
madmaxoft a7f9df24d4 The entire unknown command is echoed back to the user on error. 2014-03-12 13:11:34 +01:00
madmaxoft 0c15fdf7b0 Moved Lua API registering into a separate function.
This will allow us to use Lua as lite-config files as well, should we want to.
2014-03-12 13:05:28 +01:00
madmaxoft 392fb7923b Merge remote-tracking branch 'origin/SnowBall' 2014-03-12 08:41:33 +01:00
Tycho 3d15319e3c Added macros support to tools 2014-03-11 15:55:37 -07:00
Tycho 9c6ca5a3ed made format-nonliteral an error 2014-03-11 14:43:56 -07:00