Commit Graph
3770 Commits
Author SHA1 Message Date
Tycho e14ddff1c0 Spilt Writing of Enchantments to seperate class
Created a new class cEnchantmentSerializer to serilize Enchantments to NBT.
This breaks a dependecy chain between cChunkGenerator and cWorld.
cEnchantmentSerializer is seperate from NBTWriter as it needs to access private members of cEnchantments
so having it seperate reduces the spread of the frein modifier
2014-01-19 07:38:59 -08:00
Mattes D 9aca5b4b99 Merge pull request #552 from worktycho/c++11
Changed std to c++11 in clang to fix va_copy issues
2014-01-17 13:59:58 -08:00
Alexander Harkness 935600bf0a Merge pull request #554 from worktycho/compression
Added user setting compression factor
2014-01-17 11:11:37 -08:00
Tycho a54cbba0fd Added user setting compression factor 2014-01-17 11:01:14 -08:00
Tycho 80f2f21f4c Changed std to c++11 in clang to fix va_copy issues 2014-01-17 10:10:31 -08:00
madmaxoft cef2967637 APIDump: Updated cPluginManager:GetAllPlugins(). 2014-01-17 15:54:33 +01:00
madmaxoft 1aeecdbe43 ProtoProxy: Compiles under Linux. 2014-01-17 13:15:54 +01:00
madmaxoft b99fe7d812 ProtoProxy: Fixed inversed typedef.
I must be going crazy...
2014-01-17 12:39:19 +01:00
madmaxoft c4f4eda347 ProtoProxy: Fixed compilation in Windows and in Linux. 2014-01-17 12:38:25 +01:00
madmaxoft c7b67d9c3c ProtoProxy: Fixed #include filename case. 2014-01-17 12:28:09 +01:00
Alexander Harkness 714c8ed1a9 Updated core to the latest version and edited the submodules file to allow greater compatibility on restricted networks. 2014-01-17 10:38:36 +00:00
Mattes D 79c1f6f438 Merge pull request #534 from mc-server/SpawnMinecart
Added cWorld::SpawnMinecart.
2014-01-17 02:27:56 -08:00
madmaxoft 2354ac2783 Fixed SIGABRT_COMPAT on other architectures. 2014-01-17 11:13:35 +01:00
madmaxoft aec5200893 Removed internal cEntity::GetRot() usage. 2014-01-17 11:11:17 +01:00
madmaxoft ed1d336614 Merge remote-tracking branch 'origin/customnames' 2014-01-17 10:44:23 +01:00
madmaxoft 3a1c0f2aef Protocol 1.7: More output on unknown packets / protocol states. 2014-01-17 10:12:27 +01:00
Mattes D aefe3111de Ignoring MSVC2010+ build folders. 2014-01-17 08:10:43 +01:00
Mattes D 4385ab008f CMake: Fixed Lua output folder for MSVC2010+. 2014-01-17 08:09:03 +01:00
Tiger Wang 7ecf50c309 Fixed block break packet number 2014-01-16 22:42:47 +00:00
Tiger Wang d675173b80 Changed newline character because of issues 2014-01-16 22:30:57 +00:00
Tiger Wang 952c53eb4e Removed CustomCopy() 2014-01-16 21:41:55 +00:00
Tiger Wang 590a8c45c5 Really did what xoft wanted 2014-01-16 21:41:08 +00:00
Tiger Wang d3bc92c65d Fixed #535 2014-01-16 21:51:30 +01:00
madmaxoft 4da8818291 Fixed SIGPIPE on cSocket::Send(). 2014-01-16 21:08:17 +01:00
Tiger Wang 7eb3cabd19 Fixed #535 2014-01-16 19:55:21 +00:00
madmaxoft a085319455 Protocol 1.7: Unknown packets are dumped to log in Debug mode. 2014-01-16 20:39:59 +01:00
madmaxoft de4ac55398 Disabled excessive entity-related logging in Debug mode. 2014-01-16 20:31:06 +01:00
madmaxoft c44ce84497 Fixed whitespace in previous commit. 2014-01-16 20:30:25 +01:00
Tiger Wang 74645fdfaa Removed obsoleted functions 2014-01-16 19:00:49 +00:00
madmaxoft 343136a2ae Finished exporting cWorld:ScheduleTask() to Lua API. 2014-01-16 19:56:08 +01:00
Tiger Wang 5d03e49c13 Possibly did what xoft wanted 2014-01-16 18:44:11 +00:00
Tiger Wang 3373daca26 Merge remote-tracking branch 'origin/master' into customnames 2014-01-16 18:37:46 +00:00
Alexander Harkness bf0d58428d Merge pull request #548 from worktycho/documention
Added Documention for a few features I've added
2014-01-16 09:55:37 -08:00
Tycho daf94e5f48 Documented the SchedualeTask function 2014-01-16 09:53:46 -08:00
Tycho 9a8975420e documented CROSSCOMPILING flag 2014-01-16 09:51:01 -08:00
madmaxoft dab37db562 CMake: Fixed output paths for all MSVC versions. 2014-01-16 18:33:28 +01:00
STRWarrior ca835a0565 Changed GetContent function. 2014-01-16 16:54:22 +01:00
madmaxoft e29749b35e Added packet diagnostics to 1.7 protocol.
When the packet is mis-interpreted, a log message is output about the packet type and lengths.
2014-01-16 15:26:58 +01:00
madmaxoft 6f739359e3 Yet another attempt at VarArgs. 2014-01-16 09:01:12 +01:00
madmaxoft ba49a32c3a Another VarArgs fix.
This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
2014-01-16 08:34:10 +01:00
Tiger Wang f3baf31563 OBSOLETE'd obsolete functions 2014-01-15 22:38:15 +00:00
Tiger Wang fcafd5a2e0 Implemented custom names and lore
+ Added custom names and lore
+ Added saving and loading
+ Added writing and parsing of NBT
2014-01-15 22:38:03 +00:00
Tiger Wang 3c31f2d8d8 Implemented Ctrl-Q drop stack
Also fixed an issue with TossItems not respecting count.
2014-01-15 22:36:19 +00:00
Mattes D 4974bf2832 Merge pull request #545 from mc-server/VarArgs
Var args
2014-01-15 13:41:45 -08:00
madmaxoft 3b8b558979 ProtoProxy: use CMake to generate the MSVC project files. 2014-01-15 22:41:12 +01:00
madmaxoft 7e2675a998 APIDump: Explicitly listed static cPlayer functions. 2014-01-15 19:26:01 +01:00
madmaxoft f436f87464 Fixed ProtoProxy compilation. 2014-01-15 19:10:03 +01:00
madmaxoft dd6c5779ec Using a 2nd argument instead of va_copy().
This seems to be the only reasonable C++03-only solution.
2014-01-15 18:28:51 +01:00
madmaxoft 3fd19df9fd Fixed varargs modification.
Ref.: #541.
2014-01-15 17:46:29 +01:00
Mattes D 0571b1a7e6 Merge pull request #543 from mc-server/Furnace_Minecarts
Furnace minecarts
2014-01-15 06:45:34 -08:00