Commit Graph
100 Commits
Author SHA1 Message Date
madmaxoft 0e48fd35bd Made Lua compila as a standalone DLL on Windows.
This enables us to use LuaRocks.
2013-12-03 21:37:34 +01:00
madmaxoft 70cf0c09a8 The server builds and uses Lua as DLL in Debug mode.
This is a test to see how LuaRocks will interact. Only debug mode on Windows is affected, all other platforms and modes are unchanged.
2013-12-02 22:36:59 +01:00
madmaxoft e07c54f7f8 APIDump: Added missing params to OnPlayerRightClick() hook. 2013-12-02 22:36:59 +01:00
Mattes D 1c384ec1d7 Merge pull request #392 from SamJBarney/master
Fixed 1.7 slab and stair placement.
2013-12-02 11:38:22 -08:00
madmaxoft ffd2caea66 Fixed compiler warnings in LightingThread.cpp. 2013-12-01 14:04:17 +01:00
madmaxoft 3dfd051fcb Fixed linux compile errors and formatting in RedstoneSimulator.cpp 2013-12-01 13:58:04 +01:00
madmaxoft bf30528ec4 DeadlockDetect is configurable now.
This is needed when debugging Lua plugins.
2013-11-30 22:14:47 +01:00
madmaxoft 9a36564ce9 Fixed compiler warnings in IsBiomeNoDownfall(). 2013-11-30 19:13:04 +01:00
Mattes D 2bbe5046e9 Merge pull request #387 from mc-server/trapdoors
Trapdoors, redstone fixes, and snow
2013-11-30 07:20:27 -08:00
madmaxoft c70c2fa42f Changed cBlockHandler->OnUpdate() to use cChunk directly. 2013-11-30 15:58:27 +01:00
madmaxoft 8eae5f2f3a Added IsBiomeNoDownfall() function. 2013-11-30 15:57:56 +01:00
madmaxoft 78f9d97459 Explicitly set spawnpoint fixes.
The value names are case-insensitive.
The debug message is printed only once.
2013-11-30 15:03:29 +01:00
madmaxoft 8e4a1b2ca1 Added the trapdoor header to project file. 2013-11-30 14:52:35 +01:00
madmaxoft 2383016b1d Added the real tick duration to the OnWorldTick hook. 2013-11-30 14:22:26 +01:00
madmaxoft 251647f3bd Fixed compilation in VS2008. 2013-11-30 13:54:10 +01:00
madmaxoft 463de118a0 Grass doesn't spread to podzol or grassless dirt blocks. 2013-11-30 13:48:22 +01:00
madmaxoft ca79a1a6a6 APIDump: Updated the project file to include all partial docs files. 2013-11-30 13:36:40 +01:00
madmaxoft 754d991b4f Added floor pattern for MegaTaiga biomes. 2013-11-30 13:34:52 +01:00
madmaxoft 78f0195d26 Implemented mesa biomes in DistortedHeightmap CompoGen. 2013-11-29 21:47:09 +01:00
madmaxoft cbe8d1aa6d Fixed CheckerboardBiomeGen in negative coords. 2013-11-29 21:45:20 +01:00
madmaxoft 9b881a15ef DistortedHeightmap: Improved speed, prepared for mesa biomes.
This generates the rainbow-mesa as seen on the first mesa screenshot in the forum.
2013-11-29 18:42:56 +01:00
madmaxoft 3963a72046 Fixed an off-by-one error in cByteBuffer.
Could have caused random protocol errors and maybe even crashes.
2013-11-29 18:39:40 +01:00
madmaxoft f027b71a31 Alpha-sorted BlockMetas, added red sand. 2013-11-29 18:38:27 +01:00
madmaxoft f6df5cea87 Trees will generate in the new biomes.
Only the generic trees, the special variants haven't yet been implemented.
2013-11-28 22:08:42 +01:00
madmaxoft 057821d9b7 Added new biomes to old composition generator.
Mostly placeholders only, true per-biome characteristics still need to be implemented. This is only to test the new biome generators.
2013-11-28 21:51:18 +01:00
madmaxoft 95ab73e4ed Added new biomes to old height generators.
Now Biomal and DistortedHeight generators will work with new biomes.
2013-11-28 21:15:50 +01:00
madmaxoft 41175b5549 BiomeVisualiser: Using the common BiomeGen creation code. 2013-11-28 20:19:10 +01:00
madmaxoft c0a6c2b533 Moved BiomeGen creation from INI file data to BioGen.cpp.
This way it can be shared between MCServer and BiomeVisualiser.
2013-11-28 20:15:52 +01:00
madmaxoft 012840360e Moved json includes to where they are really needed. 2013-11-28 20:14:34 +01:00
madmaxoft bdd86d7934 BiomeVisualiser: Added the TwoLevel biome generator. 2013-11-28 20:00:30 +01:00
madmaxoft 8acf0129e1 BiomeVisualiser: The biome settings are read from a file. 2013-11-28 20:00:29 +01:00
Mattes D 13dade5a83 Merge pull request #362 from mc-server/redstonefixes
Multiple bugfixes
2013-11-28 10:59:44 -08:00
madmaxoft c90f021ed4 Fixed RCONClient after foldermove. 2013-11-28 13:55:28 +01:00
madmaxoft cfd9a29046 Fixed MemDumpAnalysis after foldermove. 2013-11-28 13:53:38 +01:00
madmaxoft bb37271f30 Fixed BlockZapper after folder move. 2013-11-28 13:48:52 +01:00
madmaxoft afd94a0b11 Fixed BiomeVisualiser after folder move. 2013-11-28 10:09:45 +01:00
madmaxoft 54c82c746e Fixed AnvilStats after folder move. 2013-11-28 10:05:39 +01:00
madmaxoft 19895dc428 ProtoProxy: Fixed after folder move. 2013-11-28 09:52:28 +01:00
madmaxoft bec27617a2 Voronoi-related biomegens use the new cVoronoiMap class. 2013-11-27 21:42:34 +01:00
madmaxoft ac793df2ab Added missing files for Voronoi map generation. 2013-11-27 14:26:28 +01:00
madmaxoft 97b03df372 Fixed Win nightbuild scripts after folder moves. 2013-11-27 14:24:36 +01:00
madmaxoft 557ebc88d7 Removed faulty .gitattributes.
They cause git to think that files have been modified although they have not, and makes it impossible to revert the files to un-changed form.
See http://stackoverflow.com/questions/5009096/files-showing-as-modified-directly-after-git-clone 's first answer.
2013-11-27 09:32:53 +01:00
Mattes D 49760db89d Merge pull request #370 from mc-server/foldermove2
Moved all the folders :D
2013-11-27 00:23:17 -08:00
madmaxoft 2113ca3844 Fixed VC2008 compilation, normalized include paths. 2013-11-27 09:17:25 +01:00
Mattes D 6041fa1e62 Merge pull request #368 from mc-server/ExpOrbs
Exp orbs
2013-11-26 01:48:46 -08:00
madmaxoft 0fef69e612 Fixed cFile compilation on Linux. 2013-11-25 21:24:41 +01:00
madmaxoft 2d68969a45 AnvilStats: Fixed compilation. 2013-11-24 22:10:27 +01:00
madmaxoft 274bdc40ff BiomeVisualiser: Added 1.7 biomes, recolored using AMIDST colors. 2013-11-24 17:49:04 +01:00
madmaxoft 319d32117d Removed a stale comment. 2013-11-24 14:43:06 +01:00
madmaxoft dbb76ef9fe RCONClient: Initial implementation.
Fix #79.
2013-11-24 14:35:35 +01:00
madmaxoft c10daa8530 RCON server: Login failure gets sent to the client. 2013-11-24 14:29:15 +01:00
madmaxoft 1f8399fae5 Fixed socket connection startup. 2013-11-24 14:28:51 +01:00
madmaxoft e683c54b49 APIDump: Moved projectiles' documentation to a separate file. 2013-11-24 10:08:04 +01:00
madmaxoft 51b02854f9 APIDump: Removed needless whitespace output. 2013-11-24 10:03:02 +01:00
madmaxoft 38fe16d8b6 APIDump: Removed unwanted functions. 2013-11-23 21:43:38 +01:00
madmaxoft 3ef7f2008f APIDump: Reformatted the sqlite docs. 2013-11-23 21:32:18 +01:00
madmaxoft d9dc241e6f APIDump: The descriptions are read from multiple files.
All the files in the Classes subfolder are read for class descriptions, and in the Hooks subfolder for the hook descriptions.
2013-11-23 21:27:02 +01:00
madmaxoft e662a31094 Fixed Lua bindings for cFile:GetFolderContents(). 2013-11-23 20:26:23 +01:00
madmaxoft 94e14e1ace Added cFile:ReadWholeFile() to Lua API. 2013-11-23 20:26:00 +01:00
madmaxoft 520088fc7c APIDump: Added more constant groups.
Also fixed the parsing of the Include data in the constant groups, and added linkification to group texts.
2013-11-23 19:40:35 +01:00
madmaxoft b8aaf13a12 APIDump: Added a few constant groups to the descriptions. 2013-11-22 22:12:46 +01:00
madmaxoft 7a2170f6b3 APIDump: Implemented constant groups.
Fix #289.
2013-11-22 21:46:06 +01:00
madmaxoft 63753c5e84 Added cFile:GetFolderContents().
Fix 162.
2013-11-22 20:11:24 +01:00
madmaxoft 4fbfe59ea0 APIDump: Fixed cRoot's furnace query API. 2013-11-22 16:52:09 +01:00
madmaxoft 281bf8f90b Added cRoot:GetFurnaceFuelBurnTime() to Lua API. 2013-11-22 16:50:03 +01:00
madmaxoft 14569885e5 Fixed cRoot:GetFurnaceRecipe() Lua binding. 2013-11-22 16:49:38 +01:00
madmaxoft 7fd3fda5d3 APIDump: Documented new cRoot:GetFurnaceRecipe(). 2013-11-22 12:37:55 +01:00
madmaxoft 07a1de8ebb Debuggers: Added a test harness for cRoot:GetFurnaceRecipe().
The "/fr" command lists the furnace recipe for the currently held item.
2013-11-22 12:26:39 +01:00
madmaxoft 3de6f6357f Changed cRoot:GetFurnaceRecipe() Lua binding signature.
Fix #364.
2013-11-22 12:26:06 +01:00
madmaxoft 98be3ca0e4 APIDump: Documented cPlayer XP-related functions. 2013-11-21 22:12:52 +01:00
madmaxoft f92512ebdf Exported static XP calculation to Lua API. 2013-11-21 22:09:11 +01:00
madmaxoft e9a8b96479 APIDump: Documented cWorld:ForEachBlockEntityInChunk() and cWorld:DoWithBlockEntityAt(). 2013-11-20 22:04:16 +01:00
madmaxoft fed37bca4d Debuggers: Test harness for cWorld:ForEachBlockEntityInChunk().
The fill command will fill all empty slots in block entities with containment with gold nuggets, one per slot.
2013-11-20 21:54:37 +01:00
madmaxoft a5c2d639c6 Added cWorld:ForEachBlockEntityInChunk() and cWorld:DoWithBlockEntityAt() functions.
Also exported them to the Lua API.
2013-11-20 21:53:29 +01:00
madmaxoft 1797b5b8fe Ignoring SDF files. 2013-11-20 21:11:07 +01:00
madmaxoft ba438ccd8a Removed the bloody sdf file. 2013-11-20 21:09:41 +01:00
Mattes D 0bad762352 Merge pull request #360 from mc-server/redstonefixes
Fixed piston sound effect (when unable to extend)
2013-11-20 11:55:03 -08:00
Mattes D ced076c561 Merge pull request #350 from mc-server/arrows
Fixed arrow bugs
2013-11-19 01:13:49 -08:00
Mattes D 208f2397f4 Merge pull request #359 from mc-server/redstone
Redstone Megacommit
2013-11-19 01:12:23 -08:00
madmaxoft 7567f19052 Merge branch 'master' of git://github.com/nesco/MCServer. 2013-11-19 10:01:25 +01:00
madmaxoft e2ea6b59f5 APIDump: Slight performance improvement.
Strings don't need concatenation when using write().
2013-11-19 09:56:36 +01:00
madmaxoft 4844422e06 APIDump: Documented Vector3i. 2013-11-19 06:49:21 +01:00
madmaxoft b5821998b4 Mineshafts: silenced a compiler warning. 2013-11-17 23:29:17 +01:00
madmaxoft 9bc79722c7 APIDump: Documented Vector3f. 2013-11-17 23:27:07 +01:00
Mattes D 5277360098 Merge pull request #345 from mc-server/warningfixes
Fix Some Compiler Warnings
2013-11-17 14:26:53 -08:00
Mattes D d169a1959d Merge pull request #353 from marmot21/playerxp
Playerxp
2013-11-17 14:12:09 -08:00
madmaxoft 1480d6d64d LineBlockTracer: Using the coord-based block faces. 2013-11-16 17:11:32 +01:00
madmaxoft d96f622437 APIDump: Documented lxp, the XML parser class. 2013-11-15 22:39:27 +01:00
madmaxoft 905cd0e73e APIDump: Functions that are documented are never ignored.
This simplifies exclude-filters for functions such as lxp.new() that need inclusion.
2013-11-15 22:39:02 +01:00
madmaxoft 2ed8e38419 APIDump: Small fixes and additions. 2013-11-15 13:44:07 +01:00
madmaxoft 26d3dd3466 APIDump: Documented cSignEntity. 2013-11-15 13:34:20 +01:00
madmaxoft 7586e832bf APIDump: Documented cNoteEntity. 2013-11-15 13:10:36 +01:00
madmaxoft 194aa1decb APIDump: Documented the cJukeboxEntity. 2013-11-15 12:42:35 +01:00
madmaxoft 4f2645d0e5 APIDump: Documented cChunkDesc:GetBlockEntity(). 2013-11-15 11:34:43 +01:00
madmaxoft ee1ac65e54 cChunkDesc::GetBlockEntity() re-creates block entity when blocktype doesn't match. 2013-11-15 11:33:24 +01:00
madmaxoft 5eb67dbdfc Debuggers: Removed the old OnChunkGenerated code testing the cBlockArea writing. 2013-11-15 11:28:11 +01:00
madmaxoft 49d6afd501 Removed cBlockEntity:CreateByBlockType() from the Lua API.
Plugins cannot be allowed to create block entities, that would result in memory leaks.
2013-11-15 10:15:27 +01:00
madmaxoft 90fc51c4d0 cRoot::SaveAllChunks() doesn't wait for the save (deadlocks).
Rather, it only queues the save task onto each world's tick thread.
2013-11-15 10:13:32 +01:00
madmaxoft 6e5d7b70a1 APIDump: Removed the BlockEntity constructors' docs. 2013-11-15 10:09:54 +01:00
madmaxoft 9048a3b66d Re-added rose to items.ini. 2013-11-15 09:56:07 +01:00