Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-10-20 | Added error handling to load <plugin> command | Julian Laubstein | 1 | -1/+11 | |
2014-10-19 | Fixed minor style issues. | Mattes D | 1 | -1/+1 | |
2014-10-19 | cLuaState: cMonster descendants don't push their specific type. | Mattes D | 1 | -1/+10 | |
The individual mob types aren't exported to Lua, so pushing them would crash the server. | |||||
2014-10-19 | cLuaState: cBlockEntity descendants are pushed with proper class type. | Mattes D | 1 | -1/+1 | |
2014-10-19 | LuaState: Pushing a cEntity pushes the correct class name. | Mattes D | 1 | -1/+3 | |
This makes Lua scripts easier, as they don't need to cast values from cEntity to the specific descendant. | |||||
2014-10-19 | Bindings: Removed obsolete codegen files. | Mattes D | 3 | -237/+0 | |
LuaState_Call.inc is no longer needed, it was replaced with variadic templates. | |||||
2014-10-18 | Fixed failure for cRankManager to restart | Tiger Wang | 1 | -34/+34 | |
2014-10-17 | LuaChunkStay: Fixed a crash on unused callback. | Mattes D | 1 | -2/+6 | |
2014-10-16 | Use universal references | worktycho | 1 | -4/+4 | |
2014-10-15 | cLuaState::Call() uses variadic templates. | Mattes D | 1 | -3/+75 | |
(doesn't compile) | |||||
2014-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 5 | -124/+122 | |
2014-10-10 | Moved a few objects to unique_ptr | tycho | 1 | -1/+1 | |
2014-10-06 | Fixed crash in ForEachEntityInBox API. | madmaxoft | 3 | -6/+18 | |
Fixes #1511. | |||||
2014-10-05 | Fixed eMonsterType Lua API mismatch. | madmaxoft | 1 | -0/+1 | |
2014-10-01 | Bindings: Fixed binding for cPlayer::PermissionMatches(). | madmaxoft | 1 | -10/+4 | |
2014-09-29 | Renamed GetAllPlayers() to GetAllPlayerUUIDs() | Howaner | 1 | -5/+5 | |
2014-09-28 | Fixed SetDefaultRank() return value. | Howaner | 1 | -1/+1 | |
2014-09-28 | cRankManager: Added ClearPlayerRanks() | Howaner | 1 | -0/+22 | |
2014-09-28 | cRankManager: Added GetAllPlayers() and GetPlayerName() | Howaner | 1 | -0/+61 | |
2014-09-26 | Update Plugin.h | worktycho | 1 | -2/+0 | |
2014-09-26 | Removed more unessicary includes | Tycho | 2 | -2/+0 | |
2014-09-26 | Removed a few unnessicary includes | Tycho | 10 | -21/+16 | |
2014-09-17 | Added first test to show the object can be created | Tycho | 1 | -0/+2 | |
2014-09-03 | LuaState: Fixed class value-getting off the stack. | madmaxoft | 1 | -4/+4 | |
2014-09-03 | LuaState: Fixed referenced function pushing. | madmaxoft | 2 | -1/+9 | |
The references are no longer destroyed by the call. | |||||
2014-09-03 | Exported ForEachEntityInBox() to Lua API. | madmaxoft | 1 | -0/+70 | |
2014-09-03 | Added cWorld::ForEachEntityInBox() | madmaxoft | 2 | -0/+36 | |
2014-08-31 | Rewrited furnace.txt loading. | Howaner | 1 | -1/+1 | |
2014-08-28 | Fixed spaces after "template" keyword. | Mattes D | 1 | -6/+6 | |
2014-08-28 | remove y-coord from chunks | LO1ZB | 1 | -1/+1 | |
2014-08-24 | RankMgr: Exported the default-rank functions. | Mattes D | 1 | -0/+55 | |
2014-08-23 | RankMgr: Unified function signature comments in the bindings. | Mattes D | 2 | -28/+36 | |
2014-08-22 | Fixed cPlugin::OnPlayerMoving signature. | Mattes D | 3 | -3/+3 | |
2014-08-22 | cLuaState: Fixed Vector3<> names pushed to Lua. | Mattes D | 2 | -5/+44 | |
2014-08-21 | Sorted the generated param count. | Mattes D | 1 | -1/+1 | |
2014-08-21 | Fixed a compile-time warning in MSVC. | Mattes D | 1 | -1/+1 | |
2014-08-21 | RankMgr: Added cRankManager::RemovePlayerRank(). | Mattes D | 1 | -0/+30 | |
2014-08-21 | Removed Group.h from Bindings' dependencies. | Mattes D | 1 | -1/+0 | |
2014-08-21 | Removed cGroup and cGroupManager. | Mattes D | 1 | -1/+0 | |
2014-08-21 | cMojangAPI: Fixed MakeUUID___() bindings. | Mattes D | 1 | -0/+58 | |
ToLua would generate a shadow return value for the input strings. | |||||
2014-08-20 | Renamed a_Motd to a_ServerDescription. | Howaner | 5 | -7/+7 | |
2014-08-20 | Added a_ClientHandle to the HOOK_SERVER_PING hook. | Howaner | 6 | -8/+9 | |
2014-08-20 | RankMgr bindings: fixed GetRankVisuals return value. | Mattes D | 1 | -18/+22 | |
2014-08-20 | RankMgr: Fixed an ignored return value in the API. | Mattes D | 1 | -2/+2 | |
2014-08-20 | Cleaned up code. | Howaner | 2 | -847/+1 | |
2014-08-20 | Added HOOK_SERVER_PING | Howaner | 6 | -7/+854 | |
2014-08-19 | cPlayer reads ranks from cRankManager. | Mattes D | 1 | -39/+54 | |
2014-08-16 | Better OnPlayerMoving hook. | Howaner | 5 | -7/+7 | |
2014-08-16 | First implementation of HOOK_SERVER_PING. | Howaner | 5 | -0/+43 | |
2014-08-12 | Fix messing rename | Tycho | 1 | -1/+1 | |
2014-08-12 | Renamed Loggers | Tycho | 1 | -5/+5 | |
2014-08-11 | Fixed unchecked return values. | madmaxoft | 1 | -3/+6 | |
2014-08-10 | Fixed circular dependecy luaState_Call.inc | Tycho | 1 | -1/+1 | |
2014-08-10 | First Implementatation of new Loggin framework | Tycho | 2 | -6/+6 | |
2014-08-09 | WebAdmin: Manually exported string conversion functions. | madmaxoft | 1 | -1/+59 | |
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | |||||
2014-08-09 | WebAdmin: Manually exported string conversion functions. | madmaxoft | 1 | -1/+59 | |
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | |||||
2014-08-09 | RankMgr: Added GetRankVisuals() function. | madmaxoft | 1 | -2/+38 | |
2014-08-08 | Exported cRankManager to LuaAPI. | madmaxoft | 4 | -1/+891 | |
2014-08-08 | cLuaState: Added GetStackValues() auto-generated templates. | madmaxoft | 1 | -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. | |||||
2014-08-07 | Removed debug message. | Howaner | 1 | -1/+0 | |
2014-08-05 | Made lua clamp() compatible with all number types. | Howaner | 1 | -4/+4 | |
2014-08-05 | Added api documentation for Clamp() | Howaner | 1 | -2/+2 | |
2014-08-05 | Added Clamp() function to the lua api. | Howaner | 1 | -0/+28 | |
2014-08-04 | Made AllToLua output consistent | Tiger Wang | 1 | -2/+2 | |
2014-08-04 | CheckBasicStyle: multi-level indent change. | madmaxoft | 1 | -0/+2 | |
2014-08-03 | cMojangAPI: Added UUID-to-Name lookup. | madmaxoft | 1 | -1/+97 | |
Also fixed the bindings, now all functions are static-like. | |||||
2014-07-31 | MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames(). | madmaxoft | 1 | -5/+14 | |
2014-07-30 | Exported the beacon. | Howaner | 3 | -0/+4 | |
2014-07-30 | ManualBindings: Fixed alignment. | madmaxoft | 1 | -3/+3 | |
2014-07-30 | Exported cMojangAPI to Lua. | madmaxoft | 2 | -3/+7 | |
2014-07-30 | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache. | madmaxoft | 1 | -1/+1 | |
The cache is persisted into a SQLite DB file on server shutdown. | |||||
2014-07-30 | Fixed "Dependency" typos | archshift | 1 | -2/+2 | |
2014-07-29 | Slight cleanup after portals | Tiger Wang | 1 | -5/+3 | |
2014-07-28 | Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API. | madmaxoft | 1 | -3/+62 | |
2014-07-27 | Fixed plugin count and fixed plugin loading, when settings.ini was regenerated. | Howaner | 1 | -16/+30 | |
2014-07-24 | Removed redundant semicolons and re-added warning | archshift | 1 | -2/+2 | |
2014-07-22 | Fixed Bindings generation in MSVC. | madmaxoft | 1 | -2/+2 | |
The bindings weren't regenerated because of the typo in the dependencies cmake variable. | |||||
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 11 | -51/+51 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 3 | -17/+17 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 3 | -34/+33 | |
2014-07-19 | Fixed MSVC bindings generation. | madmaxoft | 1 | -1/+1 | |
2014-07-19 | Renamed AllToLua_lua script. | madmaxoft | 1 | -0/+0 | |
Fixes #1222. | |||||
2014-07-19 | Moved Windows custom command to src/CMakeLists.txt | archshift | 1 | -15/+1 | |
2014-07-19 | CMakeLists: Moved Bindings-specific code to subdir | archshift | 1 | -0/+111 | |
2014-07-19 | CMake: Add Bindings library from subdirectory | archshift | 1 | -0/+6 | |
2014-07-19 | src/CMakeLists.txt: Replaced glob with list of files | archshift | 1 | -0/+32 | |
On MSVC, CMake will traverse all the CMakeLists and add their source and header files to one conglomerate SOURCE list. | |||||
2014-07-17 | Fixed issues relating to saplings and leaves | Tiger Wang | 1 | -27/+0 | |
- Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | |||||
2014-07-17 | Basic style fixes. | madmaxoft | 7 | -46/+50 | |
2014-07-17 | Normalized comments. | madmaxoft | 10 | -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. | |||||
2014-07-16 | Resolved backwards compatibility issues | Tiger Wang | 5 | -7/+7 | |
2014-07-12 | For now, removed creator member from Entity Effect for pointer safety | archshift | 5 | -7/+7 | |
2014-07-04 | cPluginManager: Reformatted the switch statement. | madmaxoft | 1 | -7/+34 | |
2014-07-04 | Moved sending error messages to cPluginManager:CallHookChat | STRWarrior | 1 | -4/+6 | |
2014-07-04 | Tailored death messages | Tiger Wang | 5 | -7/+7 | |
2014-07-03 | Changed OnWeatherChanging hook to always read the returned weather. | madmaxoft | 3 | -4/+18 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1512 | |||||
2014-07-02 | Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel() | Howaner | 5 | -6/+6 | |
2014-07-01 | Tolua generates LuaState_Call.inc file. | madmaxoft | 3 | -622/+22 | |
2014-07-01 | Initial codegen for LuaState_Call.inc. | madmaxoft | 1 | -0/+196 | |
2014-07-01 | Fixed a possibly unused variable. | madmaxoft | 1 | -1/+1 | |
2014-06-30 | Fixes. | Howaner | 1 | -1/+1 | |
2014-06-30 | Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGE | Howaner | 5 | -0/+43 | |
2014-06-28 | Fixed doxycomments | STRWarrior | 1 | -3/+3 | |
2014-06-28 | Fixed a silly path error in #include. | Mattes D | 1 | -1/+1 | |
2014-06-27 | Removed the md5 library, obsoleted by PolarSSL. | Mattes D | 1 | -5/+6 | |
Fixes #1130. | |||||
2014-06-19 | Nullify deleted pointers. | archshift | 3 | -0/+3 | |
2014-06-19 | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 1 | -1/+1 | |
Changed effect map to take a pointer of the effect as a result. | |||||
2014-06-18 | (Force)ExecuteCommand returns the CommandResult enums | STRWarrior | 2 | -8/+8 | |
Exported and documented the CommandResult enums | |||||
2014-06-17 | Added the OnEntityAddEffect hook. | madmaxoft | 5 | -0/+46 | |
2014-06-17 | Moved Effects.h to EntityEffects.h, added initial impl | archshift | 1 | -1/+1 | |
2014-06-17 | Added crBlocked and crNoPermission | STRWarrior | 2 | -2/+4 | |
2014-06-17 | HandleCommand now returns an CommandResult enum. | STRWarrior | 2 | -23/+19 | |
2014-06-17 | Fixed possible confusion. | STRWarrior | 2 | -2/+8 | |
If a command handler gets an error then the player will receive an unknown command error. This can be confusing for players. | |||||
2014-06-14 | Fixed bindings generation for Win64 builds. | Mattes D | 2 | -0/+1 | |
Fixes #1092. | |||||
2014-06-14 | Reduced cPluginManager code duplication | Tiger Wang | 1 | -286/+178 | |
2014-06-12 | automaticlly build tolua and generate bindings as part of build. | tycho | 1 | -0/+0 | |
2014-06-11 | Added cBlockArea:GetCoordRange to Lua API. | madmaxoft | 1 | -0/+32 | |
2014-06-09 | ToLua can now be run in pure-lua mode. | madmaxoft | 1 | -0/+27 | |
See the src/Bindings/AllToLua_lua.bat for usage example. | |||||
2014-06-03 | Fixed OnProjectileHitBlock bindings. | madmaxoft | 3 | -82/+111 | |
Also sorted the various cLuaState::Push() functions. | |||||
2014-06-01 | Made a_BlockHitPos a reference | STRWarrior | 5 | -6/+6 | |
2014-05-31 | Used recommendations | STRWarrior | 5 | -7/+7 | |
2014-05-30 | Fixed bindings for cCompositeChat:SetMessageType(). | madmaxoft | 1 | -2/+2 | |
2014-05-11 | Statistic Manager | andrew | 1 | -0/+1 | |
2014-05-10 | Fixed the console saying no plugins are loaded. | STRWarrior | 1 | -1/+1 | |
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 2 | -5/+6 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 2 | -5/+6 | |
2014-05-02 | HOOK_DISCONNECT has cClientHandle as its first parameter. | madmaxoft | 5 | -7/+7 | |
Ref.: #655. | |||||
2014-05-01 | Fixed warnings in ManualBindings. | madmaxoft | 1 | -20/+20 | |
2014-05-01 | Fixed warnings in Lua helpers. | madmaxoft | 2 | -3/+3 | |
2014-04-27 | Fixed OnPluginMessage hook not exiting early. | Tycho | 1 | -1/+1 | |
OnPluginMessage hook would call all plugins even after one returned true. Fixes CID 43512 | |||||
2014-04-26 | Fixed a memory leak in tolua_cWorld_ChunkStay. (CID 43618) | jfhumann | 1 | -1/+4 | |
2014-04-06 | Updated the tolua executable for Windows. | madmaxoft | 1 | -0/+0 | |
2014-04-03 | Removed the bindings to set old g_BlockXXX arrays. | Mattes D | 1 | -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. | |||||
2014-04-01 | Exported the Base64 encoding and decoding functions to Lua API. | madmaxoft | 1 | -0/+46 | |
2014-04-01 | LOG() API reads the LogLevel from the cCompositeChat's MessageType. | madmaxoft | 1 | -4/+13 | |
2014-03-31 | Console logging supports cCompositeChat as its parameters. | madmaxoft | 1 | -12/+34 | |
2014-03-30 | Using recommendations (I think) | STRWarrior | 5 | -5/+5 | |
2014-03-30 | Added a BlockHitPos parameter to OnProjectileHitBlock | STRWarrior | 5 | -7/+7 | |
2014-03-30 | Added a blockface parameter to the OnProjectileHitBlock hook. | STRWarrior | 5 | -7/+7 | |
2014-03-29 | Renamed lua dll for tolua++.exe. | madmaxoft | 1 | -0/+0 | |
Fixes #843. | |||||
2014-03-29 | Added HOOK_PROJECTILE_HIT_BLOCK. | STRWarrior | 5 | -0/+45 | |
2014-03-29 | Fixed error when the hook gets called. | STRWarrior | 2 | -0/+14 | |
2014-03-29 | Added HOOK_PROJECTILE_HIT_ENTITY | STRWarrior | 5 | -0/+48 | |
2014-03-28 | Fixed non-virtual destructors warnings. | madmaxoft | 1 | -0/+2 | |
2014-03-27 | Add SpreadSource | Howaner | 5 | -7/+7 | |
2014-03-27 | Add HOOK_BLOCK_SPREAD | Howaner | 5 | -0/+46 | |
2014-03-25 | 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 Barney | 6 | -2/+10 | |
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | |||||
2014-03-23 | Updated the ToLua windows executable. | madmaxoft | 1 | -0/+0 | |
2014-03-20 | Updated the tolua++ executable for Win builds. | madmaxoft | 1 | -0/+0 | |
2014-03-20 | Made pushing plain pointer to Lua a valid operation, with a warning. | madmaxoft | 2 | -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) | |||||
2014-03-19 | Errors in Lua don't include the error handler in the stack trace. | madmaxoft | 2 | -7/+7 | |
Fixes #817. | |||||
2014-03-19 | LuaChunkStay: Removed a debugging output. | madmaxoft | 1 | -3/+0 | |
2014-03-14 | Added Noreturn attribtes to a couple of functions and made a missing noreturn an error | Tycho | 1 | -1/+1 | |
2014-03-14 | cPlugin:BindConsoleCommand can be called statically. | madmaxoft | 1 | -1/+4 | |
This has been documented before it was written. | |||||
2014-03-14 | cPluginManager:Bind[Console]Command returns true on success. | madmaxoft | 1 | -2/+4 | |
Fixes #801. | |||||
2014-03-12 | Fixed Lua string return values. | madmaxoft | 1 | -4/+0 | |
Fixes #773. | |||||
2014-03-12 | The entire unknown command is echoed back to the user on error. | madmaxoft | 1 | -1/+1 | |
2014-03-12 | Moved Lua API registering into a separate function. | madmaxoft | 3 | -2/+16 | |
This will allow us to use Lua as lite-config files as well, should we want to. | |||||
2014-03-11 | Fixed a load of format string errors | Tycho | 1 | -1/+3 | |
2014-03-11 | Unified Matrix4 code | andrew | 1 | -1/+0 | |
2014-03-11 | Unified Vector classes | andrew | 2 | -4/+9 | |
2014-03-07 | Fixed cBlockArea schematic string saving signature. | madmaxoft | 1 | -3/+7 | |
2014-03-07 | Fixed warnings | Tycho | 1 | -0/+1 | |
2014-03-07 | Fixed a typo. | madmaxoft | 1 | -4/+4 | |
2014-03-07 | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 2 | -1/+3 | |
2014-03-07 | Added cBlockArea serialization to string. | madmaxoft | 1 | -6/+67 | |
Fixes #665. | |||||
2014-03-07 | Add Flower Pots | Howaner | 1 | -0/+2 | |
2014-03-04 | Manually exported cCompositeChat modifiers. | madmaxoft | 1 | -0/+258 | |
This adds chaining support to them. Fixes #755. | |||||
2014-03-04 | cLuaState: Made public the GetStackValue() functions. | madmaxoft | 2 | -54/+61 | |
2014-03-02 | Fixed MSVC warnings in DeprecatedBindings. | madmaxoft | 1 | -8/+76 | |
2014-03-02 | GetById => Get | andrew | 1 | -9/+9 | |
2014-03-02 | Removed g_BlockXXX arrays | andrew | 1 | -0/+4 | |
2014-03-02 | Manually exported g_Block tables | andrew | 3 | -0/+444 | |
2014-03-02 | Exported cBlockInfo | andrew | 1 | -0/+1 | |
2014-03-01 | Exported cScoreboard::ForEachTeam | andrew | 1 | -0/+1 | |
2014-03-01 | Exported cScoreboard::ForEachObjective | andrew | 1 | -0/+4 | |
2014-03-01 | Exported and documented cScoreboard | andrew | 1 | -0/+1 | |
2014-02-26 | Attempted fix for several GCC warnings. | madmaxoft | 2 | -2/+14 | |
2014-02-24 | Fixed tolua export for Byte. | madmaxoft | 1 | -0/+7 | |
No longer treated as an unknown class. | |||||
2014-02-23 | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 1 | -29/+104 | |
They no longer require the ghost output params. | |||||
2014-02-23 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -2/+2 | |
2014-02-23 | Add Heads completely | Howaner | 1 | -0/+2 | |
2014-02-23 | Added cBlockArea:GetSize() and :GetOrigin() to Lua API. | madmaxoft | 1 | -0/+64 | |
These don't have a direct C++ equivalent, but are rather useful for the plugins. | |||||
2014-02-23 | Manually exported DoWithMap | andrew | 1 | -0/+4 | |
2014-02-23 | Documented and exported cMapManager | andrew | 1 | -0/+1 | |
2014-02-22 | Documented and exported cMap | andrew | 1 | -0/+1 | |
2014-02-20 | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 1 | -29/+104 | |
They no longer require the ghost output params. | |||||
2014-02-19 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -2/+2 | |
2014-02-18 | Add Heads completely | Howaner | 1 | -0/+2 | |
2014-02-18 | Properly exported and documented paintings | Tiger Wang | 1 | -0/+1 | |
2014-02-17 | Added cPluginManager:GetPluginsPath() to the Lua API. | madmaxoft | 2 | -1/+5 | |
2014-02-17 | Add Lua plugin path to package.path and .cpath. | madmaxoft | 3 | -0/+37 | |
Fixes #693. | |||||
2014-02-15 | Implemented cCompositeChat. | madmaxoft | 1 | -0/+1 | |
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | |||||
2014-02-14 | Send map when selected | andrew | 1 | -0/+1 | |
2014-02-11 | cWorld:ChunkStay() accepts nils as callbacks. | madmaxoft | 1 | -5/+3 | |
Also removed leftover debug logging. | |||||
2014-02-11 | Added cLuaState::CheckParamFunctionOrNil(). | madmaxoft | 2 | -2/+37 | |
Also fixed error reporting for the two function-checking functions. | |||||
2014-02-11 | Fixed nested plugin function calls. | madmaxoft | 1 | -6/+9 | |
2014-02-10 | Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay(). | madmaxoft | 4 | -64/+172 | |
This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready. | |||||
2014-02-10 | cLuaState: Stack traces don't include ghost 0-th element. | madmaxoft | 1 | -1/+1 | |
2014-02-10 | Added cPluginLua::cOperation. | madmaxoft | 1 | -1/+27 | |
This class should be used to lock-and-access the plugin's LuaState. cPluginLua::GetLuaState() is unsafe and by this commit obsolete. | |||||
2014-02-09 | First working version of cLuaChunkStay. | madmaxoft | 3 | -16/+91 | |
It works, but has random failures, probably due to threading issues. | |||||
2014-02-09 | Initial Lua cChunkStay export. | madmaxoft | 3 | -0/+112 | |
2014-02-09 | cLuaState::cRef can be unbound and re-bound. | madmaxoft | 2 | -9/+60 | |
This will allow us to store Lua references as member variables in classes and initialize those later than in the constructor. | |||||
2014-02-08 | Fixed cWorld:TryGetHeight() API. | madmaxoft | 1 | -1/+5 | |
2014-02-06 | Server internally uses new functions | Tiger Wang | 1 | -2/+2 | |
2014-02-05 | Simplified shutdown | Tycho | 1 | -4/+0 | |
2014-02-05 | Added support to start up MCServer and then immediatly sut it down in travis | Tycho | 1 | -0/+4 | |
2014-02-05 | Fixed most of the reordering warnings | Tycho | 1 | -2/+2 | |
2014-02-05 | Added cPluginManager:LogStackTrace() to the Lua API. | madmaxoft | 1 | -0/+11 | |
Fixes #637. | |||||
2014-02-04 | Fixed a gcc warning in ManualBindings. | madmaxoft | 1 | -2/+2 | |
Constructor member order... | |||||
2014-02-04 | Removed a useless check in cLuaState. | madmaxoft | 1 | -3/+1 | |
2014-02-04 | Fixed calling plugins with userdata params. | madmaxoft | 1 | -0/+1 | |
2014-02-04 | Removed a leftover debug message. | madmaxoft | 1 | -1/+0 | |
2014-02-04 | Fixed error handling in cPluginManager:CallPlugin() API. | madmaxoft | 1 | -2/+5 | |
Fixed: When the called function malfunctioned, the entire plugin's call was aborted. | |||||
2014-02-04 | Improved error resistance in cPluginManager:CallPlugin(). | madmaxoft | 1 | -0/+8 | |
Fixed: If the call failed, all the next plugin calls would fail as well. | |||||
2014-02-01 | Removed "player destroying" hook | daniel0916 | 5 | -45/+0 | |
2014-01-31 | Fixed cLineBlockTracer:Trace() signature. | madmaxoft | 1 | -13/+27 | |
2014-01-31 | Added cPluginManager:BindCommand() form to the API. | madmaxoft | 1 | -1/+4 | |
That's the canonical way to call static functions. | |||||
2014-01-29 | Lua: Fixed an error in table-functions callbacks. | madmaxoft | 1 | -1/+5 | |
2014-01-29 | Plugin files are loaded in alphabetical order. | madmaxoft | 1 | -17/+35 | |
Except for the Info.lua file which gets loaded always last. Implements #597. | |||||
2014-01-26 | Reduced unnecessary echoes (thanks xoft) | Tiger Wang | 1 | -5/+3 | |
2014-01-25 | Improved AllToLua UI experience | Tiger Wang | 1 | -2/+8 | |
2014-01-25 | Stupid Mistake fixed | Tycho | 1 | -2/+2 | |
2014-01-25 | Fixed exports | Tycho | 2 | -3/+0 | |
2014-01-25 | Added "player destroying" and "player destroyed" hooks | daniel0916 | 5 | -0/+90 | |
Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473 | |||||
2014-01-23 | Bugfixes | Tycho | 1 | -10/+0 | |
2014-01-23 | added dependecies for bindings regen | Tycho | 1 | -14/+0 | |
2014-01-23 | Fixed crash while calling disabled plugins. | madmaxoft | 1 | -1/+1 | |
2014-01-22 | Fixed spelling error | Tycho | 2 | -2/+2 | |
2014-01-22 | Added manual bindings for moved functions | Tycho | 2 | -0/+67 | |
2014-01-21 | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 7 | -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. | |||||
2014-01-19 | Changed the cWorld::ScheduleTask() signature. | madmaxoft | 1 | -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. | |||||
2014-01-19 | cLuaState can now check function params. | madmaxoft | 2 | -0/+37 | |
2014-01-19 | Exported cFloater to the Lua API. | STRWarrior | 1 | -0/+1 | |
2014-01-18 | Command blocks: Execute() | andrew | 1 | -10/+12 | |
2014-01-16 | Fixed whitespace in previous commit. | madmaxoft | 1 | -1/+1 | |
2014-01-16 | Finished exporting cWorld:ScheduleTask() to Lua API. | madmaxoft | 1 | -1/+15 | |
2014-01-14 | added cWorld::ScheduleTask Function | Tycho | 1 | -4/+58 | |
ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150 | |||||
2014-01-13 | Generating the bindings outputs a message at the end. | madmaxoft | 1 | -0/+8 | |
2014-01-13 | cCreeper is no longer available in API. | madmaxoft | 3 | -14/+1 | |
Has been replaced by cMonster. | |||||
2014-01-12 | Fixed settings plugin generation after IniFile | Tiger Wang | 1 | -3/+3 | |
2014-01-12 | Disabled a useless MSVC warning in Bindings.cpp. | madmaxoft | 1 | -0/+6 | |
2014-01-11 | Lua errors display stack trace. | madmaxoft | 2 | -3/+27 | |
Fixes #418. | |||||
2014-01-11 | Removed internal methods from public cLuaState interface. | madmaxoft | 3 | -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. | |||||
2014-01-11 | Removed an unused file. | madmaxoft | 2 | -130/+0 | |
2014-01-11 | Removed unused variables. | madmaxoft | 1 | -2/+0 | |
The Lua API calls had no side-effects, either. | |||||
2014-01-09 | Move biome definition to separate files | Bill Derouin | 1 | -0/+1 | |
2014-01-09 | Exported cClientHandle::SendPluginMessage() to Lua. | madmaxoft | 1 | -0/+30 | |
2014-01-08 | A couple touchups | Bill Derouin | 1 | -2/+3 | |
2014-01-07 | Add missing plugin error | Bill Derouin | 1 | -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. | |||||
2014-01-07 | Plugin messages are received and handed to plugins. | madmaxoft | 5 | -1/+57 | |
Note that MCS doesn't currently handle any channel registrations, this will come later on. | |||||
2014-01-07 | Removed a debugging log output in cPluginManager:AddHook(). | madmaxoft | 1 | -1/+0 | |
2014-01-07 | LuaState can push strings with embedded NULs. | madmaxoft | 1 | -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. | |||||
2014-01-05 | Fixed cPluginManager:AddHook() binding. | madmaxoft | 1 | -6/+13 | |
Fixes #401. Old formats are still accepted, for compatibility reasons. | |||||
2014-01-01 | OnPlayerFishing doesn't have a const cItems anymore | STRWarrior | 5 | -5/+5 | |
2013-12-31 | implemented the recommendations Xoft gave. | STRWarrior | 7 | -12/+25 | |
2013-12-30 | Implented OnPlayerFishing and OnPlayerFished. | STRWarrior | 5 | -0/+90 | |
2013-12-28 | Added support for out-of-source builds. | madmaxoft | 1 | -9/+14 | |
2013-12-27 | Made cmake compilation possible on Windows. | madmaxoft | 1 | -2/+2 | |
2013-12-23 | Replaced esCreeper with esMonster. | madmaxoft | 1 | -1/+1 | |
Any monster will be able to explode, and also this fixes #425. | |||||
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 2 | -1/+22 | |
2013-12-29 | Added HOOK_PLUGINS_LOADED. | madmaxoft | 6 | -3/+64 | |
This fixes #482. | |||||
2013-12-22 | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 1 | -20/+41 | |
2013-12-21 | Bindings regen script updated. | madmaxoft | 1 | -11/+6 | |
The Bindings.cpp / .h files are no longer stored in the git repo. | |||||
2013-12-21 | Root is now warnings clean | Tycho Bickerstaff | 2 | -21/+21 | |
2013-12-20 | fixed include of math on windows | tycho | 1 | -1/+1 | |
2013-12-19 | added expat as lua bindings dependincy | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-19 | added all cpp files to bindings | Tycho Bickerstaff | 1 | -1/+4 | |
2013-12-19 | fixed bindings generation | Tycho Bickerstaff | 1 | -8/+2 | |
2013-12-19 | bindings regenration logic | Tycho Bickerstaff | 3 | -32240/+8 | |
2013-12-18 | Prettified command error messages | Tiger Wang | 2 | -9/+23 | |
Using the magic of overlords (overloads) and standards compliance. | |||||
2013-12-18 | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 7 | -14/+50 | |
This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4 | |||||
2013-12-16 | Fixed multiple inheritance in ToLua++. | madmaxoft | 3 | -16/+107 | |
This fixes #422. | |||||
2013-12-15 | Exported to Lua | STRWarrior | 2 | -10/+10 | |
2013-12-15 | This adds a function that allows you to 'shoot' a player towards a direction. | STRWarrior | 2 | -2/+36 | |
2013-12-15 | Exported Set and Get functions to Lua. | STRWarrior | 2 | -2/+136 | |
2013-12-14 | Added tolua++ redirection include. | madmaxoft | 1 | -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. | |||||
2013-12-14 | Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h. | STRWarrior | 3 | -3/+28 | |
2013-12-14 | Implemented note block playing and fixed wire | Tiger Wang | 1 | -0/+2 | |
Game of Thrones music in Minecraft, here I come! | |||||
2013-12-14 | Exported the cTNTEntity | STRWarrior | 3 | -7/+79 | |
2013-12-11 | Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins. | STRWarrior | 7 | -2/+79 | |
2013-12-10 | added tolua++ command and removed stackwalker from build | Tycho Bickerstaff | 1 | -4/+6 | |
2013-12-10 | more cmake changes | Tycho Bickerstaff | 1 | -0/+7 | |
2013-12-10 | more cmake | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-10 | started work on cmake | Tycho Bickerstaff | 1 | -0/+7 | |
2013-12-08 | Fixed tolua++ compilation. | madmaxoft | 7 | -192/+5 | |
Duplicate files, wrong includes, const-incorrect code... | |||||
2013-12-08 | Fixed VS2008 compilation after those huge changes. | madmaxoft | 2 | -5/+7 | |
2013-12-08 | Fixed normalizing large angles. | madmaxoft | 2 | -2/+32 | |
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 25 | -0/+41155 | |
Ref.: #407 | |||||
2013-12-09 | Fix Undefined behavior at Bindings/LuaWindow line 32 | worktycho | 1 | -1/+4 | |