summaryrefslogtreecommitdiffstats
path: root/source/Bindings.h (unfollow)
Commit message (Expand)AuthorFilesLines
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