Commit Graph
100 Commits
Author SHA1 Message Date
Mattes D b72661681c Merge pull request #791 from mc-server/PieceGenerator
Piece generator
2014-03-10 23:13:08 +01:00
Mattes D b3d0e878b3 Merge pull request #767 from worktycho/envmatrix
Added support to control build type with env vars
2014-03-10 21:54:17 +01:00
madmaxoft 26d7ed6612 Removed debugging output.
Kept it commented-out for later revisions, if needed.
2014-03-10 21:16:13 +01:00
madmaxoft 4ed68916d8 Revert "Fixed some warnings"
This reverts commit 4cb0b82d1d.
2014-03-10 20:52:53 +01:00
madmaxoft 6c48075561 POCPieces: Added height.
Now the pieces connect in different heights, too, creating a true 3D maze.
2014-03-10 08:38:40 +01:00
madmaxoft 0b9763fc5a Fixed MSVC2008 compilation. 2014-03-10 07:55:47 +01:00
madmaxoft 0e985293b5 A working POCPiece generator. 2014-03-09 22:04:29 +01:00
madmaxoft dacb6cef1d Hardened cCuboid with asserts for its assumptions. 2014-03-09 22:02:08 +01:00
madmaxoft 81bf846e64 ChunkDef: Replaced enums with static const ints.
This makes them easier to use in std::min et al.
2014-03-09 21:58:12 +01:00
madmaxoft 8889d3b733 Added cCuboid::Engulf(). 2014-03-09 19:54:27 +01:00
madmaxoft 1fdeabcf78 cPieceGenerator: New connectors are added to the free pool. 2014-03-09 19:30:38 +01:00
madmaxoft e214bd7666 Merge branch 'master' into PieceGenerator 2014-03-09 17:58:38 +01:00
madmaxoft 5c4c147e48 Silenced useless MSVC warnings in cMetaRotater. 2014-03-09 17:58:01 +01:00
madmaxoft dd39a677c7 Merge branch 'master' into PieceGenerator 2014-03-09 17:50:05 +01:00
madmaxoft b8cd0b0897 Hotfix for MSVC compilation. 2014-03-09 17:48:17 +01:00
madmaxoft b9190fc04e PieceGenerator can connect two connectors of the same type.
Also added extensive debugging output and a test.
2014-03-09 15:24:12 +01:00
madmaxoft 5be983e775 Added BlockFaceToString() translation function. 2014-03-09 15:24:11 +01:00
madmaxoft 93f0de521a Added Vector3i::Move(). 2014-03-09 15:24:11 +01:00
madmaxoft e6305d29a5 Added the first skeleton code for PieceGenerator.
This is a WIP and won't work / isn't used at all.
2014-03-09 15:24:11 +01:00
Mattes D d3c38c40e4 Merge pull request #777 from jfhumann/issue317
Issue 317: Split cClientHandle::HandleEntityAction() into seperate functions
2014-03-09 15:13:27 +01:00
Mattes D 8a715db41f Merge pull request #775 from worktycho/warnings
Fixed a few warnings
2014-03-09 15:04:12 +01:00
Mattes D 17f27d1750 Added switch case indent notice 2014-03-08 21:14:59 +01:00
Mattes D 3a6499b192 Merge pull request #729 from worktycho/MetaRotate
Alternitive solution to #503
2014-03-08 18:27:24 +01:00
Mattes D ae84cdf242 Merge pull request #764 from xdot/master
Fixed water/lava interaction
2014-03-07 21:33:22 +01:00
madmaxoft ffdf5f2022 Fixed cBlockArea schematic string saving signature. 2014-03-07 21:28:52 +01:00
Mattes D 51c1849762 Merge pull request #765 from worktycho/fastmath
Enabled -ffast-math
2014-03-07 18:32:04 +01:00
Mattes D f72c747b50 Merge pull request #763 from Howaner/BlockEntitys
Add Flower Pots
2014-03-07 17:54:10 +01:00
madmaxoft fd4eda7d24 Fixed a typo. 2014-03-07 17:43:19 +01:00
Mattes D c1977035cf Merge pull request #760 from Howaner/GlobalFixes
Add data backsending, when the Client interacts a Block and the Interact...
2014-03-07 14:45:45 +01:00
madmaxoft 31df026808 Rewound PolarSSL to master branch.
The current Devel branch fails to build on RasPi.
2014-03-07 10:25:18 +01:00
madmaxoft f6aaeb74a9 Debuggers: Added a test of the cBlockArea string-serialization. 2014-03-07 09:18:10 +01:00
madmaxoft 166ab59582 APIDump: Documented cBlockArea string-serialization functions. 2014-03-07 09:17:42 +01:00
madmaxoft 97d803e34f Added cBlockArea serialization to string.
Fixes #665.
2014-03-07 09:17:13 +01:00
madmaxoft 3e80e63665 Merge remote-tracking branch 'xdot/master' 2014-03-06 13:24:28 +01:00
Mattes D 2def1b40e1 Merge pull request #747 from mc-server/InfoDump_Github
Info dump github
2014-03-06 10:38:45 +01:00
madmaxoft 036608c645 APIDump: Documented the cCompositeChat class. 2014-03-05 18:56:32 +01:00
madmaxoft 86615428cd APIDump: Ignoring classes by exact match.
"cCompositeChat" was ignored because it matched "os".
2014-03-05 18:28:42 +01:00
madmaxoft a845c051b8 Fixed some gcc warnings in Defines.h. 2014-03-04 22:25:31 +01:00
madmaxoft ab30d94b2f Debuggers: Added simple test for cCompositeChat. 2014-03-04 22:17:47 +01:00
madmaxoft 8f78288564 Manually exported cCompositeChat modifiers.
This adds chaining support to them. Fixes #755.
2014-03-04 22:17:23 +01:00
madmaxoft ecfe17b096 cLuaState: Made public the GetStackValue() functions. 2014-03-04 21:55:24 +01:00
madmaxoft e50ffba1ad Fixed an assert in map-loading.
The maps were loaded too soon, the world wasn't initialized yet.
2014-03-04 18:40:55 +01:00
madmaxoft 442c1d96fc Fixed previous weather changes.
cWorld::GetDefaultWeatherInterval() returns -1 for unknown weather.
2014-03-03 20:55:04 +01:00
Mattes D 71ae689eb7 Merge pull request #746 from Howaner/Slabs
Add Trapdoor Functions to cWorld and fix Trapdoor Redstone Bugs
2014-03-03 20:52:08 +01:00
Mattes D d25e4d4179 Merge pull request #748 from xdot/master
cBlockInfo now manages the respective cBlockHandler
2014-03-02 22:03:44 +01:00
madmaxoft 7fb354e8f0 Fixed MSVC warnings in DeprecatedBindings. 2014-03-02 16:34:16 +01:00
madmaxoft 274d2bcb17 Added blockface mirroring and rotating. 2014-03-02 16:14:00 +01:00
Mattes D b17d04737d Merge pull request #738 from xdot/master
Refactored global block property arrays
2014-03-02 16:13:43 +01:00
Mattes D 04d5cab4ef Merge pull request #745 from tonibm19/master
Creeper fixes
2014-03-02 14:58:16 +01:00
Mattes D 0f2d9bc35f Merge pull request #733 from Howaner/Slabs
Fix Double Slabs, fix Slab Meta and add more things to burnable
2014-03-02 10:22:40 +01:00
madmaxoft 2998228e85 Added more documentation for FastNBT parser. 2014-03-02 08:22:27 +01:00
madmaxoft 2325a1a162 ChunkDesc warns about StructureGen's deprecation. 2014-03-01 20:59:41 +01:00
madmaxoft 2f85c9648b Unified StructureGens and FinisherGens.
Now they are all Finishers. Fixes #398.
2014-03-01 20:59:41 +01:00
madmaxoft 29cc1ed051 Ignoring all plugin subfolders.
Plugins developed directly with MCS have been added explicitly; other plugins are ignored.
2014-03-01 20:59:40 +01:00
Mattes D 80b0496bff Merge pull request #735 from xdot/master
Exported and documented cScoreboard
2014-03-01 15:20:30 +01:00
Mattes D 481552e450 Merge pull request #737 from mc-server/InfoDump_SourceLocation
Small update for InfoDump
2014-03-01 14:54:28 +01:00
madmaxoft 4828899204 DoxyFile: Updated after all the folder renaming. 2014-03-01 14:24:20 +01:00
madmaxoft c18748648d Forgotten changes to cChunkInterface. 2014-03-01 02:54:46 +01:00
madmaxoft aecbf77293 Removed cBlockHandler forward declaration from cChunkInterface.
Wasn't needed. Also reformatted the code.
2014-03-01 02:46:50 +01:00
madmaxoft 3991c04d47 Improved comments in float size check. 2014-03-01 02:43:35 +01:00
madmaxoft 1826461884 Fixed multiple gcc warnings about unused params. 2014-02-28 16:26:23 +01:00
madmaxoft d97363a1b3 Documented the changes in cJukeboxEntity. 2014-02-28 15:41:46 +01:00
madmaxoft 35def963f0 Moved common cGroupManager code to a separate function.
This fixes my concerns in PR #709.
2014-02-28 15:31:20 +01:00
Mattes D 6ad4b78a7b Merge pull request #709 from Howaner/GlobalFixes
Add 'Group not found', when the Server load the users.ini and add auto g...
2014-02-28 14:28:50 +01:00
madmaxoft e4c3d3eb6d Added a MobDebug enabler script.
This file is to be copied to a plugin's folder in order to debug that plugin with MobDebug.
2014-02-28 10:37:09 +01:00
madmaxoft 0aac17874c Better fix for the 32-bit float reading. 2014-02-28 08:31:35 +01:00
madmaxoft 6a191cce0a Fixed compatibility with ZeroBraneStudio and LuaRocks.
Lua now compiles into lua51.dll and there's a lua5.1.dll that acts as a export-forwarding proxy to lua51.dll.
2014-02-28 08:27:02 +01:00
madmaxoft a23b5d13bd Added a "nooutbuf" cmdline param.
This forces that the stdout stream uses no buffer, even when not a TTY. Used for running MCServer under ZeroBraneStudio.
2014-02-27 15:17:42 +01:00
madmaxoft 9c6d72a023 Fixed crash and some warnings in map handling.
Fixes #728.
2014-02-27 09:06:25 +01:00
madmaxoft cb40d114ab Fixed a gcc warning in FastNBT.h. 2014-02-26 22:17:28 +01:00
madmaxoft aaddc98b46 Attempted fix for several GCC warnings. 2014-02-26 21:37:38 +01:00
madmaxoft da75907942 APIDump: Added Geometry file to project. 2014-02-26 20:49:01 +01:00
madmaxoft b7b027c0f6 APIDump: Documented new cCuboid functions. 2014-02-26 20:44:52 +01:00
madmaxoft 50b664fd0c APIDump: Separated out Geometry-related classes to their own file. 2014-02-26 20:38:51 +01:00
madmaxoft 5cceca7fbc Added more utility functions to cCuboid.
GetVolume(), Expand(), ClampX(), ClampY(), ClampZ()
2014-02-26 20:22:34 +01:00
madmaxoft 0d8ab184e0 InfoReg: Subcommand aliases are handled properly. 2014-02-25 18:15:09 +01:00
madmaxoft 9ab766189d Added useful parameter overloads to cBlockArea Lua API. 2014-02-24 23:17:12 +01:00
madmaxoft f96801290e Fixed tolua export for Byte.
No longer treated as an unknown class.
2014-02-24 22:52:55 +01:00
madmaxoft 46f6cef99f Fixed compilation in MSVC (forward class definitions). 2014-02-24 22:47:58 +01:00
Mattes D 3decf7fc94 Merge pull request #724 from worktycho/warningfixes
BlockEntities is warnings free
2014-02-24 20:44:02 +01:00
Mattes D 23093fd4d1 Merge pull request #710 from TheJumper/master
Fixed Mob Drops, Add Rare, Uncommon and Gear Drops, Looting inflicts Drops
2014-02-24 18:30:44 +01:00
Mattes D 2deeef3cdf Merge pull request #722 from mc-server/CompileFix_C++03
Fixed MCServer not compiling with C++03 compilers
2014-02-24 15:21:28 +01:00
madmaxoft 31d15f8654 Removed an unused member variable from cChunk. 2014-02-24 09:34:37 +01:00
madmaxoft 0aa8f765f9 Fixed crash in cBlockArea rotation.
Fixes #720.
2014-02-24 09:34:37 +01:00
madmaxoft 728e3c68b6 Fixed a possible crash in cWorld::WakeUpSimulatorsInArea().
The Y coords weren't checked.
2014-02-24 09:34:37 +01:00
Mattes D f8586b8e9d Merge pull request #716 from Howaner/BreakFix
No Sword Block Destroying in Creative Mode
2014-02-23 23:06:50 +01:00
Mattes D 93f881fab4 Merge pull request #717 from worktycho/warningfixes
fixed globals.h warnings
2014-02-23 21:52:54 +01:00
madmaxoft ea2420e8b4 APIDump: Fixed cBlockArea:GetRelBlockType() return types. 2014-02-23 19:50:51 +01:00
madmaxoft fd4af0f992 Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().
They no longer require the ghost output params.
2014-02-23 19:50:51 +01:00
Mattes D b432f57608 Updated CONTRIBUTING file with formatting and essential rules. 2014-02-23 14:57:59 +01:00
madmaxoft 6da013c538 Documented cBlockArea:GetOrigin(), :GetSize() and :GetVolume(). 2014-02-23 14:28:03 +01:00
madmaxoft ea84f8cf89 Added cBlockArea::GetVolume, exported to Lua API. 2014-02-23 14:08:05 +01:00
madmaxoft 3af235b9bb Added cBlockArea:GetSize() and :GetOrigin() to Lua API.
These don't have a direct C++ equivalent, but are rather useful for the plugins.
2014-02-23 14:03:24 +01:00
madmaxoft 1b9840b328 APIDump: Documented cClientHandle:HasPluginChannel. 2014-02-20 23:32:08 +01:00
madmaxoft 27e77a28fa cClientHandle manages the client-registered plugin channels.
Fixes #706.
2014-02-20 23:24:39 +01:00
madmaxoft ffc4691f48 Removed problematic utf8. 2014-02-20 22:17:01 +01:00
Mattes D 6c9779630e Merge pull request #704 from Howaner/GlobalFixes
Global fixes
2014-02-20 22:14:16 +01:00
Mattes D eabf25ddbd Merge pull request #702 from TheJumper/master
BlockBed.cpp: Fixed Multiple people in one bed.
2014-02-20 21:33:54 +01:00
madmaxoft 50bebd2dbd Disabled the leak finder. 2014-02-20 20:13:06 +01:00
Mattes D 191a08fc32 Merge pull request #700 from Howaner/GlobalFixes
Add new Trees (without Generator)
2014-02-20 16:24:52 +01:00