summaryrefslogtreecommitdiffstats
path: root/source/Bindings.h (unfollow)
Commit message (Expand)AuthorFilesLines
2013-11-10Added cItem::GetMaxStackSize()madmaxoft1-1/+1
2013-11-09Removed cStringMap.madmaxoft1-8/+8
2013-11-03Added cEntity:GetYaw() and cEntity:SetYaw().madmaxoft1-1/+1
2013-10-28Renamed cWindow constants to include the "wt" prefix.madmaxoft1-1/+1
2013-10-25cIniFile: Renamed functions to make meaning more explicit.madmaxoft1-1/+1
2013-10-25cIniFile doesn't store filename internally anymore.madmaxoft1-1/+1
2013-10-24Renamed cMonster::GetSpawnRate() to GetSpawnDelay().madmaxoft1-1/+1
2013-10-23Fixed cLuaWindow's binding.madmaxoft1-1/+1
2013-10-23Fixed bindings for cHopperEntity:GetOutputBlockPos().madmaxoft1-1/+1
2013-10-23Fixed cDropSpenserEntity bindings generating an extra var.madmaxoft1-1/+1
2013-10-23Exported cHopperEntity to API.madmaxoft1-1/+1
2013-10-23Removed cRoot:m_PrimaryServerVersion from Lua API.madmaxoft1-1/+1
2013-10-21Fixed GetHTMLEscapedString() binding, removed obsolete memory function from API.madmaxoft1-1/+1
2013-10-20Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster.madmaxoft1-1/+1
2013-10-20Moved all MobTypesManager functions to cMonster.madmaxoft1-1/+1
2013-10-20Fixed loading allowed mobs in world.madmaxoft1-1/+1
2013-10-11Added GetIniItemSet() function.madmaxoft1-1/+1
2013-10-09Moved cMakeDir::MakeDir to cFile::CreateFolder.madmaxoft1-1/+1
2013-10-09Added static cFile functions to Lua API.madmaxoft1-1/+1
2013-10-08Implemented the two memory-statistics functions in cRoot.madmaxoft1-1/+1
2013-10-08Cleaned up cEntity's enums.madmaxoft1-1/+1
2013-10-05WebAdmin uses the new HTTP functionality.madmaxoft1-1/+1
2013-10-04Added cWorld::IsWeatherXXX() functionsmadmaxoft1-1/+1
2013-09-25Removed cChunkDesc::SetChunkCoords() from Lua API.madmaxoft1-1/+1
2013-09-21Implemented cWebAdmin:GetMemoryUsage() on Linux proper.madmaxoft1-1/+1
2013-09-18Added cPlugin:GetLocalFolder() API function.madmaxoft1-1/+1
2013-09-16Exported cMonster:GetMobType() to the Lua API.madmaxoft1-1/+1
2013-09-16Removed cWorld:SaveAllChunks() from the API.madmaxoft1-1/+1
2013-09-16cWorld:QueueTickBlock takes the delay in ticks.madmaxoft1-1/+1
2013-09-15Fixed previous commitmadmaxoft1-1/+1
2013-09-15Removed obsoleted cWorld functions from the API:madmaxoft1-1/+1
2013-09-15Fixed API bindings of cWorld:GetSignLines(), exported cWorld:UseBlockEntity().madmaxoft1-1/+1
2013-09-15Updated the bindings again.madmaxoft1-1/+1
2013-09-15Fixed cWorld bindings for GetBlockInfo() and GetBlockTypeMeta().madmaxoft1-1/+1
2013-09-15Updated the automatic bindings.madmaxoft1-1/+1
2013-09-07Updated the API bindings.madmaxoft1-1/+1
2013-09-03Added cEntity's gravity to the Lua API.madmaxoft1-1/+1
2013-09-03Added cArrowEntity's criticalness to the API.madmaxoft1-1/+1
2013-09-01Added line collision calculation to cBoundingBox.madmaxoft1-1/+1
2013-09-01Exported BroadcastSoundEffect and BroadcastSoundParticleEffect to the Lua APISTRWarrior1-8/+8
2013-09-01Added the cBoundingBox class.madmaxoft1-1/+1
2013-08-30Basic support for thrown items - eggs, snowballs and ender pearls.madmaxoft1-1/+1
2013-08-30Moved throw pos and speed calculation from cProjectileEntity into cPlayer.madmaxoft1-1/+1
2013-08-27Added g_BlockIsXXX[] arrays to the API.madmaxoft1-1/+1
2013-08-25Added a few API accessors to cArrowEntity.madmaxoft1-1/+1
2013-08-22Added skeleton code for projectile spawning.madmaxoft1-1/+1
2013-08-21Hook adding uses the new API.madmaxoft1-1/+1
2013-08-21Added cWorld:GetIniFileName() to the Lua API.madmaxoft1-1/+1
2013-08-19Added cPickup:IsCollected() to the Lua API.madmaxoft1-1/+1
2013-08-19Added cPickup:GetAge() the the Lua API.madmaxoft1-1/+1
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-19Finished renaming cPlugin_NewLua to cPluginLua.madmaxoft1-1/+1
2013-08-18Implemented cWorld:QueueSetBlock(), as requested for delayed blocksetting.madmaxoft1-1/+1
2013-08-18Added cWindow property manipulation API.madmaxoft1-1/+1
2013-08-18Disabled Lua virtual hooks.madmaxoft1-1/+1
2013-08-17Added cRoot:BroadcastChat() to the Lua API.madmaxoft1-1/+1
2013-08-16Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX.madmaxoft1-1/+1
2013-08-15Exported cWorld:DoExplosionAt() to Lua API.madmaxoft1-1/+1
2013-08-14Fixed wrong names for some metas.madmaxoft1-1/+1
2013-08-14Player counts are now properly handled.madmaxoft1-1/+1
2013-08-13Exported cWorld:BroadcastChat() to the Lua API; used in the Core.madmaxoft1-1/+1
2013-08-13Clients are now ticked in cServer first, then in cWorld once they get assigned a world.madmaxoft1-1/+1
2013-08-12Added quartz stairs.STRWarrior1-8/+8
2013-08-12Removed cServer::BroadcastChat() and cServer::SendMessage().madmaxoft1-1/+1
2013-08-11Added cWorld:QueueSaveAllChunks() function for saving chunks asynchronously.madmaxoft1-1/+1
2013-08-11Moved MaxPlayers and Description from cWorld to cServer.madmaxoft1-1/+1
2013-08-11Added the OnHopperPullingItem and OnHopperPushingItem hooks.madmaxoft1-1/+1
2013-08-09Added OnExploding() and OnExploded() hooks.madmaxoft1-1/+1
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-1/+1
2013-08-07Added cLineBlockTracer to the APImadmaxoft1-1/+1
2013-08-02Implemented OnPlayerRightClickingEntity() hookmadmaxoft1-1/+1
2013-07-29Updated the nightbuild script for Gitmadmaxoft1-1/+1
2013-07-29WebAdmin: Removed the duplicate memory usage queryingmadmaxoft1-1/+1
2013-07-29Updated the automatic Lua bindingsmadmaxoft1-1/+1
2013-07-29WebAdmin templates can use LuaFakeTruth1-1/+1
2013-07-28Player eating is now properly broadcast to other players.madmaxoft1-1/+1
2013-07-26cInventory: Added the ChangeSlotCount() function to the Lua APImadmaxoft@gmail.com1-1/+1
2013-07-12Added a StringToMobType() function to the Lua API (patch contributed by STR_Warrior)madmaxoft@gmail.com1-1/+1
2013-07-12First implementation of movement-related hunger and APImadmaxoft@gmail.com1-1/+1
2013-07-07Added StringUtils functions to Lua API; added StripColorCodes(); ChatLog now strips color codes from logged messages.madmaxoft@gmail.com1-1/+1
2013-07-07Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes.madmaxoft@gmail.com1-1/+1
2013-07-01Added DamageType translation to APImadmaxoft@gmail.com1-1/+1
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-1/+1
2013-06-29Advanced RCON: Command output is sent to the RCON client.madmaxoft@gmail.com1-1/+1
2013-06-22Added the End height and composition generators.madmaxoft@gmail.com1-1/+1
2013-06-21Dispensers dispense primed TNTmadmaxoft@gmail.com1-1/+1
2013-06-21Simulators are woken up after an explosion.madmaxoft@gmail.com1-1/+1
2013-06-20Furnaces light up visually when they're cookingmadmaxoft@gmail.com1-1/+1
2013-06-18Added the API for spawning primed TNTsmadmaxoft@gmail.com1-1/+1
2013-06-16Rewritten furnacesmadmaxoft@gmail.com1-1/+1
2013-06-15Entity: Added IsTNTnielsbreu@gmail.com1-1/+1
2013-06-13cItemGrid: Added IsSlotEmpty() functionsmadmaxoft@gmail.com1-1/+1
2013-06-12ChestEntity: fixed bindingsmadmaxoft@gmail.com1-1/+1
2013-06-12Implemented the Hopper block handlermadmaxoft@gmail.com1-1/+1
2013-06-12Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return valuesmadmaxoft@gmail.com1-1/+1
2013-06-09Fixed previous commit.nielsbreu@gmail.com1-1/+1
2013-06-09Added SetTicksUntilWeatherChange/GetTicksUntilWeatherChange. to set/get the amount of ticks before the weather changes. Added SendBlockChange to Lua to create "fake" blocksnielsbreu@gmail.com1-1/+1
2013-06-04Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlersmadmaxoft@gmail.com1-1/+1
2013-06-04Added cItem copy-constructor to Lua API, made cItem::IsEqual() and IsStackable() enchantment-awaremadmaxoft@gmail.com1-1/+1
2013-06-02Added the possibility to specify enchantments by name in the constructor and AddFromString() functionmadmaxoft@gmail.com1-1/+1
2013-06-02Enchantments: API and sending to clientmadmaxoft@gmail.com1-1/+1
2013-06-01cItem constructor changed to create single-piece items when not given countmadmaxoft@gmail.com1-1/+1
2013-05-30LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com1-1/+1
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com1-1/+1
2013-05-28Chunk / ChunkMap: Added support for unbounded querying blocktype-only or blockmeta-onlymadmaxoft@gmail.com1-1/+1
2013-05-26Fixed cItemGrid API, no more changeable GetSlot().madmaxoft@gmail.com1-1/+1
2013-05-26Block entities with storage now correctly mark the chunk as dirty when their contents change.madmaxoft@gmail.com1-1/+1
2013-05-26Implemented droppersmadmaxoft@gmail.com1-1/+1
2013-05-25Added all new bindings, refactored Debuggers; new Debuggers function.madmaxoft@gmail.com1-1/+1
2013-05-24Slight cleanup in the cInventory / cItemGrid APImadmaxoft@gmail.com1-1/+1
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-1/+1
2013-05-21Fixed linking error from rev 1498madmaxoft@gmail.com1-1/+1
2013-05-19Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com1-1/+1
2013-05-12cItems: Added runtime bounds-checking to avoid server crashes with badly written plugins.madmaxoft@gmail.com1-5/+1
2013-05-09function SpawnItemPickups is now exported to Lua. Lua is able to create a Items object.nielsbreu@gmail.com1-0/+4
2013-05-08Refactored window clicking code to use different click actionsmadmaxoft@gmail.com1-1/+1
2013-04-28Added dtAdmin damage type for use in pluginsmadmaxoft@gmail.com1-1/+1
2013-04-18Initial implementation of explosions and TNT blockkeyboard.osh@gmail.com1-1/+1
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-1/+1
2013-04-11Fixed a bit of coding style and function names in cItemmadmaxoft@gmail.com1-1/+1
2013-04-10Dispensers rewritten to use ItemGridmadmaxoft@gmail.com1-1/+1
2013-04-10ItemGrid: Renamed all Item to Slot - better and consistent namingmadmaxoft@gmail.com1-1/+1
2013-04-10Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.madmaxoft@gmail.com1-1/+1
2013-04-06Mineshafts: Added random loot to generated chests and fixed chest directionmadmaxoft@gmail.com1-1/+1
2013-03-31MineShafts: Added tracks to corridorsmadmaxoft@gmail.com1-1/+1
2013-03-31cChunkDesc: Added the RandomFillRelCuboid() functionmadmaxoft@gmail.com1-1/+1
2013-03-31cCuboid: Added the IsCompletelyInside() functionmadmaxoft@gmail.com1-1/+1
2013-03-31Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid()madmaxoft@gmail.com1-1/+1
2013-03-30ChunkDesc: Extended the interface, RelCuboid functions now take either a cCuboid or a set of 6 coords.madmaxoft@gmail.com1-1/+1
2013-03-29ChunkDesc: Cuboid-based manipulationmadmaxoft@gmail.com1-1/+1
2013-03-29Cuboid: Added DoesIntersect(), more IsInside() and more constructorsmadmaxoft@gmail.com1-1/+1
2013-03-29Cuboid: Added the DifX/Y/Z functionsmadmaxoft@gmail.com1-1/+1
2013-03-25BlockArea: Implemented mirroring without meta manipulationmadmaxoft@gmail.com1-1/+1
2013-03-19Updated bindings for new cChunkDesc functionsmadmaxoft@gmail.com1-1/+1
2013-03-17Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging)madmaxoft@gmail.com1-1/+1
2013-03-14Added water and lava springs.madmaxoft@gmail.com1-1/+1
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-1/+1
2013-03-05IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com1-1/+1
2013-03-03Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com1-1/+1
2013-03-03Added missing item types, fixed placing stone walls.madmaxoft@gmail.com1-1/+1
2013-03-01Updated cEntity API; removed functions that are unusable from Lua, added a few query functions.madmaxoft@gmail.com1-1/+1
2013-02-21Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com1-1/+1
2013-02-21Added HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands.madmaxoft@gmail.com1-1/+1
2013-02-16Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com1-1/+1
2013-02-15Plugins can now bind console commandsmadmaxoft@gmail.com1-1/+1
2013-02-13Exported forgotten API functions in cPluginManager: ExecuteCommand(), ForceExecuteCommand()madmaxoft@gmail.com1-1/+1
2013-02-13Added HOOK_WEATHER_CHANGING.madmaxoft@gmail.com1-1/+1
2013-02-11More API functions in cBlockArea: Create(), Fill(), FillRelArea()madmaxoft@gmail.com1-1/+1
2013-02-10Added cBlockArea:Merge() API function to merge two block areas using different strategies.madmaxoft@gmail.com1-1/+1
2013-02-09Added cBlockArea:Expand() API function (untested)madmaxoft@gmail.com1-1/+1
2013-02-08cChunkDesc can now read and write cBlockAreas.madmaxoft@gmail.com1-1/+1
2013-02-08Prepared cChunkDesc for further API extension; used it as the sole container for generated chunk data, including entities / block entities.madmaxoft@gmail.com1-1/+1
2013-02-07Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily.madmaxoft@gmail.com1-1/+1
2013-02-07cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com1-1/+1
2013-02-06cBlockArea can now be loaded from a .schematic file.madmaxoft@gmail.com1-1/+1
2013-02-06Added a new API call to cBlockArea: Crop().madmaxoft@gmail.com1-1/+1
2013-02-05Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.madmaxoft@gmail.com1-1/+1
2013-02-01Moved command API into cPluginManager.madmaxoft@gmail.com1-1/+1
2013-01-28Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions.madmaxoft@gmail.com1-1/+1
2013-01-28Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming.madmaxoft@gmail.com1-1/+1
2013-01-27Added cItems to Lua API.madmaxoft@gmail.com1-1/+1
2013-01-27Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups.madmaxoft@gmail.com1-1/+1
2013-01-27Removed cMCLogger from Lua APImadmaxoft@gmail.com1-1/+1
2013-01-26Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names.madmaxoft@gmail.com1-1/+1
2013-01-25Merged the usable portion of the "gens" branch.madmaxoft@gmail.com1-1/+1
2013-01-18Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK.madmaxoft@gmail.com1-1/+1
2013-01-14Fixed missing bindings in cPluginmadmaxoft@gmail.com1-1/+1
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-1/+1
2013-01-04cBlockArea now has a GetBlockTypeMeta() and GetRelBlockTypeMeta() methodsmadmaxoft@gmail.com1-1/+1
2012-12-28cPickup now uses full cItem, instead of a pointermadmaxoft@gmail.com1-1/+1
2012-12-22MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now)madmaxoft@gmail.com1-1/+1
2012-12-21Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.madmaxoft@gmail.com1-1/+1
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-1/+1
2012-12-21Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com1-1/+1
2012-11-20Added primary server version interface to cRoot and "primaryserverversion" console command.madmaxoft@gmail.com1-1/+1
2012-11-11Cleanup: Removed deprecated functions from Lua APImadmaxoft@gmail.com1-1/+1
2012-11-11Hopefully a fix for crash when chunks are added to a client being destroyed.madmaxoft@gmail.com1-1/+1
2012-11-01Refactored the world time.madmaxoft@gmail.com1-1/+1
2012-10-31Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct versionmadmaxoft@gmail.com1-1/+1
2012-10-28Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua APImadmaxoft@gmail.com1-1/+1
2012-10-20Double chests are now working, and with sound. (FS #69)madmaxoft@gmail.com1-1/+1
2012-10-20Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block.madmaxoft@gmail.com1-1/+1
2012-10-18Converted some const char*s and std::strings to AStringsfaketruth1-1/+1
2012-10-14Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)faketruth1-1/+1
2012-10-13Added delayed ticking to Lua APImadmaxoft@gmail.com1-1/+1
2012-10-06BlockArea writing support (BlockTypes with BlockMeta only)madmaxoft@gmail.com1-1/+1
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-1/+1
2012-10-03Added BLOCK_FACE_NONE into the plugin APImadmaxoft@gmail.com1-1/+1
2012-09-24Fixed Lua bindings for file renaming in previous commitsmadmaxoft@gmail.com1-1/+1
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-1/+1
2012-09-23Source files cleanup: Removed unused cBlockToPickupmadmaxoft@gmail.com1-1/+1
2012-09-08Added cPlugin_NewLua::GetLocalDirectory() and exported it to Lua so plugins can store their settings in their own folder.faketruth1-1/+1
2012-09-08Added the ItemToString() and ItemTypeToString() functions.madmaxoft@gmail.com1-1/+1
2012-09-02ToLua does not like the override keyword :(faketruth1-1/+1
2012-09-02Exported cWorld::DoWithChestAt to Luafaketruth1-1/+1
2012-09-01Added a Player parameter to OnUpdatedSign and OnUpdatingSign Lua callbacks and to the cWorld:UpdateSign method (http://forum.mc-server.org/showthread.php?tid=464&pid=4393#pid4393)madmaxoft@gmail.com1-1/+1
2012-08-29Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.madmaxoft@gmail.com1-1/+1
2012-08-27Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com1-1/+1
2012-08-25cSocket doesn't use cPackets.madmaxoft@gmail.com1-1/+1
2012-08-24cPickup doesn't use cPackets.madmaxoft@gmail.com1-1/+1
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-1/+1
2012-08-23Added plugin name to deprecation messagesmadmaxoft@gmail.com1-1/+1
2012-08-22WebAdmin should not cause crashes anymorefaketruth1-1/+1
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com1-1/+1
2012-08-19Another handful of packets rewritten.madmaxoft@gmail.com1-1/+1
2012-08-18Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com1-1/+1
2012-08-18Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com1-1/+1
2012-08-11Updated Bindings to match the new armor categories and torch metasmadmaxoft@gmail.com1-1/+1
2012-08-10Fixed a crash in creative inventory (FS 235, patch submitted by l0udPL)madmaxoft@gmail.com1-1/+1
2012-08-03Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com1-1/+1
2012-07-29Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup.madmaxoft@gmail.com1-1/+1
2012-07-15A new Block handling system :olapayo94@gmail.com1-1/+1
2012-07-15Removed the deprecated confusing E_BLOCK_WOODmadmaxoft@gmail.com1-1/+1
2012-07-09Improved Squirrel Bindingslapayo94@gmail.com1-1/+1
2012-07-08Squirrel Pluginslapayo94@gmail.com1-1/+1
2012-07-02BLOCKTYPE and NIBBLETYPE are finally exported in Lua API as numbers, not usertypesmadmaxoft@gmail.com1-1/+1
2012-07-02cBlockArea object added (with only minimal testing so far)madmaxoft@gmail.com1-1/+1
2012-07-02Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function.madmaxoft@gmail.com1-1/+1
2012-06-19Removed json-related methods from Lua APImadmaxoft@gmail.com1-1/+1
2012-06-17Removed the deprecated GetBlockEntity(), added several enumerators to replace it.madmaxoft@gmail.com1-1/+1
2012-06-16Fixed lighting for cake, fence, fence gates, glass pane, iron bars, iron door and wooden doormadmaxoft@gmail.com1-1/+1
2012-06-16Added new hooks: UPDATING_SIGN and UPDATED_SIGN. The first one is capable of changing the sign text by returning the new four lines along with the bool valuemadmaxoft@gmail.com1-1/+1
2012-06-16Lua binding for cVine fixedcedeel@gmail.com1-1/+1
2012-06-15Rewritten ForEach using #define-s, new ones can be added as a simple one-linermadmaxoft@gmail.com1-1/+1
2012-06-14Renamed HOOK_WEATHER_CHANGE to HOOK_WEATHER_CHANGED, added the glue code for it to actually workmadmaxoft@gmail.com1-1/+1
2012-06-14Added a world parameter to HOOK_CHUNK_GENERATING.madmaxoft@gmail.com1-1/+1
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-8/+8
2012-06-14Added HOOK_WEATHER_CHANGE.cedeel@gmail.com1-1/+1
2012-06-13Exported the ItemCategory functions and added a IsTool() function to it, for easy checking whether an item is a toolfaketruth1-1/+1
2012-06-13Added a BlockToPickup hook for modifying pickups when a player breaks a block.madmaxoft@gmail.com1-1/+1
2012-06-13I think the chunk generation hooks for Lua are pretty good now, though it might still need some tweakingfaketruth1-1/+1
2012-06-13Revamped the weather system.cedeel@gmail.com1-1/+1
2012-06-12Added working crafting hooks HOOK_PRE_CRAFTING, HOOK_CRAFTING_NO_RECIPE and HOOK_POST_CRAFTINGmadmaxoft@gmail.com1-1/+1
2012-06-12Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.madmaxoft@gmail.com1-1/+1
2012-06-11Added implementation of E_PLUGIN_CHUNK_GENERATING lua hookfaketruth1-1/+1
2012-06-09New IniFile functionality: read value and set default if it isn't present (GetValueSet() ); used by cWorldmadmaxoft@gmail.com1-1/+1
2012-06-09Sugarcane and cactus max height can be set in world.ini.madmaxoft@gmail.com1-1/+1
2012-06-09Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC.madmaxoft@gmail.com1-1/+1
2012-06-09Cacti grow by themselves and by bonemealmadmaxoft@gmail.com1-1/+1
2012-06-08Configurable classic composition generatorcedeel@gmail.com1-1/+1
2012-06-07Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too.madmaxoft@gmail.com1-1/+1
2012-06-06Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool.madmaxoft@gmail.com1-1/+1
2012-06-05New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld)madmaxoft@gmail.com1-1/+1
2012-06-04Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon.madmaxoft@gmail.com1-8/+8
2012-06-04Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project filescedeel@gmail.com1-8/+8
2012-06-02Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua)madmaxoft@gmail.com1-1/+1
2012-05-31cWorld::UnloadUnusedChunks() exported to Luamadmaxoft@gmail.com1-1/+1
2012-05-30Added support for SetNextBlockTick() function callable from Luamadmaxoft@gmail.com1-1/+1
2012-05-30Lua plugins can now query the world for various queue sizes ( http://forum.mc-server.org/showthread.php?tid=432 )madmaxoft@gmail.com1-1/+1
2012-05-27Added wool and netherrack block IDsmadmaxoft@gmail.com1-1/+1
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-1/+1
2012-03-25A globally-accessible OS-independent GetDirectoryContents() function for listing all objects in a folder as an AStringListmadmaxoft@gmail.com1-1/+1
2012-03-24Reverted the previous commit - it is useless, since entities still depend heavily on cWorldmadmaxoft@gmail.com1-1/+1
2012-03-23Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers)madmaxoft@gmail.com1-1/+1
2012-03-16Exposed a function to Lua to get a block's sky light valuefaketruth1-1/+1
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-1/+1
2012-03-07Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth1-1/+1
2012-03-04Changed signed char to unsigned char in block packets, so we can receive height up to 255faketruth1-1/+1
2012-03-01Started carefully moving to 1.2.2faketruth1-1/+1
2012-02-22Lua seems to have trouble with a combination of overloaded functions and class inheritance, so I renamed TeleportTo( cEntity* ) to TeleportToEntityfaketruth1-1/+1
2012-02-16Got rid of dangerous GetEntity(), not using DoWithEntity()faketruth1-1/+1
2012-02-15No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth1-1/+1
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-1/+1
2012-02-08MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core)madmaxoft@gmail.com1-1/+1
2012-02-02tolua: modified the binding generator to accept AString as a std::string synonym, re-generated Bindings with these settings. Lua callbacks can now safely use AString functions in C++.madmaxoft@gmail.com1-1/+1
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-1/+1
2012-02-01Added all current hooks to the new plugin structure.faketruth1-1/+1
2012-02-01Plugins can now be enabled and disabled through WebAdminfaketruth1-1/+1
2012-01-31Changed how Lua handles the (Post)Params in the HTTPRequest of a WebPluginfaketruth1-1/+1
2012-01-31Can now receive POST data in WebPlugins!faketruth1-1/+1
2012-01-30Added a WebAdmin interface to view users their groups, and the permissions of groups.faketruth1-1/+1
2012-01-28Converted entire Core plugin including WebAdmin interface to new plugin method/system/thingy and sexyfied it.faketruth1-1/+1
2012-01-26Working on a new plugin design with Lua. While retaining backwards compatibility of course...faketruth1-1/+1
2012-01-22Improved Core's WebAmin interface a bit.faketruth1-1/+1
2012-01-01CreativeInventory Updatelapayo94@gmail.com1-1/+1
2012-01-01Fixed the numchunks console command.faketruth1-1/+1
2012-01-01- implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory)lapayo94@gmail.com1-1/+1
2011-12-28- Implemented Drops from Burning animalslapayo94@gmail.com1-1/+1
2011-12-26Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth1-1/+1
2011-11-10Can now set gamemode via lua.admin@omencraft.com1-1/+1
2011-11-10Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work.admin@omencraft.com1-1/+1
2011-11-10Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings.admin@omencraft.com1-1/+1
2011-11-09Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState)admin@omencraft.com1-1/+1
2011-11-08It's a Squirrel!!faketruth1-1/+1
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth1-1/+1
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth1-1/+1
2011-10-03MCServer c++ source filesfaketruth1-0/+8