1
0
Commit Graph

37 Commits

Author SHA1 Message Date
Alexander Harkness
ac99f3df9d Removed extra endif. 2013-11-24 14:38:41 +00:00
Alexander Harkness
c3cd436ec3 Merge remote-tracking branch 'origin/master' into foldermove2
Conflicts:
	GNUmakefile
2013-11-24 14:37:03 +00:00
Alexander Harkness
4e463d591d Removed pedantic build and added optimisation to debug builds. 2013-11-24 14:31:36 +00:00
Alexander Harkness
eca23ed0b3 Always warn about everything!
This should help me in my efforts.
2013-11-16 17:49:14 +00:00
Alexander Harkness
cd8894fca6 Got rid of warnings caused by the -s option on Clang, and it doesn't seem to do anything anyway. 2013-11-13 19:53:39 +00:00
Alexander Harkness
26ac6881cd Fixed some of the comments in the makefile. 2013-11-13 19:41:05 +00:00
Alexander Harkness
9692f20a99 Fixed link error with clang on x86_64. 2013-11-13 19:36:04 +00:00
madmaxoft
e52dae2c51 Removed the old WebServer library. 2013-10-05 23:12:06 +02:00
Tycho Bickerstaff
63ecdaa1f2 added cryptopp asemblly desabling to clang autodetect 2013-09-11 17:27:30 +01:00
Tycho Bickerstaff
c7c18aa7e7 disable tautolgical compare warning in clang
disable the tautological compare warning as it is triggered by crypto++ using
unsigned ints in comparisons to zero in template code. crypto++ do not show
any indication of fixing it.

this commit does add a dependency on grep but that should not be a major
problem
2013-09-10 21:27:52 +01:00
Tycho Bickerstaff
4c2df0fd2a disable tautological compare in clang
disable the tautological compare warning in clang as crypto++ triggers this
warning and they are ignoring it
2013-09-10 20:59:33 +01:00
Tycho Bickerstaff
ff1cdab863 Allow the user to override the compiler using the CC enviromental varible in the makefile 2013-09-10 20:38:06 +01:00
madmaxoft
0aace84516 Updated the makefile to disable assembly for clang.
You need to set a flag manually, "disableasm=1" on the commandline.
2013-08-15 09:20:50 +02:00
madmaxoft
add99a8847 Makefile: Added FreeBSD support.
FreeBSD uses libltdl instead of libdl. Thanks xreprimand for the info.
2013-08-12 08:29:02 +02:00
madmaxoft
694d86f920 Removed squirrel mentions from makefile 2013-08-08 08:16:22 +02:00
madmaxoft@gmail.com
995c8d97e6 Added a makefile switch for 32bit-on-64bit compilation, addm32
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1378 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10 07:42:39 +00:00
madmaxoft@gmail.com
9687041b14 Fixed Expat / LuaExpat compilation for Linux
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1375 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-09 13:53:54 +00:00
madmaxoft@gmail.com
ee1e0d0eff Fixed linux compilation in regard to SQLite dependency on libdl
For some reason newer G++ linker requires libraries to come after object files, yuck!

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1371 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07 21:15:10 +00:00
madmaxoft@gmail.com
499962029a Added SQLite and LuaSQLite, Lua plugins can now use SQLite.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1368 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07 19:28:32 +00:00
madmaxoft@gmail.com
c0b8c3cb43 Linux Makefile: Added the gcc option to output debugging information even in release builds.
It will not slow the builds down, only make them larger; allows to have more details in gdb output of a crashdump analysis

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1058 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-20 21:15:03 +00:00
madmaxoft@gmail.com
f7ef93611c Removed the SquirrelVM.
It has been crashing the server. http://forum.mc-server.org/showthread.php?tid=610

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1024 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-08 19:09:35 +00:00
madmaxoft@gmail.com
64fb2655b9 Added true gcc debugging flags to debug builds under *nix (Fix contributed by ThuGie)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1016 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-28 20:52:55 +00:00
madmaxoft@gmail.com
b379f35f4f Fixed preprocessor definitions in Linux
git-svn-id: http://mc-server.googlecode.com/svn/trunk@831 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-04 15:29:45 +00:00
madmaxoft@gmail.com
539364846a Implemented 1.3.2 protocol encryption using CryptoPP, up to Client Status packet (http://wiki.vg/Protocol_FAQ step 14)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@808 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-30 21:06:13 +00:00
madmaxoft@gmail.com
f1d62b77cd Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-29 21:02:39 +00:00
faketruth
fa8ae973c4 Updated GNUmakefile to output to MCServer directory
Moved Lua-LICENSE.txt to Install dir (dont know what happened to the other license files :P )

git-svn-id: http://mc-server.googlecode.com/svn/trunk@764 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-20 12:29:51 +00:00
madmaxoft@gmail.com
ac92829970 GNUmakefile: added a profiled build ("make profile=1")
git-svn-id: http://mc-server.googlecode.com/svn/trunk@720 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-07 14:36:45 +00:00
madmaxoft@gmail.com
296237289e GNUmakefile: Split the debug build into debug and pedantic; more comments; added O3 optimization to external C libraries even in debug mode
git-svn-id: http://mc-server.googlecode.com/svn/trunk@712 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-04 20:42:57 +00:00
madmaxoft@gmail.com
2a72c5c838 Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-03 11:53:11 +00:00
madmaxoft@gmail.com
2c94d84018 Makefile fix for the newly added squirrel, MCServer compilable on *nix again
git-svn-id: http://mc-server.googlecode.com/svn/trunk@682 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-18 12:32:45 +00:00
lapayo94@gmail.com
14dce23845 A new Block handling system :o
It was really a lot of work :D
Took me the complete weekend :D

Would really like to here your opinion on this =)
The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 20:36:34 +00:00
lapayo94@gmail.com
083228a10d Squirrel Plugins
I worked a little bit on the squirrel Bindings
They work now on linux and windows :) (OSX is untested, but should work also) but they are very limited at the moment. (Only made OnChat working)
I also fixed some small bugs.


git-svn-id: http://mc-server.googlecode.com/svn/trunk@648 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-08 21:01:08 +00:00
cedeel@gmail.com
b17d12c86f Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project files
git-svn-id: http://mc-server.googlecode.com/svn/trunk@546 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-03 23:35:17 +00:00
madmaxoft@gmail.com
11810e05e4 Using the _DEBUG macro for *nix debug builds as well; trying to force 8-byte alignment on critical sections ( http://forum.mc-server.org/showthread.php?tid=384 )
git-svn-id: http://mc-server.googlecode.com/svn/trunk@387 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-09 09:39:48 +00:00
madmaxoft@gmail.com
f07251625d Revised GNUmakefile for header file dependencies (again; this time it should work ;)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@300 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-21 12:07:08 +00:00
madmaxoft@gmail.com
d131c2694c Fixing build for linux using GNUmakefile (explicitly removed LeakFinder and StackWalker)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@256 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-14 13:36:49 +00:00
madmaxoft@gmail.com
0a46c065bf New makefile with automatic *.cpp sourcefile import, automatic header file dependencies and switchable debug / release configuration. gnumake-specific :(
git-svn-id: http://mc-server.googlecode.com/svn/trunk@250 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-10 09:34:19 +00:00