summaryrefslogtreecommitdiffstats
path: root/source/Bindings.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com2013-04-131-34/+1
* Fixed a bit of coding style and function names in cItemmadmaxoft@gmail.com2013-04-111-17/+17
* Dispensers rewritten to use ItemGridmadmaxoft@gmail.com2013-04-101-1/+44
* ItemGrid: Renamed all Item to Slot - better and consistent namingmadmaxoft@gmail.com2013-04-101-57/+57
* Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.madmaxoft@gmail.com2013-04-101-11/+762
* Mineshafts: Added random loot to generated chests and fixed chest directionmadmaxoft@gmail.com2013-04-061-3/+250
* MineShafts: Added tracks to corridorsmadmaxoft@gmail.com2013-03-311-1/+3
* cChunkDesc: Added the RandomFillRelCuboid() functionmadmaxoft@gmail.com2013-03-311-1/+90
* cCuboid: Added the IsCompletelyInside() functionmadmaxoft@gmail.com2013-03-311-1/+36
* Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid()madmaxoft@gmail.com2013-03-311-1/+126
* ChunkDesc: Extended the interface, RelCuboid functions now take either a cCuboid or a set of 6 coords.madmaxoft@gmail.com2013-03-301-12/+102
* ChunkDesc: Cuboid-based manipulationmadmaxoft@gmail.com2013-03-291-1/+114
* Cuboid: Added DoesIntersect(), more IsInside() and more constructorsmadmaxoft@gmail.com2013-03-291-2/+245
* Cuboid: Added the DifX/Y/Z functionsmadmaxoft@gmail.com2013-03-291-74/+173
* BlockArea: Implemented mirroring without meta manipulationmadmaxoft@gmail.com2013-03-251-3/+729
* Updated bindings for new cChunkDesc functionsmadmaxoft@gmail.com2013-03-191-3/+6
* Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging)madmaxoft@gmail.com2013-03-171-3/+138
* Added water and lava springs.madmaxoft@gmail.com2013-03-141-1/+37
* Pickups are now being saved into Anvil.madmaxoft@gmail.com2013-03-091-15/+83
* IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com2013-03-051-364/+7
* Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com2013-03-031-1/+35
* Added missing item types, fixed placing stone walls.madmaxoft@gmail.com2013-03-031-1/+12
* Updated cEntity API; removed functions that are unusable from Lua, added a few query functions.madmaxoft@gmail.com2013-03-011-175/+453
* Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com2013-02-211-346/+137
* Added HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands.madmaxoft@gmail.com2013-02-211-1/+3
* Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com2013-02-161-139/+15
* Plugins can now bind console commandsmadmaxoft@gmail.com2013-02-151-35/+172
* Exported forgotten API functions in cPluginManager: ExecuteCommand(), ForceExecuteCommand()madmaxoft@gmail.com2013-02-131-1/+77
* Added HOOK_WEATHER_CHANGING.madmaxoft@gmail.com2013-02-131-5/+60
* More API functions in cBlockArea: Create(), Fill(), FillRelArea()madmaxoft@gmail.com2013-02-111-1/+208
* Added cBlockArea:Merge() API function to merge two block areas using different strategies.madmaxoft@gmail.com2013-02-101-3/+48
* Added cBlockArea:Expand() API function (untested)madmaxoft@gmail.com2013-02-091-1/+45
* cChunkDesc can now read and write cBlockAreas.madmaxoft@gmail.com2013-02-081-8/+222
* 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-31/+111
* Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily.madmaxoft@gmail.com2013-02-071-1/+69
* cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com2013-02-071-1/+37
* cBlockArea can now be loaded from a .schematic file.madmaxoft@gmail.com2013-02-061-1/+37
* Added a new API call to cBlockArea: Crop().madmaxoft@gmail.com2013-02-061-2/+46
* Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.madmaxoft@gmail.com2013-02-051-1/+62
* Moved command API into cPluginManager.madmaxoft@gmail.com2013-02-011-135/+69
* Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions.madmaxoft@gmail.com2013-01-281-2/+2
* Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming.madmaxoft@gmail.com2013-01-281-6/+6
* Added cItems to Lua API.madmaxoft@gmail.com2013-01-271-284/+282
* 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/+2
* Removed cMCLogger from Lua APImadmaxoft@gmail.com2013-01-271-153/+7
* Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names.madmaxoft@gmail.com2013-01-261-2/+2
* Merged the usable portion of the "gens" branch.madmaxoft@gmail.com2013-01-251-109/+177
* Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK.madmaxoft@gmail.com2013-01-181-2/+3
* Fixed missing bindings in cPluginmadmaxoft@gmail.com2013-01-141-6/+103
* Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com2013-01-121-3404/+86
* cBlockArea now has a GetBlockTypeMeta() and GetRelBlockTypeMeta() methodsmadmaxoft@gmail.com2013-01-041-1/+89
* cPickup now uses full cItem, instead of a pointermadmaxoft@gmail.com2012-12-281-80/+26
* 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-50/+269
* 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-100/+124
* Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com2012-12-211-39/+157
* Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com2012-12-211-333/+1393
* Added primary server version interface to cRoot and "primaryserverversion" console command.madmaxoft@gmail.com2012-11-201-1/+69
* Cleanup: Removed deprecated functions from Lua APImadmaxoft@gmail.com2012-11-111-103/+1
* Hopefully a fix for crash when chunks are added to a client being destroyed.madmaxoft@gmail.com2012-11-111-4/+4
* Refactored the world time.madmaxoft@gmail.com2012-11-011-17/+183
* Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct versionmadmaxoft@gmail.com2012-10-311-1/+32
* Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua APImadmaxoft@gmail.com2012-10-281-9/+146
* Double chests are now working, and with sound. (FS #69)madmaxoft@gmail.com2012-10-201-36/+3
* Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block.madmaxoft@gmail.com2012-10-201-124/+213
* Converted some const char*s and std::strings to AStringsfaketruth2012-10-181-29/+202
* Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)faketruth2012-10-141-166/+334
* Added delayed ticking to Lua APImadmaxoft@gmail.com2012-10-131-1/+113
* BlockArea writing support (BlockTypes with BlockMeta only)madmaxoft@gmail.com2012-10-061-1/+300
* Moved blockticking into blockhandler classes.madmaxoft@gmail.com2012-10-031-14/+94
* Added BLOCK_FACE_NONE into the plugin APImadmaxoft@gmail.com2012-10-031-1/+46
* Fixed Lua bindings for file renaming in previous commitsmadmaxoft@gmail.com2012-09-241-1/+1
* Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com2012-09-241-28/+28
* Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com2012-09-231-2/+2
* Source files cleanup: Removed unused cBlockToPickupmadmaxoft@gmail.com2012-09-231-5/+35
* Added cPlugin_NewLua::GetLocalDirectory() and exported it to Lua so plugins can store their settings in their own folder.faketruth2012-09-081-1/+34
* Added the ItemToString() and ItemTypeToString() functions.madmaxoft@gmail.com2012-09-081-1/+167
* ToLua does not like the override keyword :(faketruth2012-09-021-44/+12
* Exported cWorld::DoWithChestAt to Luafaketruth2012-09-021-27/+310
* 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-31/+45
* Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.madmaxoft@gmail.com2012-08-291-60/+4
* Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com2012-08-271-2/+2
* cSocket doesn't use cPackets.madmaxoft@gmail.com2012-08-251-5/+5
* cPickup doesn't use cPackets.madmaxoft@gmail.com2012-08-241-35/+36
* Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com2012-08-241-124/+93
* Added plugin name to deprecation messagesmadmaxoft@gmail.com2012-08-231-226/+11
* WebAdmin should not cause crashes anymorefaketruth2012-08-221-67/+131
* Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com2012-08-191-28/+29
* Another handful of packets rewritten.madmaxoft@gmail.com2012-08-191-16/+17
* Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com2012-08-181-29/+33
* Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com2012-08-181-1649/+1019
* Updated Bindings to match the new armor categories and torch metasmadmaxoft@gmail.com2012-08-111-1/+126
* Fixed a crash in creative inventory (FS 235, patch submitted by l0udPL)madmaxoft@gmail.com2012-08-101-20/+24
* Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com2012-08-031-26/+25
* 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-2/+3
* A new Block handling system :olapayo94@gmail.com2012-07-151-45/+9
* Removed the deprecated confusing E_BLOCK_WOODmadmaxoft@gmail.com2012-07-151-2/+2
* Improved Squirrel Bindingslapayo94@gmail.com2012-07-091-1/+1
* BlockArea name change revertedlapayo94@gmail.com2012-07-091-1/+1
* Squirrel Pluginslapayo94@gmail.com2012-07-081-2/+2
* BLOCKTYPE and NIBBLETYPE are finally exported in Lua API as numbers, not usertypesmadmaxoft@gmail.com2012-07-021-1/+29
* cBlockArea object added (with only minimal testing so far)madmaxoft@gmail.com2012-07-021-36/+1007
* Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function.madmaxoft@gmail.com2012-07-021-36/+1
* Removed json-related methods from Lua APImadmaxoft@gmail.com2012-06-191-74/+5
* Removed the deprecated GetBlockEntity(), added several enumerators to replace it.madmaxoft@gmail.com2012-06-171-28/+39
* Fixed lighting for cake, fence, fence gates, glass pane, iron bars, iron door and wooden doormadmaxoft@gmail.com2012-06-161-1/+3
* 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/+299
* Lua binding for cVine fixedcedeel@gmail.com2012-06-161-16/+52
* 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-2/+100
* Added a world parameter to HOOK_CHUNK_GENERATING.madmaxoft@gmail.com2012-06-141-25/+31
* Attempt to bring sanity to newlines across systems.cedeel@gmail.com2012-06-141-21337/+21337
* Added HOOK_WEATHER_CHANGE.cedeel@gmail.com2012-06-141-1/+2
* Exported the ItemCategory functions and added a IsTool() function to it, for easy checking whether an item is a toolfaketruth2012-06-131-1/+184
* Added a BlockToPickup hook for modifying pickups when a player breaks a block.madmaxoft@gmail.com2012-06-131-28/+437
* I think the chunk generation hooks for Lua are pretty good now, though it might still need some tweakingfaketruth2012-06-131-18/+518
* Revamped the weather system.cedeel@gmail.com2012-06-131-3/+35
* Added working crafting hooks HOOK_PRE_CRAFTING, HOOK_CRAFTING_NO_RECIPE and HOOK_POST_CRAFTINGmadmaxoft@gmail.com2012-06-121-10/+359
* Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.madmaxoft@gmail.com2012-06-121-46/+914
* Added implementation of E_PLUGIN_CHUNK_GENERATING lua hookfaketruth2012-06-111-1/+190
* New IniFile functionality: read value and set default if it isn't present (GetValueSet() ); used by cWorldmadmaxoft@gmail.com2012-06-091-26/+225
* Sugarcane and cactus max height can be set in world.ini.madmaxoft@gmail.com2012-06-091-1/+67
* Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC.madmaxoft@gmail.com2012-06-091-3/+5
* Cacti grow by themselves and by bonemealmadmaxoft@gmail.com2012-06-091-5/+6
* Configurable classic composition generatorcedeel@gmail.com2012-06-081-3/+3
* 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/+123
* 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-5/+131
* New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld)madmaxoft@gmail.com2012-06-051-808/+116
* 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-18862/+18980
* Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project filescedeel@gmail.com2012-06-041-18793/+18862
* Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua)madmaxoft@gmail.com2012-06-021-39/+11
* cWorld::UnloadUnusedChunks() exported to Luamadmaxoft@gmail.com2012-05-311-1/+33
* Added support for SetNextBlockTick() function callable from Luamadmaxoft@gmail.com2012-05-301-1/+39
* 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-3/+136
* Added wool and netherrack block IDsmadmaxoft@gmail.com2012-05-271-1/+3
* Merged the composable_generator branch into the trunkmadmaxoft@gmail.com2012-05-251-21/+341
* A globally-accessible OS-independent GetDirectoryContents() function for listing all objects in a folder as an AStringListmadmaxoft@gmail.com2012-03-251-1/+3
* Reverted the previous commit - it is useless, since entities still depend heavily on cWorldmadmaxoft@gmail.com2012-03-241-2/+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/+2
* Exposed a function to Lua to get a block's sky light valuefaketruth2012-03-161-30/+40
* cClientHandles have a unique ID now to distinguish themfaketruth2012-03-091-4/+137
* Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth2012-03-071-13/+169
* Changed signed char to unsigned char in block packets, so we can receive height up to 255faketruth2012-03-041-8/+8
* Started carefully moving to 1.2.2faketruth2012-03-011-63/+92
* Lua seems to have trouble with a combination of overloaded functions and class inheritance, so I renamed TeleportTo( cEntity* ) to TeleportToEntityfaketruth2012-02-221-29/+50
* Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :)madmaxoft@gmail.com2012-02-211-3/+3
* Got rid of dangerous GetEntity(), not using DoWithEntity()faketruth2012-02-161-36/+1
* No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth2012-02-151-25/+25
* 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-102/+80
* 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-3/+3
* 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-27/+28
* 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-24/+25
* Added all current hooks to the new plugin structure.faketruth2012-02-011-112/+684
* Plugins can now be enabled and disabled through WebAdminfaketruth2012-02-011-1/+38
* Changed how Lua handles the (Post)Params in the HTTPRequest of a WebPluginfaketruth2012-01-311-62/+97
* Can now receive POST data in WebPlugins!faketruth2012-01-311-1/+32
* Added a WebAdmin interface to view users their groups, and the permissions of groups.faketruth2012-01-301-3/+34
* VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com2012-01-291-0/+2
* Converted entire Core plugin including WebAdmin interface to new plugin method/system/thingy and sexyfied it.faketruth2012-01-281-77/+472
* Working on a new plugin design with Lua. While retaining backwards compatibility of course...faketruth2012-01-261-18/+319
* Improved Core's WebAmin interface a bit.faketruth2012-01-221-1/+68
* CreativeInventory Updatelapayo94@gmail.com2012-01-011-50/+49
* Fixed the numchunks console command.faketruth2012-01-011-1/+66
* - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory)lapayo94@gmail.com2012-01-011-17/+51
* - Implemented Drops from Burning animalslapayo94@gmail.com2011-12-281-83/+14
* Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth2011-12-261-6/+42
* - Crafting fixed in 1.0.0lapayo94@gmail.com2011-12-211-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-7/+173
* Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings.admin@omencraft.com2011-11-101-1/+106
* Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState)admin@omencraft.com2011-11-091-1/+67
* It's a Squirrel!!faketruth2011-11-081-15/+266
* 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-15/+248
* Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth2011-10-311-26/+202
* Added CreateInventoryAction packet for creative mode. Used cPacketEntityEquipment as template. Forced server into Creative Mode. Can't break blocks yet. Player can stil be damaged in creative mode and dying takes you back to survival mode.admin@omencraft.com2011-10-261-0/+1
* MCServer c++ source filesfaketruth2011-10-031-0/+15468