summaryrefslogtreecommitdiffstats
path: root/source/Bindings.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return valuesmadmaxoft@gmail.com2013-06-121-1/+1
* Fixed previous commit.nielsbreu@gmail.com2013-06-091-1/+1
* Added SetTicksUntilWeatherChange/GetTicksUntilWeatherChange. to set/get the amount of ticks before the weather changes. Added SendBlockChange to Lua to create "fake" blocksnielsbreu@gmail.com2013-06-091-1/+1
* Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlersmadmaxoft@gmail.com2013-06-041-1/+1
* Added cItem copy-constructor to Lua API, made cItem::IsEqual() and IsStackable() enchantment-awaremadmaxoft@gmail.com2013-06-041-1/+1
* Added the possibility to specify enchantments by name in the constructor and AddFromString() functionmadmaxoft@gmail.com2013-06-021-1/+1
* Enchantments: API and sending to clientmadmaxoft@gmail.com2013-06-021-1/+1
* cItem constructor changed to create single-piece items when not given countmadmaxoft@gmail.com2013-06-011-1/+1
* LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com2013-05-301-1/+1
* Moved BlockEntities to a separate foldermadmaxoft@gmail.com2013-05-281-1/+1
* Chunk / ChunkMap: Added support for unbounded querying blocktype-only or blockmeta-onlymadmaxoft@gmail.com2013-05-281-1/+1
* Fixed cItemGrid API, no more changeable GetSlot().madmaxoft@gmail.com2013-05-261-1/+1
* Block entities with storage now correctly mark the chunk as dirty when their contents change.madmaxoft@gmail.com2013-05-261-1/+1
* Implemented droppersmadmaxoft@gmail.com2013-05-261-1/+1
* Added all new bindings, refactored Debuggers; new Debuggers function.madmaxoft@gmail.com2013-05-251-1/+1
* Slight cleanup in the cInventory / cItemGrid APImadmaxoft@gmail.com2013-05-241-1/+1
* Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com2013-05-241-1/+1
* Fixed linking error from rev 1498madmaxoft@gmail.com2013-05-211-1/+1
* Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com2013-05-191-1/+1
* cItems: Added runtime bounds-checking to avoid server crashes with badly written plugins.madmaxoft@gmail.com2013-05-121-5/+1
* function SpawnItemPickups is now exported to Lua. Lua is able to create a Items object.nielsbreu@gmail.com2013-05-091-0/+4
* Refactored window clicking code to use different click actionsmadmaxoft@gmail.com2013-05-081-1/+1
* Added dtAdmin damage type for use in pluginsmadmaxoft@gmail.com2013-04-281-1/+1
* Initial implementation of explosions and TNT blockkeyboard.osh@gmail.com2013-04-181-1/+1
* Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com2013-04-131-1/+1
* Fixed a bit of coding style and function names in cItemmadmaxoft@gmail.com2013-04-111-1/+1
* Dispensers rewritten to use ItemGridmadmaxoft@gmail.com2013-04-101-1/+1
* ItemGrid: Renamed all Item to Slot - better and consistent namingmadmaxoft@gmail.com2013-04-101-1/+1
* Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.madmaxoft@gmail.com2013-04-101-1/+1
* Mineshafts: Added random loot to generated chests and fixed chest directionmadmaxoft@gmail.com2013-04-061-1/+1
* MineShafts: Added tracks to corridorsmadmaxoft@gmail.com2013-03-311-1/+1
* cChunkDesc: Added the RandomFillRelCuboid() functionmadmaxoft@gmail.com2013-03-311-1/+1
* cCuboid: Added the IsCompletelyInside() functionmadmaxoft@gmail.com2013-03-311-1/+1
* Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid()madmaxoft@gmail.com2013-03-311-1/+1
* ChunkDesc: Extended the interface, RelCuboid functions now take either a cCuboid or a set of 6 coords.madmaxoft@gmail.com2013-03-301-1/+1
* ChunkDesc: Cuboid-based manipulationmadmaxoft@gmail.com2013-03-291-1/+1
* Cuboid: Added DoesIntersect(), more IsInside() and more constructorsmadmaxoft@gmail.com2013-03-291-1/+1
* Cuboid: Added the DifX/Y/Z functionsmadmaxoft@gmail.com2013-03-291-1/+1
* BlockArea: Implemented mirroring without meta manipulationmadmaxoft@gmail.com2013-03-251-1/+1
* Updated bindings for new cChunkDesc functionsmadmaxoft@gmail.com2013-03-191-1/+1
* Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging)madmaxoft@gmail.com2013-03-171-1/+1
* Added water and lava springs.madmaxoft@gmail.com2013-03-141-1/+1
* Pickups are now being saved into Anvil.madmaxoft@gmail.com2013-03-091-1/+1
* IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com2013-03-051-1/+1
* Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com2013-03-031-1/+1
* Added missing item types, fixed placing stone walls.madmaxoft@gmail.com2013-03-031-1/+1
* Updated cEntity API; removed functions that are unusable from Lua, added a few query functions.madmaxoft@gmail.com2013-03-011-1/+1
* Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com2013-02-211-1/+1
* Added HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands.madmaxoft@gmail.com2013-02-211-1/+1
* Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com2013-02-161-1/+1
* Plugins can now bind console commandsmadmaxoft@gmail.com2013-02-151-1/+1
* Exported forgotten API functions in cPluginManager: ExecuteCommand(), ForceExecuteCommand()madmaxoft@gmail.com2013-02-131-1/+1
* Added HOOK_WEATHER_CHANGING.madmaxoft@gmail.com2013-02-131-1/+1
* More API functions in cBlockArea: Create(), Fill(), FillRelArea()madmaxoft@gmail.com2013-02-111-1/+1
* Added cBlockArea:Merge() API function to merge two block areas using different strategies.madmaxoft@gmail.com2013-02-101-1/+1
* Added cBlockArea:Expand() API function (untested)madmaxoft@gmail.com2013-02-091-1/+1
* cChunkDesc can now read and write cBlockAreas.madmaxoft@gmail.com2013-02-081-1/+1
* Prepared cChunkDesc for further API extension; used it as the sole container for generated chunk data, including entities / block entities.madmaxoft@gmail.com2013-02-081-1/+1
* Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily.madmaxoft@gmail.com2013-02-071-1/+1
* cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com2013-02-071-1/+1
* cBlockArea can now be loaded from a .schematic file.madmaxoft@gmail.com2013-02-061-1/+1
* Added a new API call to cBlockArea: Crop().madmaxoft@gmail.com2013-02-061-1/+1
* Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.madmaxoft@gmail.com2013-02-051-1/+1
* Moved command API into cPluginManager.madmaxoft@gmail.com2013-02-011-1/+1
* Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions.madmaxoft@gmail.com2013-01-281-1/+1
* Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming.madmaxoft@gmail.com2013-01-281-1/+1
* Added cItems to Lua API.madmaxoft@gmail.com2013-01-271-1/+1
* Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups.madmaxoft@gmail.com2013-01-271-1/+1
* Removed cMCLogger from Lua APImadmaxoft@gmail.com2013-01-271-1/+1
* Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names.madmaxoft@gmail.com2013-01-261-1/+1
* Merged the usable portion of the "gens" branch.madmaxoft@gmail.com2013-01-251-1/+1
* Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK.madmaxoft@gmail.com2013-01-181-1/+1
* Fixed missing bindings in cPluginmadmaxoft@gmail.com2013-01-141-1/+1
* Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com2013-01-121-1/+1
* cBlockArea now has a GetBlockTypeMeta() and GetRelBlockTypeMeta() methodsmadmaxoft@gmail.com2013-01-041-1/+1
* cPickup now uses full cItem, instead of a pointermadmaxoft@gmail.com2012-12-281-1/+1
* MTRand 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.com2012-12-221-1/+1
* Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.madmaxoft@gmail.com2012-12-211-1/+1
* Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com2012-12-211-1/+1
* Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com2012-12-211-1/+1
* Added primary server version interface to cRoot and "primaryserverversion" console command.madmaxoft@gmail.com2012-11-201-1/+1
* Cleanup: Removed deprecated functions from Lua APImadmaxoft@gmail.com2012-11-111-1/+1
* Hopefully a fix for crash when chunks are added to a client being destroyed.madmaxoft@gmail.com2012-11-111-1/+1
* Refactored the world time.madmaxoft@gmail.com2012-11-011-1/+1
* Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct versionmadmaxoft@gmail.com2012-10-311-1/+1
* Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua APImadmaxoft@gmail.com2012-10-281-1/+1
* Double chests are now working, and with sound. (FS #69)madmaxoft@gmail.com2012-10-201-1/+1
* Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block.madmaxoft@gmail.com2012-10-201-1/+1
* Converted some const char*s and std::strings to AStringsfaketruth2012-10-181-1/+1
* Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)faketruth2012-10-141-1/+1
* Added delayed ticking to Lua APImadmaxoft@gmail.com2012-10-131-1/+1
* BlockArea writing support (BlockTypes with BlockMeta only)madmaxoft@gmail.com2012-10-061-1/+1
* Moved blockticking into blockhandler classes.madmaxoft@gmail.com2012-10-031-1/+1
* Added BLOCK_FACE_NONE into the plugin APImadmaxoft@gmail.com2012-10-031-1/+1
* Fixed Lua bindings for file renaming in previous commitsmadmaxoft@gmail.com2012-09-241-1/+1
* Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com2012-09-231-1/+1
* Source files cleanup: Removed unused cBlockToPickupmadmaxoft@gmail.com2012-09-231-1/+1
* Added cPlugin_NewLua::GetLocalDirectory() and exported it to Lua so plugins can store their settings in their own folder.faketruth2012-09-081-1/+1
* Added the ItemToString() and ItemTypeToString() functions.madmaxoft@gmail.com2012-09-081-1/+1
* ToLua does not like the override keyword :(faketruth2012-09-021-1/+1
* Exported cWorld::DoWithChestAt to Luafaketruth2012-09-021-1/+1
* Added 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.com2012-09-011-1/+1
* Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.madmaxoft@gmail.com2012-08-291-1/+1
* Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com2012-08-271-1/+1
* cSocket doesn't use cPackets.madmaxoft@gmail.com2012-08-251-1/+1
* cPickup doesn't use cPackets.madmaxoft@gmail.com2012-08-241-1/+1
* Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com2012-08-241-1/+1
* Added plugin name to deprecation messagesmadmaxoft@gmail.com2012-08-231-1/+1
* WebAdmin should not cause crashes anymorefaketruth2012-08-221-1/+1
* Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com2012-08-191-1/+1
* Another handful of packets rewritten.madmaxoft@gmail.com2012-08-191-1/+1
* Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com2012-08-181-1/+1
* Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com2012-08-181-1/+1
* Updated Bindings to match the new armor categories and torch metasmadmaxoft@gmail.com2012-08-111-1/+1
* Fixed a crash in creative inventory (FS 235, patch submitted by l0udPL)madmaxoft@gmail.com2012-08-101-1/+1
* Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com2012-08-031-1/+1
* Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup.madmaxoft@gmail.com2012-07-291-1/+1
* A new Block handling system :olapayo94@gmail.com2012-07-151-1/+1
* Removed the deprecated confusing E_BLOCK_WOODmadmaxoft@gmail.com2012-07-151-1/+1
* Improved Squirrel Bindingslapayo94@gmail.com2012-07-091-1/+1
* Squirrel Pluginslapayo94@gmail.com2012-07-081-1/+1
* BLOCKTYPE and NIBBLETYPE are finally exported in Lua API as numbers, not usertypesmadmaxoft@gmail.com2012-07-021-1/+1
* cBlockArea object added (with only minimal testing so far)madmaxoft@gmail.com2012-07-021-1/+1
* Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function.madmaxoft@gmail.com2012-07-021-1/+1
* Removed json-related methods from Lua APImadmaxoft@gmail.com2012-06-191-1/+1
* Removed the deprecated GetBlockEntity(), added several enumerators to replace it.madmaxoft@gmail.com2012-06-171-1/+1
* Fixed lighting for cake, fence, fence gates, glass pane, iron bars, iron door and wooden doormadmaxoft@gmail.com2012-06-161-1/+1
* Added 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.com2012-06-161-1/+1
* Lua binding for cVine fixedcedeel@gmail.com2012-06-161-1/+1
* Rewritten ForEach using #define-s, new ones can be added as a simple one-linermadmaxoft@gmail.com2012-06-151-1/+1
* Renamed HOOK_WEATHER_CHANGE to HOOK_WEATHER_CHANGED, added the glue code for it to actually workmadmaxoft@gmail.com2012-06-141-1/+1
* Added a world parameter to HOOK_CHUNK_GENERATING.madmaxoft@gmail.com2012-06-141-1/+1
* Attempt to bring sanity to newlines across systems.cedeel@gmail.com2012-06-141-8/+8
* Added HOOK_WEATHER_CHANGE.cedeel@gmail.com2012-06-141-1/+1
* Exported the ItemCategory functions and added a IsTool() function to it, for easy checking whether an item is a toolfaketruth2012-06-131-1/+1
* Added a BlockToPickup hook for modifying pickups when a player breaks a block.madmaxoft@gmail.com2012-06-131-1/+1
* I think the chunk generation hooks for Lua are pretty good now, though it might still need some tweakingfaketruth2012-06-131-1/+1
* Revamped the weather system.cedeel@gmail.com2012-06-131-1/+1
* Added working crafting hooks HOOK_PRE_CRAFTING, HOOK_CRAFTING_NO_RECIPE and HOOK_POST_CRAFTINGmadmaxoft@gmail.com2012-06-121-1/+1
* Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.madmaxoft@gmail.com2012-06-121-1/+1
* Added implementation of E_PLUGIN_CHUNK_GENERATING lua hookfaketruth2012-06-111-1/+1
* New IniFile functionality: read value and set default if it isn't present (GetValueSet() ); used by cWorldmadmaxoft@gmail.com2012-06-091-1/+1
* Sugarcane and cactus max height can be set in world.ini.madmaxoft@gmail.com2012-06-091-1/+1
* Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC.madmaxoft@gmail.com2012-06-091-1/+1
* Cacti grow by themselves and by bonemealmadmaxoft@gmail.com2012-06-091-1/+1
* Configurable classic composition generatorcedeel@gmail.com2012-06-081-1/+1
* Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too.madmaxoft@gmail.com2012-06-071-1/+1
* Item-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.com2012-06-061-1/+1
* New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld)madmaxoft@gmail.com2012-06-051-1/+1
* Added 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.com2012-06-041-8/+8
* Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project filescedeel@gmail.com2012-06-041-8/+8
* Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua)madmaxoft@gmail.com2012-06-021-1/+1
* cWorld::UnloadUnusedChunks() exported to Luamadmaxoft@gmail.com2012-05-311-1/+1
* Added support for SetNextBlockTick() function callable from Luamadmaxoft@gmail.com2012-05-301-1/+1
* Lua plugins can now query the world for various queue sizes ( http://forum.mc-server.org/showthread.php?tid=432 )madmaxoft@gmail.com2012-05-301-1/+1
* Added wool and netherrack block IDsmadmaxoft@gmail.com2012-05-271-1/+1
* Merged the composable_generator branch into the trunkmadmaxoft@gmail.com2012-05-251-1/+1
* A globally-accessible OS-independent GetDirectoryContents() function for listing all objects in a folder as an AStringListmadmaxoft@gmail.com2012-03-251-1/+1
* Reverted the previous commit - it is useless, since entities still depend heavily on cWorldmadmaxoft@gmail.com2012-03-241-1/+1
* Encapsulated 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.com2012-03-231-1/+1
* Exposed a function to Lua to get a block's sky light valuefaketruth2012-03-161-1/+1
* cClientHandles have a unique ID now to distinguish themfaketruth2012-03-091-1/+1
* Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth2012-03-071-1/+1
* Changed signed char to unsigned char in block packets, so we can receive height up to 255faketruth2012-03-041-1/+1
* Started carefully moving to 1.2.2faketruth2012-03-011-1/+1
* Lua seems to have trouble with a combination of overloaded functions and class inheritance, so I renamed TeleportTo( cEntity* ) to TeleportToEntityfaketruth2012-02-221-1/+1
* Got rid of dangerous GetEntity(), not using DoWithEntity()faketruth2012-02-161-1/+1
* No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth2012-02-151-1/+1
* Rewritten 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.com2012-02-131-1/+1
* MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core)madmaxoft@gmail.com2012-02-081-1/+1
* tolua: 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.com2012-02-021-1/+1
* Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com2012-02-011-1/+1
* Added all current hooks to the new plugin structure.faketruth2012-02-011-1/+1
* Plugins can now be enabled and disabled through WebAdminfaketruth2012-02-011-1/+1
* Changed how Lua handles the (Post)Params in the HTTPRequest of a WebPluginfaketruth2012-01-311-1/+1
* Can now receive POST data in WebPlugins!faketruth2012-01-311-1/+1
* Added a WebAdmin interface to view users their groups, and the permissions of groups.faketruth2012-01-301-1/+1
* Converted entire Core plugin including WebAdmin interface to new plugin method/system/thingy and sexyfied it.faketruth2012-01-281-1/+1
* Working on a new plugin design with Lua. While retaining backwards compatibility of course...faketruth2012-01-261-1/+1
* Improved Core's WebAmin interface a bit.faketruth2012-01-221-1/+1
* CreativeInventory Updatelapayo94@gmail.com2012-01-011-1/+1
* Fixed the numchunks console command.faketruth2012-01-011-1/+1
* - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory)lapayo94@gmail.com2012-01-011-1/+1
* - Implemented Drops from Burning animalslapayo94@gmail.com2011-12-281-1/+1
* Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth2011-12-261-1/+1
* Can now set gamemode via lua.admin@omencraft.com2011-11-101-1/+1
* Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work.admin@omencraft.com2011-11-101-1/+1
* Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings.admin@omencraft.com2011-11-101-1/+1
* Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState)admin@omencraft.com2011-11-091-1/+1
* It's a Squirrel!!faketruth2011-11-081-1/+1
* You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth2011-11-011-1/+1
* Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth2011-10-311-1/+1
* MCServer c++ source filesfaketruth2011-10-031-0/+8