summaryrefslogtreecommitdiffstats
path: root/src/Bindings (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactored code to use cLuaStateSamuel Barney2015-08-072-34/+29
| | | | Fixes #2377.
* Unified the doxy-comment format.Mattes D2015-07-313-16/+14
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-2911-201/+208
|
* Buttons no longer click on when already on. Buttons now play sound when clicking off.Hax522015-06-241-1/+1
|
* Added basic support for loading village prefabs from files.Mattes D2015-06-201-1/+5
|
* Externalized cPrefabPiecePool self-test.Mattes D2015-06-192-4/+7
|
* LuaState: Added support for config-style usage.Mattes D2015-06-172-36/+196
| | | | | Globals and table values can be queried from the Lua state easily. Use perfect forwarding.
* Added HOOK_KILLEDNounours Heureux2015-06-135-0/+47
|
* Added Build info to the cRoot API.Mattes D2015-06-051-4/+54
|
* Merge pull request #2172 from mc-server/LightingCallbacksMattes D2015-06-011-2/+1
|\ | | | | Made cLightingThread own its callbacks
| * Made cLightingThread own its callbackstycho2015-05-301-2/+1
| |
* | ManualBindings: Fixed DoWithXYZ and ForEachInChunk signatures.Mattes D2015-05-311-4/+6
|/ | | | Fixes forum report http://forum.mc-server.org/showthread.php?tid=1993
* Fix commentstycho2015-05-281-5/+5
|
* Merge branch 'master' into PreventNewWarningstycho2015-05-281-1/+1
|\ | | | | | | | | Conflicts: src/Inventory.cpp
| * Only add default plugins if there are not any pluginsworktycho2015-05-251-1/+1
| | | | | | Fixes #2082
* | Fix commentstycho2015-05-241-1/+1
| |
* | Made -Weverything an error.tycho2015-05-243-4/+9
| |
* | Merge branch 'master' into PreventNewWarningstycho2015-05-231-1/+1
|\|
| * Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch2015-05-231-1/+1
| |
* | Merge branch 'master' into PreventNewWarningstycho2015-05-236-11/+11
|\|
| * TryGetHeight returns a boolAlexander Harkness2015-05-231-1/+1
| | | | | | should fix #2099
| * Renamed hook HOOK_ENTITY_CHANGE_WORLDLukas Pioch2015-05-215-10/+10
| |
* | Make -Werror disabling file onlytycho2015-05-191-0/+4
| | | | | | | | Ad fix a load of warnings
* | Added LuaState support for all integral typestycho2015-05-198-69/+71
|/ | | | All so added error handling for out of range values
* Merge pull request #2019 from mc-server/OverrideArgsAlexander Harkness2015-05-192-25/+24
|\ | | | | Initial Implementation of command line arguments
| * Initial implementation of IniFile overloadingtycho2015-05-162-25/+24
| |
* | Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLDLukas Pioch2015-05-185-0/+94
| | | | | | | | Fixes #1435.
* | Lua: Break into ZBS debugger on API errors.Mattes D2015-05-162-0/+29
|/
* Fixed cPluginManager:ForEachCommand() and ForEachConsoleCommand()Mattes D2015-05-141-93/+54
| | | | | The functions would leak one value on the Lua stack for each enumerated command. Fixes #2017.
* Merge pull request #2006 from mc-server/ManualBindingsWorldMattes D2015-05-147-1217/+1253
|\ | | | | Moved cWorld manual bindings out into a separate file.
| * Moved cWorld manual bindings out into a separate file.Mattes D2015-05-137-1217/+1253
| |
* | All in-game commands go through the OnExecuteCommand hook.Mattes D2015-05-131-0/+7
|/ | | | Everything that has a slash at the beginning, doesn't matter if it is a registered command or not.
* ToLua now generates cLuaState::Push() and GetStackValue()Mattes D2015-05-129-497/+193
| | | | | For classes exported through ToLua it generates the cLuaState::Push() and cLuaState::GetStackValue() functions, as well as the supporting forward declarations and typedefs. Renamed virtual_method_hooks.lua to BindingsProcessor.lua since it no longer provides virtual method hooks and instead does additional processing when generating the bindings.
* AllToLua: Removed unneeded virtual method hooks.Mattes D2015-05-111-481/+7
|
* OnExecuteCommand hook can override the command result (crXXX).Mattes D2015-05-107-17/+35
|
* Exported cPluginManager:ExecuteConsoleCommand() to Lua API.Mattes D2015-05-102-2/+41
| | | | Fixes #1999.
* Call HOOK_EXECUTE_COMMAND even for unknown console commands.Mattes D2015-05-101-0/+2
| | | | This allows plugins such as Aliases to intercept even unknown commands.
* Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND.Mattes D2015-05-105-9/+9
| | | | Fixes #1996.
* Merge remote-tracking branch 'origin/master' into warningsTiger Wang2015-05-104-12/+12
|\ | | | | | | | | | | Conflicts: src/Mobs/Monster.cpp src/Vector3.h
| * CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-092-9/+9
| |
| * More style checking.Mattes D2015-05-092-3/+3
| | | | | | | | Spaces around some operators are checked.
* | Fixed some Visual Studio warningsTiger Wang2015-05-093-5/+18
|/
* Fixed inter-plugin calls.Mattes D2015-05-072-9/+9
| | | | | When an inter-plugin call failed due to function not found, the server would maul the LuaState and "yield". Fixes #1959.
* Added support for additional data in the ParticleEffect Packettycho2015-05-073-1/+104
| | | | Also started refactoring how broadcasts are handled
* Update submodulesTiger Wang2015-05-021-1/+1
|
* Fixed bindings for cFile:ReadWholeFile().Mattes D2015-04-301-7/+38
| | | | Fixes #1914
* Added cBlockArea:GetNonAirCropRelCoords() API function.Mattes D2015-04-293-1/+74
| | | | Fixes #1915.
* cPlayer now checks restrictions.Mattes D2015-04-251-0/+32
| | | | Fixes #1331.
* Added player restrictions to the DB and API.Mattes D2015-04-251-35/+283
|
* Plugin removes its command registrations and webtabs when unloaded.Mattes D2015-04-251-0/+5
| | | | Fixes #1890.
* Refactored ManualBindings' callbacks using templates.Mattes D2015-04-233-365/+259
| | | | | This is a bit easier to read, has better error reporting and fixes a few subtle bugs. Fixes #1889.
* Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().Mattes D2015-04-233-170/+294
| | | | Both functions are exported as static.
* Added cPluginManager:IsPluginLoaded() API, better load error msgs.Mattes D2015-04-192-5/+42
|
* Refactored cWebPlugin for C++11 style and proper WebTab clearing.Mattes D2015-04-195-101/+147
|
* Split the plugin names and plugin folders to avoid confusing them.Mattes D2015-04-197-364/+458
| | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1877
* Removed HOOK_MAX and HOOK_NUM_HOOKS from Lua API.Mattes D2015-04-131-2/+3
|
* Fixed plugin hook calls when unloading plugins.Mattes D2015-04-101-1/+248
| | | | If a plugin installs any hooks in its Initialize method and then causes the Lua runtime to abort, the server asserted because the hooks were called while the plugin was being unloaded.
* Merge pull request #1826 from mc-server/UnifyPacketizerMattes D2015-03-241-1/+5
|\ | | | | Unify packetizer
| * Changed cEntity::m_UniqueID to UInt32.Mattes D2015-03-211-1/+5
| |
* | cPluginLua:cResettable no longer shares CS with plugin.Mattes D2015-03-202-10/+13
| | | | | | | | This fixes locking the resettable while the plugin is already gone. Hopefully no deadlocks.
* | Added cPluginLua::cResettable interface, used for scheduled tasks.Mattes D2015-03-203-59/+134
|/ | | | | This allows plugins to register objects that can "survive" the plugin unloading - they will simply bail out if the plugin is already unloaded, instead of referencing bad plugin data. Fixes #1556.
* Removed unwanted base classes from Lua API.Mattes D2015-03-191-2/+4
|
* AllToLua: Fixed cMonster inheritance.Mattes D2015-03-191-2/+2
|
* Improved DoWithID bindings.Mattes D2015-03-191-3/+3
|
* AllToLua: Removed an unneeded class declaration.Mattes D2015-03-192-8/+2
| | | | It's perfectly possible to declare a class in ManualBindings without the need for declaration in AllToLua.pkg.
* AllToLua: Fixed the parse order for bindings generation.Mattes D2015-03-191-26/+45
| | | | Fixes #1789.
* Merge pull request #1761 from mc-server/NetworkIPEnumMattes D2015-03-121-5/+30
|\ | | | | cNetwork: Added EnumLocalIPAddresses() function.
| * cNetwork: Added EnumLocalIPAddresses() function.Mattes D2015-02-221-5/+30
| |
* | Merge pull request #1807 from flx5/masterMattes D2015-03-116-23/+42
|\ \ | | | | | | Fixes #493 and #490
| * | Fixed coding conventions for Pull Request #1807flx52015-03-114-23/+26
| | |
| * | Fixes #493 and #490flx52015-03-116-12/+28
| | |
* | | Merge branch 'master' into InventoryHowaner2015-03-0919-3/+2910
|\| |
| * | Added OnTeleportEntity hook for plugins.joshi072015-03-055-0/+43
| | | | | | | | | | | | | | | Plugins may or may not allow teleport to the new position. Updated the HookNotify plugin with it.
| * | Lua API: Fixed md5 and sha1 hex formatting.Mattes D2015-03-031-4/+4
| | | | | | | | | | | | std::setw() is only valid for one output operation and needs to be set again in each loop repetition.
| * | Fixed operatorsSTRWarrior2015-02-231-6/+6
| | |
| * | Added forgotten indentSTRWarrior2015-02-231-2/+2
| | |
| * | Replaced lua_isXYZ with cLuaState::CheckParamXYZSTRWarrior2015-02-231-12/+13
| | |
| * | Exported all compression functions in a new class.STRWarrior2015-02-231-16/+129
| | |
| * | Exported CompressString and UncompressString to LuaSTRWarrior2015-02-221-0/+37
| |/
| * Merge pull request #1758 from mc-server/CryptoHashAPIMattes D2015-02-211-2/+107
| |\ | | | | | | Added cCryptoHash namespace to Lua API
| | * Added cCryptoHash namespace to Lua API.Mattes D2015-02-211-2/+107
| | |
| * | Merge pull request #1755 from mc-server/NetworkUDPMattes D2015-02-216-31/+620
| |\ \ | | |/ | |/| cNetwork: Added UDP API.
| | * cNetwork: Added UDP API.Mattes D2015-02-206-31/+620
| | |
| * | Fixed crash when logging nil values.Matyas Dolak2015-02-201-0/+32
| |/ | | | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1798
| * Fixed Linux compilation.Mattes D2015-02-142-2/+2
| |
| * Exported TLS server start on cTCPLink to Lua API.Mattes D2015-02-133-7/+188
| |
| * Exported cTCPLink:Close and :Shutdown() to Lua API.Mattes D2015-02-131-13/+83
| |
| * Fixed Linux compilation.Mattes D2015-02-121-1/+1
| | | | | | | | std::make_unique is not available in C++11.
| * LuaAPI: Added client TLS support for TCP links.Mattes D2015-02-125-5/+321
| |
| * APIDump: Added cNetwork documentation.Mattes D2015-02-061-1/+1
| |
| * LuaServerHandle: Removed debugging output.Mattes D2015-02-041-4/+0
| |
| * Exported cServerHandle and cNetwork:Listen to Lua.Mattes D2015-02-049-14/+609
| | | | | | | | Also added an example to the NetworkTest plugin.
| * cNetwork: Exported lookup functions to Lua API.Mattes D2015-02-045-3/+219
| | | | | | | | Also added an example in the NetworkTest plugin.
| * cNetwork: Exported the Connect() method and cTCPLink class to Lua.Mattes D2015-02-048-1/+614
| |
* | Merge branch 'master' into InventoryHowaner2015-02-061-15/+1
|\|
| * Switched LuaState to use sizeof...tycho2015-01-311-15/+1
| |
* | Merge branch 'master' into InventoryHowaner2015-01-257-23/+41
|\|
| * Merge pull request #1702 from mc-server/chronoMattes D2015-01-187-5/+13
| |\ | | | | | | Started to convert more of MCServer to std::chrono
| | * Fixed type-conversion warnings.Mattes D2015-01-181-1/+1
| | |
| | * Initial convertion of a_Dt to std::chronoTycho2015-01-117-5/+13
| | | | | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
| * | Fixed CppCheck: (performance) Function parameter should be passed by reference.Kirill Kirilenko2015-01-172-4/+4
| |/
| * Refactored all player block placing to go through hooks.Mattes D2014-12-245-15/+25
| | | | | | | | Fixes #1618.
* | C++11 and function rename.Howaner2014-12-172-0/+19
|/
* Exported cWorld:PrepareChunk to Lua API, test in Debuggers.Mattes D2014-12-121-0/+67
|
* BasicStyle: Added missing braces to control statements.Mattes D2014-12-052-2/+21
|
* Fixed the CRAFTING_NO_RECIPE hook call.Mattes D2014-12-045-5/+5
| | | | | It used a pointer-to-pointer-to-cCraftingRecipe, which the Lua bindings didn't know how to handle, and emitted a warning message at runtime. Fixes #1641.
* clearing CheckBasicStyle.lua messagesp-mcgowan2014-12-031-2/+2
|
* Merge branch 'master' into MobSpawnerHowaner2014-12-011-0/+38
|\ | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua
| * Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() insteadHowaner2014-11-291-0/+38
| |
* | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner2014-11-291-0/+1
|/
* Use cLuaState's stack trace.Howaner2014-11-171-48/+27
|
* Added UpdateSign() method to DeprecatedBindings.cppHowaner2014-11-172-3/+88
|
* Fixed a security problem with signs.Howaner2014-11-151-1/+1
|
* renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDumpLukas Pioch2014-11-051-2/+2
|
* Added FindAndDoWithUUIDLukas Pioch2014-11-021-0/+2
|
* cLuaState: Fixed errors on non-existent callbacks.Mattes D2014-10-311-1/+5
| | | | This mostly affected table-based callbacks, such as the cLineBlockTracer. If a callback didn't exist, the code would still push its arguments on the stack, breaking the next callback.
* Merged IniFile into main MCS sources.Mattes D2014-10-232-2/+2
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-2311-221/+221
|
* LuaState: Projectiles are pushed using their full class.Mattes D2014-10-221-1/+1
|
* Properly exported cItemFrame and cHangingEntity to Lua.Mattes D2014-10-212-0/+4
|
* Exported individual projectile classes to Lua API.Mattes D2014-10-212-104/+114
| | | | They used to be exported, but then they were moved to separate files and those werent' added to the ToLua processing list.
* cLuaState: cEntity is pushed with specific type.Mattes D2014-10-211-7/+48
|
* Fixed a potential crash in cEntity bindings.Mattes D2014-10-201-2/+6
|
* Found it!Julian Laubstein2014-10-201-1/+1
|
* Added error messageJulian Laubstein2014-10-201-9/+0
|
* Added error handling to load <plugin> commandJulian Laubstein2014-10-201-1/+11
|
* Fixed minor style issues.Mattes D2014-10-191-1/+1
|
* cLuaState: cMonster descendants don't push their specific type.Mattes D2014-10-191-1/+10
| | | | The individual mob types aren't exported to Lua, so pushing them would crash the server.
* cLuaState: cBlockEntity descendants are pushed with proper class type.Mattes D2014-10-191-1/+1
|
* LuaState: Pushing a cEntity pushes the correct class name.Mattes D2014-10-191-1/+3
| | | | This makes Lua scripts easier, as they don't need to cast values from cEntity to the specific descendant.
* Bindings: Removed obsolete codegen files.Mattes D2014-10-193-237/+0
| | | | LuaState_Call.inc is no longer needed, it was replaced with variadic templates.
* Merge pull request #1502 from mc-server/furnacesTiger Wang2014-10-181-34/+34
|\ | | | | Improved furnaces
| * Fixed failure for cRankManager to restartTiger Wang2014-10-181-34/+34
| |
* | LuaChunkStay: Fixed a crash on unused callback.Mattes D2014-10-171-2/+6
| |
* | Use universal referencesworktycho2014-10-161-4/+4
| |
* | cLuaState::Call() uses variadic templates.Mattes D2014-10-151-3/+75
| | | | | | | | (doesn't compile)
* | Functions in cPluginManager get references instead of pointers.Mattes D2014-10-155-124/+122
| |
* | Moved a few objects to unique_ptrtycho2014-10-101-1/+1
| |
* | Fixed crash in ForEachEntityInBox API.madmaxoft2014-10-063-6/+18
| | | | | | | | Fixes #1511.
* | Fixed eMonsterType Lua API mismatch.madmaxoft2014-10-051-0/+1
|/
* Bindings: Fixed binding for cPlayer::PermissionMatches().madmaxoft2014-10-011-10/+4
|
* Renamed GetAllPlayers() to GetAllPlayerUUIDs()Howaner2014-09-291-5/+5
|
* Fixed SetDefaultRank() return value.Howaner2014-09-281-1/+1
|
* cRankManager: Added ClearPlayerRanks()Howaner2014-09-281-0/+22
|
* cRankManager: Added GetAllPlayers() and GetPlayerName()Howaner2014-09-281-0/+61
|
* Merge pull request #1455 from mc-server/includesTiger Wang2014-09-2610-22/+15
|\ | | | | Removed a few unnecessary includes
| * Update Plugin.hworktycho2014-09-261-2/+0
| |
| * Removed a few unnessicary includesTycho2014-09-2610-21/+16
| |
* | Removed more unessicary includesTycho2014-09-262-2/+0
| |
* | Added first test to show the object can be createdTycho2014-09-171-0/+2
|/
* Merge remote-tracking branch 'origin/master' into EntitiesInBoxmadmaxoft2014-09-041-1/+1
|\
| * Merge pull request #1351 from LO1ZB/remove-a_RelYMattes D2014-09-031-1/+1
| |\ | | | | | | remove y-coord from chunks
| | * remove y-coord from chunksLO1ZB2014-08-281-1/+1
| | |
* | | LuaState: Fixed class value-getting off the stack.madmaxoft2014-09-031-4/+4
| | |
* | | LuaState: Fixed referenced function pushing.madmaxoft2014-09-032-1/+9
| | | | | | | | | | | | The references are no longer destroyed by the call.
* | | Exported ForEachEntityInBox() to Lua API.madmaxoft2014-09-031-0/+70
| | |
* | | Added cWorld::ForEachEntityInBox()madmaxoft2014-09-032-0/+36
|/ /
* | Rewrited furnace.txt loading.Howaner2014-08-311-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into CraftingFixesMattes D2014-08-2814-60/+1268
|\|
| * RankMgr: Exported the default-rank functions.Mattes D2014-08-241-0/+55
| |
| * RankMgr: Unified function signature comments in the bindings.Mattes D2014-08-232-28/+36
| |
| * Merge remote-tracking branch 'origin/master' into RanksMattes D2014-08-2210-18/+102
| |\
| | * Fixed cPlugin::OnPlayerMoving signature.Mattes D2014-08-223-3/+3
| | |
| | * cLuaState: Fixed Vector3<> names pushed to Lua.Mattes D2014-08-222-5/+44
| | |
| | * Sorted the generated param count.Mattes D2014-08-211-1/+1
| | |
| | * Fixed a compile-time warning in MSVC.Mattes D2014-08-211-1/+1
| | |
| | * Merge pull request #1339 from mc-server/HooksSTRWarrior2014-08-206-0/+45
| | |\ | | | | | | | | Added HOOK_SERVER_PING
| | | * Renamed a_Motd to a_ServerDescription.Howaner2014-08-205-7/+7
| | | |
| | | * Added a_ClientHandle to the HOOK_SERVER_PING hook.Howaner2014-08-206-8/+9
| | | |
| | | * Cleaned up code.Howaner2014-08-202-847/+1
| | | |
| | | * Added HOOK_SERVER_PINGHowaner2014-08-206-7/+854
| | | |
| | | * First implementation of HOOK_SERVER_PING.Howaner2014-08-165-0/+43
| | | |
| | * | Better OnPlayerMoving hook.Howaner2014-08-165-7/+7
| | | |
| | * | Merge pull request #1308 from mc-server/loggerMattes D2014-08-152-6/+6
| | |\ \ | | | |/ | | |/| New Logging framework
| | | * Fix messing renameTycho2014-08-121-1/+1
| | | |
| | | * Renamed LoggersTycho2014-08-121-5/+5
| | | |
| | | * First Implementatation of new Loggin frameworkTycho2014-08-102-6/+6
| | | |
| * | | RankMgr: Added cRankManager::RemovePlayerRank().Mattes D2014-08-211-0/+30
| | | |
| * | | Removed Group.h from Bindings' dependencies.Mattes D2014-08-211-1/+0
| | | |
| * | | Removed cGroup and cGroupManager.Mattes D2014-08-211-1/+0
| | | |
| * | | cMojangAPI: Fixed MakeUUID___() bindings.Mattes D2014-08-211-0/+58
| | | | | | | | | | | | | | | | ToLua would generate a shadow return value for the input strings.
| * | | RankMgr bindings: fixed GetRankVisuals return value.Mattes D2014-08-201-18/+22
| | | |
| * | | RankMgr: Fixed an ignored return value in the API.Mattes D2014-08-201-2/+2
| | | |
| * | | cPlayer reads ranks from cRankManager.Mattes D2014-08-191-39/+54
| | | |
| * | | Merge remote-tracking branch 'origin/master' into Ranksmadmaxoft2014-08-121-1/+1
| |\| |
| * | | Fixed unchecked return values.madmaxoft2014-08-111-3/+6
| | | |
| * | | WebAdmin: Manually exported string conversion functions.madmaxoft2014-08-091-1/+59
| | | | | | | | | | | | | | | | ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use.
| * | | RankMgr: Added GetRankVisuals() function.madmaxoft2014-08-091-2/+38
| | | |
| * | | Merge remote-tracking branch 'origin/master' into Ranksmadmaxoft2014-08-091-1/+28
| |\ \ \
| * | | | Exported cRankManager to LuaAPI.madmaxoft2014-08-084-1/+891
| | | | |
| * | | | cLuaState: Added GetStackValues() auto-generated templates.madmaxoft2014-08-081-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | These will read consecutive values off the stack, each value of a type independent of the other values. Auto-generated because we don't have variadic templates in C++03.
* | | | | Fixed spaces after "template" keyword.Mattes D2014-08-281-6/+6
| |_|/ / |/| | |
* | | | Fixed circular dependecy luaState_Call.incTycho2014-08-101-1/+1
| | | |
* | | | WebAdmin: Manually exported string conversion functions.madmaxoft2014-08-091-1/+59
| |/ / |/| | | | | | | | ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use.
* | | Removed debug message.Howaner2014-08-071-1/+0
| |/ |/|
* | Made lua clamp() compatible with all number types.Howaner2014-08-051-4/+4
| |
* | Added api documentation for Clamp()Howaner2014-08-051-2/+2
| |
* | Added Clamp() function to the lua api.Howaner2014-08-051-0/+28
|/
* Made AllToLua output consistentTiger Wang2014-08-041-2/+2
|
* CheckBasicStyle: multi-level indent change.madmaxoft2014-08-041-0/+2
|
* cMojangAPI: Added UUID-to-Name lookup.madmaxoft2014-08-031-1/+97
| | | | Also fixed the bindings, now all functions are static-like.
* Merge pull request #1255 from mc-server/NameToUUIDMattes D2014-08-012-0/+72
|\ | | | | Name to UUID
| * Merged branch 'master' into NameToUUID.madmaxoft2014-07-312-23/+35
| |\
| * | MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames().madmaxoft2014-07-311-5/+14
| | |
| * | ManualBindings: Fixed alignment.madmaxoft2014-07-301-3/+3
| | |
| * | Exported cMojangAPI to Lua.madmaxoft2014-07-302-3/+7
| | |
| * | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft2014-07-301-1/+1
| | | | | | | | | | | | The cache is persisted into a SQLite DB file on server shutdown.
| * | Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API.madmaxoft2014-07-281-3/+62
| | |
* | | Exported the beacon.Howaner2014-07-303-0/+4
| |/ |/|
* | Merged branch 'howaner/Options'.madmaxoft2014-07-301-16/+30
|\ \
| * | Fixed plugin count and fixed plugin loading, when settings.ini was regenerated.Howaner2014-07-271-16/+30
| |/
* | Fixed "Dependency" typosarchshift2014-07-301-2/+2
| |
* | Slight cleanup after portalsTiger Wang2014-07-291-5/+3
|/
* Removed redundant semicolons and re-added warningarchshift2014-07-241-2/+2
|
* Fixed Bindings generation in MSVC.madmaxoft2014-07-221-2/+2
| | | | The bindings weren't regenerated because of the typo in the dependencies cmake variable.
* Merge remote-tracking branch 'origin/master' into saplingsandleavesTiger Wang2014-07-2211-63/+63
|\ | | | | | | | | Conflicts: src/Defines.h
| * Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-2111-51/+51
| |
| * Style: Normalized spaces after if, for and while.madmaxoft2014-07-213-17/+17
| |
* | Merge branch 'master' into saplingsandleavesTiger Wang2014-07-2015-98/+236
|\| | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h
| * Fixed style: spaces after commas.madmaxoft2014-07-193-34/+33
| |
| * Merge pull request #1214 from mc-server/anti-globMattes D2014-07-191-0/+135
| |\ | | | | | | CMake - Explicitly lists all source files
| | * Fixed MSVC bindings generation.madmaxoft2014-07-191-1/+1
| | |
| | * Moved Windows custom command to src/CMakeLists.txtarchshift2014-07-191-15/+1
| | |
| | * CMakeLists: Moved Bindings-specific code to subdirarchshift2014-07-191-0/+111
| | |
| | * CMake: Add Bindings library from subdirectoryarchshift2014-07-191-0/+6
| | |
| | * src/CMakeLists.txt: Replaced glob with list of filesarchshift2014-07-191-0/+32
| | | | | | | | | | | | On MSVC, CMake will traverse all the CMakeLists and add their source and header files to one conglomerate SOURCE list.
| * | Renamed AllToLua_lua script.madmaxoft2014-07-191-0/+0
| |/ | | | | | | Fixes #1222.
| * Basic style fixes.madmaxoft2014-07-177-46/+50
| |
| * Normalized comments.madmaxoft2014-07-1710-22/+22
| | | | | | | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* | Fixed issues relating to saplings and leavesTiger Wang2014-07-171-27/+0
|/ | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201
* Merge branch 'master' into potionsmadmaxoft2014-07-175-7/+7
|\
| * Merge pull request #1193 from mc-server/deathmessagesMattes D2014-07-175-7/+7
| |\ | | | | | | Death messages
| | * Resolved backwards compatibility issuesTiger Wang2014-07-165-7/+7
| | |
| | * Tailored death messagesTiger Wang2014-07-045-7/+7
| | |
* | | For now, removed creator member from Entity Effect for pointer safetyarchshift2014-07-125-7/+7
| | |
* | | Merge remote-tracking branch 'origin/master' into potionsarchshift2014-07-1011-663/+353
|\| | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp
| * | Merge pull request #1144 from mc-server/LuaCodeGenMattes D2014-07-064-622/+218
| |\ \ | | | | | | | | Lua code gen
| | * | Tolua generates LuaState_Call.inc file.madmaxoft2014-07-013-622/+22
| | | |
| | * | Initial codegen for LuaState_Call.inc.madmaxoft2014-07-011-0/+196
| | | |
| * | | cPluginManager: Reformatted the switch statement.madmaxoft2014-07-041-7/+34
| | | |
| * | | Merge remote-tracking branch 'origin/HandleCommand'madmaxoft2014-07-042-30/+36
| |\ \ \
| | * | | Moved sending error messages to cPluginManager:CallHookChatSTRWarrior2014-07-041-4/+6
| | | | |
| | * | | Fixed doxycommentsSTRWarrior2014-06-281-3/+3
| | | | |
| | * | | (Force)ExecuteCommand returns the CommandResult enumsSTRWarrior2014-06-182-8/+8
| | | | | | | | | | | | | | | | | | | | Exported and documented the CommandResult enums
| | * | | Added crBlocked and crNoPermissionSTRWarrior2014-06-172-2/+4
| | | | |
| | * | | HandleCommand now returns an CommandResult enum.STRWarrior2014-06-172-23/+19
| | | | |
| | * | | Fixed possible confusion.STRWarrior2014-06-172-2/+8
| | | | | | | | | | | | | | | | | | | | If a command handler gets an error then the player will receive an unknown command error. This can be confusing for players.
| * | | | Changed OnWeatherChanging hook to always read the returned weather.madmaxoft2014-07-033-4/+18
| | |_|/ | |/| | | | | | | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1512
| * | | Merge pull request #1139 from Howaner/HooksMattes D2014-07-025-0/+43
| |\ \ \ | | |_|/ | |/| | Add hook HOOK_PLAYER_FOOD_LEVEL_CHANGE
| | * | Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel()Howaner2014-07-025-6/+6
| | | |
| | * | Fixes.Howaner2014-06-301-1/+1
| | | |
| | * | Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGEHowaner2014-06-305-0/+43
| | | |
| * | | Fixed a possibly unused variable.madmaxoft2014-07-011-1/+1
| |/ /
| * | Fixed a silly path error in #include.Mattes D2014-06-281-1/+1
| | |
| * | Removed the md5 library, obsoleted by PolarSSL.Mattes D2014-06-271-5/+6
| | | | | | | | | | | | Fixes #1130.
| * | Nullify deleted pointers.archshift2014-06-193-0/+3
| |/
* | EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift2014-06-191-1/+1
| | | | | | | | Changed effect map to take a pointer of the effect as a result.
* | Added the OnEntityAddEffect hook.madmaxoft2014-06-175-0/+46
| |
* | Moved Effects.h to EntityEffects.h, added initial implarchshift2014-06-171-1/+1
|/
* Fixed bindings generation for Win64 builds.Mattes D2014-06-142-0/+1
| | | | Fixes #1092.
* Reduced cPluginManager code duplicationTiger Wang2014-06-141-286/+178
|
* automaticlly build tolua and generate bindings as part of build.tycho2014-06-121-0/+0
|
* Added cBlockArea:GetCoordRange to Lua API.madmaxoft2014-06-111-0/+32
|
* ToLua can now be run in pure-lua mode.madmaxoft2014-06-091-0/+27
| | | | See the src/Bindings/AllToLua_lua.bat for usage example.
* Fixed OnProjectileHitBlock bindings.madmaxoft2014-06-033-82/+111
| | | | Also sorted the various cLuaState::Push() functions.
* Merge pull request #844 from mc-server/ProjectileHitBlockMattes D2014-06-015-7/+7
|\ | | | | OnProjectileHitBlock tweak.
| * Made a_BlockHitPos a referenceSTRWarrior2014-06-015-6/+6
| |
| * Used recommendationsSTRWarrior2014-05-315-7/+7
| |
| * Using recommendations (I think)STRWarrior2014-03-305-5/+5
| |
| * Added a BlockHitPos parameter to OnProjectileHitBlockSTRWarrior2014-03-305-7/+7
| |
| * Added a blockface parameter to the OnProjectileHitBlock hook.STRWarrior2014-03-305-7/+7
| |
* | Fixed bindings for cCompositeChat:SetMessageType().madmaxoft2014-05-301-2/+2
| |
* | Merge pull request #998 from mc-server/StatManagerMattes D2014-05-181-0/+1
|\ \ | | | | | | Statistic Manager
| * | Statistic Managerandrew2014-05-111-0/+1
| | |
* | | Fixed the console saying no plugins are loaded.STRWarrior2014-05-101-1/+1
|/ /
* | Fixed MSVC 64-bit build warnings.Mattes D2014-05-092-5/+6
| |
* | HOOK_DISCONNECT has cClientHandle as its first parameter.madmaxoft2014-05-025-7/+7
| | | | | | | | Ref.: #655.
* | Fixed warnings in ManualBindings.madmaxoft2014-05-011-20/+20
| |
* | Fixed warnings in Lua helpers.madmaxoft2014-05-012-3/+3
| |
* | Fixed OnPluginMessage hook not exiting early.Tycho2014-04-271-1/+1
| | | | | | | | | | OnPluginMessage hook would call all plugins even after one returned true. Fixes CID 43512
* | Fixed a memory leak in tolua_cWorld_ChunkStay. (CID 43618)jfhumann2014-04-261-1/+4
| |
* | Updated the tolua executable for Windows.madmaxoft2014-04-061-0/+0
| |
* | Removed the bindings to set old g_BlockXXX arrays.Mattes D2014-04-031-297/+65
| | | | | | | | | | Those were supposed to be read-only; there's no point in writing to them anyway. Also fixed MSVC type warnings in the code.
* | Merge branch 'MacFixes'Tycho2014-04-026-2/+10
|\ \ | | | | | | | | | | | | | | | Conflicts: src/DeadlockDetect.cpp src/World.cpp
| * | More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney2014-03-256-2/+10
| | | | | | | | | | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
* | | Exported the Base64 encoding and decoding functions to Lua API.madmaxoft2014-04-011-0/+46
| | |
* | | LOG() API reads the LogLevel from the cCompositeChat's MessageType.madmaxoft2014-04-011-4/+13
| | |
* | | Console logging supports cCompositeChat as its parameters.madmaxoft2014-03-311-12/+34
| | |
* | | Merge pull request #842 from mc-server/ProjectileHooksMattes D2014-03-297-0/+107
|\ \ \ | | |/ | |/| Projectile hooks
| * | Added HOOK_PROJECTILE_HIT_BLOCK.STRWarrior2014-03-295-0/+45
| | |
| * | Fixed error when the hook gets called.STRWarrior2014-03-292-0/+14
| | |
| * | Added HOOK_PROJECTILE_HIT_ENTITYSTRWarrior2014-03-295-0/+48
| | |
* | | Renamed lua dll for tolua++.exe.madmaxoft2014-03-291-0/+0
|/ / | | | | | | Fixes #843.
* | Fixed non-virtual destructors warnings.madmaxoft2014-03-281-0/+2
| |
* | Add SpreadSourceHowaner2014-03-275-7/+7
| |
* | Add HOOK_BLOCK_SPREADHowaner2014-03-275-0/+46
|/
* Updated the ToLua windows executable.madmaxoft2014-03-231-0/+0
|
* Updated the tolua++ executable for Win builds.madmaxoft2014-03-201-0/+0
|
* Made pushing plain pointer to Lua a valid operation, with a warning.madmaxoft2014-03-202-3/+4
| | | | This is used for exotic explosions, and the NORETURNDEBUG macro caused MSVC warnings across the entire cLuaState class (MSVC marked ALL Push() function overloads as non-returning)
* Errors in Lua don't include the error handler in the stack trace.madmaxoft2014-03-192-7/+7
| | | | Fixes #817.
* LuaChunkStay: Removed a debugging output.madmaxoft2014-03-191-3/+0
|
* Merge pull request #800 from mc-server/EntireCommandErrorMattes D2014-03-151-1/+1
|\ | | | | The entire unknown command is echoed back to the user on error.
| * The entire unknown command is echoed back to the user on error.madmaxoft2014-03-121-1/+1
| |
* | Added Noreturn attribtes to a couple of functions and made a missing noreturn an errorTycho2014-03-141-1/+1
| |
* | Merge branch 'master' into warningsTycho2014-03-141-1/+4
|\ \
| * | cPlugin:BindConsoleCommand can be called statically.madmaxoft2014-03-141-1/+4
| | | | | | | | | | | | This has been documented before it was written.
* | | Merge branch 'master' into warningsTycho2014-03-141-2/+4
|\| |
| * | cPluginManager:Bind[Console]Command returns true on success.madmaxoft2014-03-141-2/+4
| | | | | | | | | | | | Fixes #801.
* | | Merge branch 'Werror' into warningsTycho2014-03-124-11/+25
|\| | | | | | | | | | | | | | Conflicts: src/Globals.h
| * | Merge remote-tracking branch 'xdot/master'madmaxoft2014-03-122-5/+9
| |\ \
| | * | Unified Matrix4 codeandrew2014-03-111-1/+0
| | | |
| | * | Unified Vector classesandrew2014-03-112-4/+9
| | | |
| * | | Fixed Lua string return values.madmaxoft2014-03-121-4/+0
| | |/ | |/| | | | | | | Fixes #773.
| * | Moved Lua API registering into a separate function.madmaxoft2014-03-123-2/+16
| |/ | | | | | | This will allow us to use Lua as lite-config files as well, should we want to.
* / Fixed a load of format string errorsTycho2014-03-111-1/+3
|/
* Merge branch 'master' into warningsTycho2014-03-081-3/+7
|\
| * Fixed cBlockArea schematic string saving signature.madmaxoft2014-03-071-3/+7
| |
* | Fixed warningsTycho2014-03-071-0/+1
|/
* Merge pull request #763 from Howaner/BlockEntitysMattes D2014-03-072-1/+5
|\ | | | | Add Flower Pots
| * Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner2014-03-072-1/+3
| |
| * Add Flower PotsHowaner2014-03-071-0/+2
| |
* | Fixed a typo.madmaxoft2014-03-071-4/+4
| |
* | Added cBlockArea serialization to string.madmaxoft2014-03-071-6/+67
|/ | | | Fixes #665.
* Manually exported cCompositeChat modifiers.madmaxoft2014-03-041-0/+258
| | | | This adds chaining support to them. Fixes #755.
* cLuaState: Made public the GetStackValue() functions.madmaxoft2014-03-042-54/+61
|
* Fixed MSVC warnings in DeprecatedBindings.madmaxoft2014-03-021-8/+76
|
* GetById => Getandrew2014-03-021-9/+9
|
* Removed g_BlockXXX arraysandrew2014-03-021-0/+4
|
* Manually exported g_Block tablesandrew2014-03-023-0/+444
|
* Exported cBlockInfoandrew2014-03-021-0/+1
|
* Exported cScoreboard::ForEachTeamandrew2014-03-011-0/+1
|
* Exported cScoreboard::ForEachObjectiveandrew2014-03-011-0/+4
|
* Exported and documented cScoreboardandrew2014-03-011-0/+1
|
* Attempted fix for several GCC warnings.madmaxoft2014-02-262-2/+14
|
* Fixed tolua export for Byte.madmaxoft2014-02-241-0/+7
| | | | No longer treated as an unknown class.
* Merge pull request #669 from xdot/masterTiger Wang2014-02-242-0/+7
|\ | | | | Implementation of in-game maps :D
| * Manually exported DoWithMapandrew2014-02-231-0/+4
| |
| * Documented and exported cMapManagerandrew2014-02-231-0/+1
| |
| * Documented and exported cMapandrew2014-02-221-0/+1
| |
| * Manual merge (Fixed conflicts)andrew2014-02-207-30/+150
| |\
| * | Send map when selectedandrew2014-02-141-0/+1
| | |
* | | Added cBlockArea:GetSize() and :GetOrigin() to Lua API.madmaxoft2014-02-231-0/+64
| |/ |/| | | | | These don't have a direct C++ equivalent, but are rather useful for the plugins.
* | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft2014-02-201-29/+104
| | | | | | | | They no longer require the ghost output params.
* | Merge pull request #697 from Howaner/SkullMattes D2014-02-191-0/+2
|\ \ | | | | | | Add Skulls/Heads to MCServer
| * | Rename SkullEntity to MobHeadEntityHowaner2014-02-191-2/+2
| | |
| * | Add Heads completelyHowaner2014-02-181-0/+2
| | |
* | | Properly exported and documented paintingsTiger Wang2014-02-181-0/+1
| | |
* | | Added cPluginManager:GetPluginsPath() to the Lua API.madmaxoft2014-02-172-1/+5
| | |
* | | Add Lua plugin path to package.path and .cpath.madmaxoft2014-02-173-0/+37
|/ / | | | | | | Fixes #693.
* / Implemented cCompositeChat.madmaxoft2014-02-151-0/+1
|/ | | | | This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
* cWorld:ChunkStay() accepts nils as callbacks.madmaxoft2014-02-111-5/+3
| | | | Also removed leftover debug logging.
* Added cLuaState::CheckParamFunctionOrNil().madmaxoft2014-02-112-2/+37
| | | | Also fixed error reporting for the two function-checking functions.
* Fixed nested plugin function calls.madmaxoft2014-02-111-6/+9
|
* Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().madmaxoft2014-02-104-64/+172
| | | | This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready.
* cLuaState: Stack traces don't include ghost 0-th element.madmaxoft2014-02-101-1/+1
|
* Added cPluginLua::cOperation.madmaxoft2014-02-101-1/+27
| | | | This class should be used to lock-and-access the plugin's LuaState. cPluginLua::GetLuaState() is unsafe and by this commit obsolete.
* First working version of cLuaChunkStay.madmaxoft2014-02-093-16/+91
| | | | It works, but has random failures, probably due to threading issues.
* Initial Lua cChunkStay export.madmaxoft2014-02-093-0/+112
|
* cLuaState::cRef can be unbound and re-bound.madmaxoft2014-02-092-9/+60
| | | | This will allow us to store Lua references as member variables in classes and initialize those later than in the constructor.
* Merge remote-tracking branch 'origin/master' into playerimprovementsTiger Wang2014-02-091-1/+16
|\ | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp
| * Fixed cWorld:TryGetHeight() API.madmaxoft2014-02-081-1/+5
| |
| * Added cPluginManager:LogStackTrace() to the Lua API.madmaxoft2014-02-051-0/+11
| | | | | | | | Fixes #637.
* | Merge branch 'master' into playerimprovementsTiger Wang2014-02-092-7/+16
|\| | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua
| * Fixed a gcc warning in ManualBindings.madmaxoft2014-02-041-2/+2
| | | | | | | | Constructor member order...
| * Removed a useless check in cLuaState.madmaxoft2014-02-041-3/+1
| |
| * Fixed calling plugins with userdata params.madmaxoft2014-02-041-0/+1
| |
| * Removed a leftover debug message.madmaxoft2014-02-041-1/+0
| |
| * Fixed error handling in cPluginManager:CallPlugin() API.madmaxoft2014-02-041-2/+5
| | | | | | | | Fixed: When the called function malfunctioned, the entire plugin's call was aborted.
| * Improved error resistance in cPluginManager:CallPlugin().madmaxoft2014-02-041-0/+8
| | | | | | | | Fixed: If the call failed, all the next plugin calls would fail as well.
* | Server internally uses new functionsTiger Wang2014-02-061-2/+2
|/
* Merge pull request #585 from daniel0916/hooksMattes D2014-02-015-0/+45
|\ | | | | Added "player destroying" and "player destroyed" hooks
| * Removed "player destroying" hookdaniel09162014-02-015-45/+0
| |
| * Added "player destroying" and "player destroyed" hooksdaniel09162014-01-255-0/+90
| | | | | | | | | | | | | | | | Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473
* | Fixed cLineBlockTracer:Trace() signature.madmaxoft2014-01-311-13/+27
| |
* | Added cPluginManager:BindCommand() form to the API.madmaxoft2014-01-311-1/+4
| | | | | | | | That's the canonical way to call static functions.
* | Lua: Fixed an error in table-functions callbacks.madmaxoft2014-01-291-1/+5
| |
* | Plugin files are loaded in alphabetical order.madmaxoft2014-01-291-17/+35
| | | | | | | | Except for the Info.lua file which gets loaded always last. Implements #597.
* | Merge pull request #589 from mc-server/minecartimprovementsMattes D2014-01-261-0/+4
|\ \ | | | | | | Minecart improvements
| * | Reduced unnecessary echoes (thanks xoft)Tiger Wang2014-01-261-5/+3
| | |
| * | Improved AllToLua UI experienceTiger Wang2014-01-251-2/+8
| | |
* | | Merge pull request #575 from worktycho/GeneratingBenchmarkMattes D2014-01-251-0/+64
|\ \ \ | | | | | | | | More Interfaces to decouple Generator from the rest of the code
| * | | Stupid Mistake fixedTycho2014-01-251-2/+2
| | | |
| * | | Fixed exportsTycho2014-01-252-3/+0
| | | |
| * | | Fixed spelling errorTycho2014-01-222-2/+2
| | | |
| * | | Added manual bindings for moved functionsTycho2014-01-222-0/+67
| | | |
* | | | BugfixesTycho2014-01-231-10/+0
| | | |
* | | | added dependecies for bindings regenTycho2014-01-231-14/+0
| | | |
* | | | Fixed crash while calling disabled plugins.madmaxoft2014-01-231-1/+1
|/ / /
* | / Implemented cPluginManager:CallPlugin() API.madmaxoft2014-01-217-214/+471
| |/ |/| | | | | This function supersedes cPlugin:Call(), is safer to use in regards to multithreading and once again removes the need for the cPlugin class being exported at all.
* | Changed the cWorld::ScheduleTask() signature.madmaxoft2014-01-191-10/+14
| | | | | | | | Now it takes the delay in ticks as an argument, and a cTask descendant as the task to run. Lua API has been updated similarly.
* | cLuaState can now check function params.madmaxoft2014-01-192-0/+37
|/
* Exported cFloater to the Lua API.STRWarrior2014-01-191-0/+1
|
* Command blocks: Execute()andrew2014-01-181-10/+12
|
* Fixed whitespace in previous commit.madmaxoft2014-01-161-1/+1
|
* Finished exporting cWorld:ScheduleTask() to Lua API.madmaxoft2014-01-161-1/+15
|
* Merge pull request #542 from worktycho/schedularMattes D2014-01-151-4/+58
|\ | | | | added cWorld::ScheduleTask Function
| * added cWorld::ScheduleTask FunctionTycho2014-01-141-4/+58
| | | | | | | | | | ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150
* | Merge pull request #538 from mc-server/minecartsMattes D2014-01-151-3/+3
|\ \ | |/ |/| Minecarts
| * Fixed settings plugin generation after IniFileTiger Wang2014-01-121-3/+3
| |
* | Generating the bindings outputs a message at the end.madmaxoft2014-01-131-0/+8
| |
* | cCreeper is no longer available in API.madmaxoft2014-01-133-14/+1
|/ | | | Has been replaced by cMonster.
* Disabled a useless MSVC warning in Bindings.cpp.madmaxoft2014-01-121-0/+6
|
* Merge pull request #532 from mc-server/LuaStateErrorHandlerMattes D2014-01-125-252/+130
|\ | | | | Lua state error handler
| * Lua errors display stack trace.madmaxoft2014-01-112-3/+27
| | | | | | | | Fixes #418.
| * Removed internal methods from public cLuaState interface.madmaxoft2014-01-113-119/+103
| | | | | | | | | | | | | | PushFunction(), CallFunction() and GetReturn() are not to be called independently, but rather only by using the Call() templated overrides. Push() needs to be left in the public part, it is used for pushing results in the ManualBindings. Preparation for #418.
| * Removed an unused file.madmaxoft2014-01-112-130/+0
| |
* | Merge pull request #527 from derouinw/biomessplitMattes D2014-01-111-0/+1
|\ \ | |/ |/| Biomessplit
| * Move biome definition to separate filesBill Derouin2014-01-091-0/+1
| |
* | Removed unused variables.madmaxoft2014-01-111-2/+0
|/ | | | The Lua API calls had no side-effects, either.
* Exported cClientHandle::SendPluginMessage() to Lua.madmaxoft2014-01-091-0/+30
|
* A couple touchupsBill Derouin2014-01-081-2/+3
|
* Add missing plugin errorBill Derouin2014-01-071-0/+12
| | | | | | | | | | | Previously, if a plugin was included but the folder had no lua files, the error given was ambiguous. Now, it explicitly describes lack of lua files. See issue #512 P.S. This probably isn't the best way, but this is where the fix can be made.
* Plugin messages are received and handed to plugins.madmaxoft2014-01-075-1/+57
| | | | Note that MCS doesn't currently handle any channel registrations, this will come later on.
* Removed a debugging log output in cPluginManager:AddHook().madmaxoft2014-01-071-1/+0
|
* LuaState can push strings with embedded NULs.madmaxoft2014-01-071-1/+1
| | | | This also marginally improves performance, since a strlen() isn't called (inside lua_pushstring()), the string length is stored in the AString object directly.
* Fixed cPluginManager:AddHook() binding.madmaxoft2014-01-051-6/+13
| | | | Fixes #401. Old formats are still accepted, for compatibility reasons.
* Merge pull request #479 from mc-server/cmake-winMattes D2014-01-021-9/+14
|\ | | | | Cmake-win
| * Added support for out-of-source builds.madmaxoft2013-12-281-9/+14
| |
* | OnPlayerFishing doesn't have a const cItems anymoreSTRWarrior2014-01-015-5/+5
| |
* | implemented the recommendations Xoft gave.STRWarrior2013-12-317-12/+25
| |
* | Implented OnPlayerFishing and OnPlayerFished.STRWarrior2013-12-305-0/+90
| |
* | converted commneted paramater names to the unused macroTycho Bickerstaff2013-12-221-20/+41
| |
* | Merge branch 'master' of github.com:mc-server/MCServerTycho Bickerstaff2013-12-228-17/+73
|\ \
| * | Added HOOK_PLUGINS_LOADED.madmaxoft2013-12-296-3/+64
| |/ | | | | | | This fixes #482.
| * Made cmake compilation possible on Windows.madmaxoft2013-12-271-2/+2
| |
| * Replaced esCreeper with esMonster.madmaxoft2013-12-231-1/+1
| | | | | | | | Any monster will be able to explode, and also this fixes #425.
| * Bindings regen script updated.madmaxoft2013-12-211-11/+6
| | | | | | | | The Bindings.cpp / .h files are no longer stored in the git repo.
* | Root is now warnings cleanTycho Bickerstaff2013-12-212-21/+21
|/
* fixed include of math on windowstycho2013-12-201-1/+1
|
* added expat as lua bindings dependincyTycho Bickerstaff2013-12-191-1/+1
|
* added all cpp files to bindingsTycho Bickerstaff2013-12-191-1/+4
|
* Merge branch 'master' into cmakeTycho Bickerstaff2013-12-192-9/+23
|\
| * Prettified command error messagesTiger Wang2013-12-182-9/+23
| | | | | | | | Using the magic of overlords (overloads) and standards compliance.
* | fixed bindings generationTycho Bickerstaff2013-12-191-8/+2
| |
* | bindings regenration logicTycho Bickerstaff2013-12-193-32240/+8
| |
* | Merge branch 'master' into cmakeTycho Bickerstaff2013-12-1811-29/+364
|\|
| * Renamed back EntityAnimation to PlayerAnimationTiger Wang2013-12-187-14/+50
| | | | | | | | | | This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4
| * Fixed multiple inheritance in ToLua++.madmaxoft2013-12-163-16/+107
| | | | | | | | This fixes #422.
| * Exported to LuaSTRWarrior2013-12-152-10/+10
| |
| * This adds a function that allows you to 'shoot' a player towards a direction.STRWarrior2013-12-152-2/+36
| |
| * Exported Set and Get functions to Lua.STRWarrior2013-12-152-2/+136
| |
| * Merge pull request #431 from mc-server/Entity_EffectsMattes D2013-12-143-3/+28
| |\ | | | | | | Entity Effects
| | * Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h.STRWarrior2013-12-143-3/+28
| | |
| * | Added tolua++ redirection include.madmaxoft2013-12-141-0/+13
| | | | | | | | | | | | | | | This is needed because ToLua++ regenerates the Bindings file with bad #include, and it would be too difficult to fix ToLua++; this is an easier solution. Should fix PR #431.
| * | Merge pull request #430 from mc-server/redstoneimprovementsMattes D2013-12-141-0/+2
| |\ \ | | |/ | |/| Implemented note block playing and fixed wire
| | * Implemented note block playing and fixed wireTiger Wang2013-12-141-0/+2
| | | | | | | | | | | | Game of Thrones music in Minecraft, here I come!
* | | Merge branch 'master' into cmakeTycho Bickerstaff2013-12-118-7/+156
|\| |
| * | Exported the cTNTEntitySTRWarrior2013-12-143-7/+79
| |/
| * Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.STRWarrior2013-12-117-2/+79
| |
* | added tolua++ command and removed stackwalker from buildTycho Bickerstaff2013-12-101-4/+6
| |
* | more cmake changesTycho Bickerstaff2013-12-101-0/+7
| |
* | more cmakeTycho Bickerstaff2013-12-101-1/+1
| |
* | started work on cmakeTycho Bickerstaff2013-12-101-0/+7
|/
* Fix Undefined behavior at Bindings/LuaWindow line 32worktycho2013-12-091-1/+4
|
* Fixed tolua++ compilation.madmaxoft2013-12-087-192/+5
| | | | Duplicate files, wrong includes, const-incorrect code...
* Fixed VS2008 compilation after those huge changes.madmaxoft2013-12-082-5/+7
|
* Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeaturesTiger Wang2013-12-085-11/+11
| | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp
* Fixed normalizing large angles.madmaxoft2013-12-082-2/+32
|
* Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-0825-0/+41155
Ref.: #407