Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames(). | madmaxoft | 2014-07-31 | 1 | -5/+14 |
| | |||||
* | ManualBindings: Fixed alignment. | madmaxoft | 2014-07-30 | 1 | -3/+3 |
| | |||||
* | Exported cMojangAPI to Lua. | madmaxoft | 2014-07-30 | 2 | -3/+7 |
| | |||||
* | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache. | madmaxoft | 2014-07-30 | 1 | -1/+1 |
| | | | | The cache is persisted into a SQLite DB file on server shutdown. | ||||
* | Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API. | madmaxoft | 2014-07-28 | 1 | -3/+62 |
| | |||||
* | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 1 | -2/+2 |
| | |||||
* | Fixed Bindings generation in MSVC. | madmaxoft | 2014-07-22 | 1 | -2/+2 |
| | | | | The bindings weren't regenerated because of the typo in the dependencies cmake variable. | ||||
* | Merge remote-tracking branch 'origin/master' into saplingsandleaves | Tiger Wang | 2014-07-22 | 11 | -63/+63 |
|\ | | | | | | | | | Conflicts: src/Defines.h | ||||
| * | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 11 | -51/+51 |
| | | |||||
| * | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 3 | -17/+17 |
| | | |||||
* | | Merge branch 'master' into saplingsandleaves | Tiger Wang | 2014-07-20 | 15 | -98/+236 |
|\| | | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h | ||||
| * | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 3 | -34/+33 |
| | | |||||
| * | Merge pull request #1214 from mc-server/anti-glob | Mattes D | 2014-07-19 | 1 | -0/+135 |
| |\ | | | | | | | CMake - Explicitly lists all source files | ||||
| | * | Fixed MSVC bindings generation. | madmaxoft | 2014-07-19 | 1 | -1/+1 |
| | | | |||||
| | * | Moved Windows custom command to src/CMakeLists.txt | archshift | 2014-07-19 | 1 | -15/+1 |
| | | | |||||
| | * | CMakeLists: Moved Bindings-specific code to subdir | archshift | 2014-07-19 | 1 | -0/+111 |
| | | | |||||
| | * | CMake: Add Bindings library from subdirectory | archshift | 2014-07-19 | 1 | -0/+6 |
| | | | |||||
| | * | src/CMakeLists.txt: Replaced glob with list of files | archshift | 2014-07-19 | 1 | -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. | madmaxoft | 2014-07-19 | 1 | -0/+0 |
| |/ | | | | | | | Fixes #1222. | ||||
| * | Basic style fixes. | madmaxoft | 2014-07-17 | 7 | -46/+50 |
| | | |||||
| * | Normalized comments. | madmaxoft | 2014-07-17 | 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. | ||||
* | | Fixed issues relating to saplings and leaves | Tiger Wang | 2014-07-17 | 1 | -27/+0 |
|/ | | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | ||||
* | Merge branch 'master' into potions | madmaxoft | 2014-07-17 | 5 | -7/+7 |
|\ | |||||
| * | Merge pull request #1193 from mc-server/deathmessages | Mattes D | 2014-07-17 | 5 | -7/+7 |
| |\ | | | | | | | Death messages | ||||
| | * | Resolved backwards compatibility issues | Tiger Wang | 2014-07-16 | 5 | -7/+7 |
| | | | |||||
| | * | Tailored death messages | Tiger Wang | 2014-07-04 | 5 | -7/+7 |
| | | | |||||
* | | | For now, removed creator member from Entity Effect for pointer safety | archshift | 2014-07-12 | 5 | -7/+7 |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 11 | -663/+353 |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| * | | Merge pull request #1144 from mc-server/LuaCodeGen | Mattes D | 2014-07-06 | 4 | -622/+218 |
| |\ \ | | | | | | | | | Lua code gen | ||||
| | * | | Tolua generates LuaState_Call.inc file. | madmaxoft | 2014-07-01 | 3 | -622/+22 |
| | | | | |||||
| | * | | Initial codegen for LuaState_Call.inc. | madmaxoft | 2014-07-01 | 1 | -0/+196 |
| | | | | |||||
| * | | | cPluginManager: Reformatted the switch statement. | madmaxoft | 2014-07-04 | 1 | -7/+34 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/HandleCommand' | madmaxoft | 2014-07-04 | 2 | -30/+36 |
| |\ \ \ | |||||
| | * | | | Moved sending error messages to cPluginManager:CallHookChat | STRWarrior | 2014-07-04 | 1 | -4/+6 |
| | | | | | |||||
| | * | | | Fixed doxycomments | STRWarrior | 2014-06-28 | 1 | -3/+3 |
| | | | | | |||||
| | * | | | (Force)ExecuteCommand returns the CommandResult enums | STRWarrior | 2014-06-18 | 2 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | Exported and documented the CommandResult enums | ||||
| | * | | | Added crBlocked and crNoPermission | STRWarrior | 2014-06-17 | 2 | -2/+4 |
| | | | | | |||||
| | * | | | HandleCommand now returns an CommandResult enum. | STRWarrior | 2014-06-17 | 2 | -23/+19 |
| | | | | | |||||
| | * | | | Fixed possible confusion. | STRWarrior | 2014-06-17 | 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. | ||||
| * | | | | Changed OnWeatherChanging hook to always read the returned weather. | madmaxoft | 2014-07-03 | 3 | -4/+18 |
| | |_|/ | |/| | | | | | | | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1512 | ||||
| * | | | Merge pull request #1139 from Howaner/Hooks | Mattes D | 2014-07-02 | 5 | -0/+43 |
| |\ \ \ | | |_|/ | |/| | | Add hook HOOK_PLAYER_FOOD_LEVEL_CHANGE | ||||
| | * | | Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel() | Howaner | 2014-07-02 | 5 | -6/+6 |
| | | | | |||||
| | * | | Fixes. | Howaner | 2014-06-30 | 1 | -1/+1 |
| | | | | |||||
| | * | | Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGE | Howaner | 2014-06-30 | 5 | -0/+43 |
| | | | | |||||
| * | | | Fixed a possibly unused variable. | madmaxoft | 2014-07-01 | 1 | -1/+1 |
| |/ / | |||||
| * | | Fixed a silly path error in #include. | Mattes D | 2014-06-28 | 1 | -1/+1 |
| | | | |||||
| * | | Removed the md5 library, obsoleted by PolarSSL. | Mattes D | 2014-06-27 | 1 | -5/+6 |
| | | | | | | | | | | | | Fixes #1130. | ||||
| * | | Nullify deleted pointers. | archshift | 2014-06-19 | 3 | -0/+3 |
| |/ | |||||
* | | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 2014-06-19 | 1 | -1/+1 |
| | | | | | | | | Changed effect map to take a pointer of the effect as a result. | ||||
* | | Added the OnEntityAddEffect hook. | madmaxoft | 2014-06-17 | 5 | -0/+46 |
| | | |||||
* | | Moved Effects.h to EntityEffects.h, added initial impl | archshift | 2014-06-17 | 1 | -1/+1 |
|/ | |||||
* | Fixed bindings generation for Win64 builds. | Mattes D | 2014-06-14 | 2 | -0/+1 |
| | | | | Fixes #1092. | ||||
* | Reduced cPluginManager code duplication | Tiger Wang | 2014-06-14 | 1 | -286/+178 |
| | |||||
* | automaticlly build tolua and generate bindings as part of build. | tycho | 2014-06-12 | 1 | -0/+0 |
| | |||||
* | Added cBlockArea:GetCoordRange to Lua API. | madmaxoft | 2014-06-11 | 1 | -0/+32 |
| | |||||
* | ToLua can now be run in pure-lua mode. | madmaxoft | 2014-06-09 | 1 | -0/+27 |
| | | | | See the src/Bindings/AllToLua_lua.bat for usage example. | ||||
* | Fixed OnProjectileHitBlock bindings. | madmaxoft | 2014-06-03 | 3 | -82/+111 |
| | | | | Also sorted the various cLuaState::Push() functions. | ||||
* | Merge pull request #844 from mc-server/ProjectileHitBlock | Mattes D | 2014-06-01 | 5 | -7/+7 |
|\ | | | | | OnProjectileHitBlock tweak. | ||||
| * | Made a_BlockHitPos a reference | STRWarrior | 2014-06-01 | 5 | -6/+6 |
| | | |||||
| * | Used recommendations | STRWarrior | 2014-05-31 | 5 | -7/+7 |
| | | |||||
| * | Using recommendations (I think) | STRWarrior | 2014-03-30 | 5 | -5/+5 |
| | | |||||
| * | Added a BlockHitPos parameter to OnProjectileHitBlock | STRWarrior | 2014-03-30 | 5 | -7/+7 |
| | | |||||
| * | Added a blockface parameter to the OnProjectileHitBlock hook. | STRWarrior | 2014-03-30 | 5 | -7/+7 |
| | | |||||
* | | Fixed bindings for cCompositeChat:SetMessageType(). | madmaxoft | 2014-05-30 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #998 from mc-server/StatManager | Mattes D | 2014-05-18 | 1 | -0/+1 |
|\ \ | | | | | | | Statistic Manager | ||||
| * | | Statistic Manager | andrew | 2014-05-11 | 1 | -0/+1 |
| | | | |||||
* | | | Fixed the console saying no plugins are loaded. | STRWarrior | 2014-05-10 | 1 | -1/+1 |
|/ / | |||||
* | | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 2 | -5/+6 |
| | | |||||
* | | HOOK_DISCONNECT has cClientHandle as its first parameter. | madmaxoft | 2014-05-02 | 5 | -7/+7 |
| | | | | | | | | Ref.: #655. | ||||
* | | Fixed warnings in ManualBindings. | madmaxoft | 2014-05-01 | 1 | -20/+20 |
| | | |||||
* | | Fixed warnings in Lua helpers. | madmaxoft | 2014-05-01 | 2 | -3/+3 |
| | | |||||
* | | Fixed OnPluginMessage hook not exiting early. | Tycho | 2014-04-27 | 1 | -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) | jfhumann | 2014-04-26 | 1 | -1/+4 |
| | | |||||
* | | Updated the tolua executable for Windows. | madmaxoft | 2014-04-06 | 1 | -0/+0 |
| | | |||||
* | | Removed the bindings to set old g_BlockXXX arrays. | Mattes D | 2014-04-03 | 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. | ||||
* | | Merge branch 'MacFixes' | Tycho | 2014-04-02 | 6 | -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 Barney | 2014-03-25 | 6 | -2/+10 |
| | | | | | | | | | | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | ||||
* | | | Exported the Base64 encoding and decoding functions to Lua API. | madmaxoft | 2014-04-01 | 1 | -0/+46 |
| | | | |||||
* | | | LOG() API reads the LogLevel from the cCompositeChat's MessageType. | madmaxoft | 2014-04-01 | 1 | -4/+13 |
| | | | |||||
* | | | Console logging supports cCompositeChat as its parameters. | madmaxoft | 2014-03-31 | 1 | -12/+34 |
| | | | |||||
* | | | Merge pull request #842 from mc-server/ProjectileHooks | Mattes D | 2014-03-29 | 7 | -0/+107 |
|\ \ \ | | |/ | |/| | Projectile hooks | ||||
| * | | Added HOOK_PROJECTILE_HIT_BLOCK. | STRWarrior | 2014-03-29 | 5 | -0/+45 |
| | | | |||||
| * | | Fixed error when the hook gets called. | STRWarrior | 2014-03-29 | 2 | -0/+14 |
| | | | |||||
| * | | Added HOOK_PROJECTILE_HIT_ENTITY | STRWarrior | 2014-03-29 | 5 | -0/+48 |
| | | | |||||
* | | | Renamed lua dll for tolua++.exe. | madmaxoft | 2014-03-29 | 1 | -0/+0 |
|/ / | | | | | | | Fixes #843. | ||||
* | | Fixed non-virtual destructors warnings. | madmaxoft | 2014-03-28 | 1 | -0/+2 |
| | | |||||
* | | Add SpreadSource | Howaner | 2014-03-27 | 5 | -7/+7 |
| | | |||||
* | | Add HOOK_BLOCK_SPREAD | Howaner | 2014-03-27 | 5 | -0/+46 |
|/ | |||||
* | Updated the ToLua windows executable. | madmaxoft | 2014-03-23 | 1 | -0/+0 |
| | |||||
* | Updated the tolua++ executable for Win builds. | madmaxoft | 2014-03-20 | 1 | -0/+0 |
| | |||||
* | Made pushing plain pointer to Lua a valid operation, with a warning. | madmaxoft | 2014-03-20 | 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) | ||||
* | Errors in Lua don't include the error handler in the stack trace. | madmaxoft | 2014-03-19 | 2 | -7/+7 |
| | | | | Fixes #817. | ||||
* | LuaChunkStay: Removed a debugging output. | madmaxoft | 2014-03-19 | 1 | -3/+0 |
| | |||||
* | Merge pull request #800 from mc-server/EntireCommandError | Mattes D | 2014-03-15 | 1 | -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. | madmaxoft | 2014-03-12 | 1 | -1/+1 |
| | | |||||
* | | Added Noreturn attribtes to a couple of functions and made a missing noreturn an error | Tycho | 2014-03-14 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into warnings | Tycho | 2014-03-14 | 1 | -1/+4 |
|\ \ | |||||
| * | | cPlugin:BindConsoleCommand can be called statically. | madmaxoft | 2014-03-14 | 1 | -1/+4 |
| | | | | | | | | | | | | This has been documented before it was written. | ||||
* | | | Merge branch 'master' into warnings | Tycho | 2014-03-14 | 1 | -2/+4 |
|\| | | |||||
| * | | cPluginManager:Bind[Console]Command returns true on success. | madmaxoft | 2014-03-14 | 1 | -2/+4 |
| | | | | | | | | | | | | Fixes #801. | ||||
* | | | Merge branch 'Werror' into warnings | Tycho | 2014-03-12 | 4 | -11/+25 |
|\| | | | | | | | | | | | | | | Conflicts: src/Globals.h | ||||
| * | | Merge remote-tracking branch 'xdot/master' | madmaxoft | 2014-03-12 | 2 | -5/+9 |
| |\ \ | |||||
| | * | | Unified Matrix4 code | andrew | 2014-03-11 | 1 | -1/+0 |
| | | | | |||||
| | * | | Unified Vector classes | andrew | 2014-03-11 | 2 | -4/+9 |
| | | | | |||||
| * | | | Fixed Lua string return values. | madmaxoft | 2014-03-12 | 1 | -4/+0 |
| | |/ | |/| | | | | | | | Fixes #773. | ||||
| * | | Moved Lua API registering into a separate function. | madmaxoft | 2014-03-12 | 3 | -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 errors | Tycho | 2014-03-11 | 1 | -1/+3 |
|/ | |||||
* | Merge branch 'master' into warnings | Tycho | 2014-03-08 | 1 | -3/+7 |
|\ | |||||
| * | Fixed cBlockArea schematic string saving signature. | madmaxoft | 2014-03-07 | 1 | -3/+7 |
| | | |||||
* | | Fixed warnings | Tycho | 2014-03-07 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #763 from Howaner/BlockEntitys | Mattes D | 2014-03-07 | 2 | -1/+5 |
|\ | | | | | Add Flower Pots | ||||
| * | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 2014-03-07 | 2 | -1/+3 |
| | | |||||
| * | Add Flower Pots | Howaner | 2014-03-07 | 1 | -0/+2 |
| | | |||||
* | | Fixed a typo. | madmaxoft | 2014-03-07 | 1 | -4/+4 |
| | | |||||
* | | Added cBlockArea serialization to string. | madmaxoft | 2014-03-07 | 1 | -6/+67 |
|/ | | | | Fixes #665. | ||||
* | Manually exported cCompositeChat modifiers. | madmaxoft | 2014-03-04 | 1 | -0/+258 |
| | | | | This adds chaining support to them. Fixes #755. | ||||
* | cLuaState: Made public the GetStackValue() functions. | madmaxoft | 2014-03-04 | 2 | -54/+61 |
| | |||||
* | Fixed MSVC warnings in DeprecatedBindings. | madmaxoft | 2014-03-02 | 1 | -8/+76 |
| | |||||
* | GetById => Get | andrew | 2014-03-02 | 1 | -9/+9 |
| | |||||
* | Removed g_BlockXXX arrays | andrew | 2014-03-02 | 1 | -0/+4 |
| | |||||
* | Manually exported g_Block tables | andrew | 2014-03-02 | 3 | -0/+444 |
| | |||||
* | Exported cBlockInfo | andrew | 2014-03-02 | 1 | -0/+1 |
| | |||||
* | Exported cScoreboard::ForEachTeam | andrew | 2014-03-01 | 1 | -0/+1 |
| | |||||
* | Exported cScoreboard::ForEachObjective | andrew | 2014-03-01 | 1 | -0/+4 |
| | |||||
* | Exported and documented cScoreboard | andrew | 2014-03-01 | 1 | -0/+1 |
| | |||||
* | Attempted fix for several GCC warnings. | madmaxoft | 2014-02-26 | 2 | -2/+14 |
| | |||||
* | Fixed tolua export for Byte. | madmaxoft | 2014-02-24 | 1 | -0/+7 |
| | | | | No longer treated as an unknown class. | ||||
* | Merge pull request #669 from xdot/master | Tiger Wang | 2014-02-24 | 2 | -0/+7 |
|\ | | | | | Implementation of in-game maps :D | ||||
| * | Manually exported DoWithMap | andrew | 2014-02-23 | 1 | -0/+4 |
| | | |||||
| * | Documented and exported cMapManager | andrew | 2014-02-23 | 1 | -0/+1 |
| | | |||||
| * | Documented and exported cMap | andrew | 2014-02-22 | 1 | -0/+1 |
| | | |||||
| * | Manual merge (Fixed conflicts) | andrew | 2014-02-20 | 7 | -30/+150 |
| |\ | |||||
| * | | Send map when selected | andrew | 2014-02-14 | 1 | -0/+1 |
| | | | |||||
* | | | Added cBlockArea:GetSize() and :GetOrigin() to Lua API. | madmaxoft | 2014-02-23 | 1 | -0/+64 |
| |/ |/| | | | | | These don't have a direct C++ equivalent, but are rather useful for the plugins. | ||||
* | | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 2014-02-20 | 1 | -29/+104 |
| | | | | | | | | They no longer require the ghost output params. | ||||
* | | Merge pull request #697 from Howaner/Skull | Mattes D | 2014-02-19 | 1 | -0/+2 |
|\ \ | | | | | | | Add Skulls/Heads to MCServer | ||||
| * | | Rename SkullEntity to MobHeadEntity | Howaner | 2014-02-19 | 1 | -2/+2 |
| | | | |||||
| * | | Add Heads completely | Howaner | 2014-02-18 | 1 | -0/+2 |
| | | | |||||
* | | | Properly exported and documented paintings | Tiger Wang | 2014-02-18 | 1 | -0/+1 |
| | | | |||||
* | | | Added cPluginManager:GetPluginsPath() to the Lua API. | madmaxoft | 2014-02-17 | 2 | -1/+5 |
| | | | |||||
* | | | Add Lua plugin path to package.path and .cpath. | madmaxoft | 2014-02-17 | 3 | -0/+37 |
|/ / | | | | | | | Fixes #693. | ||||
* / | Implemented cCompositeChat. | madmaxoft | 2014-02-15 | 1 | -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. | madmaxoft | 2014-02-11 | 1 | -5/+3 |
| | | | | Also removed leftover debug logging. | ||||
* | Added cLuaState::CheckParamFunctionOrNil(). | madmaxoft | 2014-02-11 | 2 | -2/+37 |
| | | | | Also fixed error reporting for the two function-checking functions. | ||||
* | Fixed nested plugin function calls. | madmaxoft | 2014-02-11 | 1 | -6/+9 |
| | |||||
* | Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay(). | madmaxoft | 2014-02-10 | 4 | -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. | madmaxoft | 2014-02-10 | 1 | -1/+1 |
| | |||||
* | Added cPluginLua::cOperation. | madmaxoft | 2014-02-10 | 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. | ||||
* | First working version of cLuaChunkStay. | madmaxoft | 2014-02-09 | 3 | -16/+91 |
| | | | | It works, but has random failures, probably due to threading issues. | ||||
* | Initial Lua cChunkStay export. | madmaxoft | 2014-02-09 | 3 | -0/+112 |
| | |||||
* | cLuaState::cRef can be unbound and re-bound. | madmaxoft | 2014-02-09 | 2 | -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 playerimprovements | Tiger Wang | 2014-02-09 | 1 | -1/+16 |
|\ | | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp | ||||
| * | Fixed cWorld:TryGetHeight() API. | madmaxoft | 2014-02-08 | 1 | -1/+5 |
| | | |||||
| * | Added cPluginManager:LogStackTrace() to the Lua API. | madmaxoft | 2014-02-05 | 1 | -0/+11 |
| | | | | | | | | Fixes #637. | ||||
* | | Merge branch 'master' into playerimprovements | Tiger Wang | 2014-02-09 | 2 | -7/+16 |
|\| | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua | ||||
| * | Fixed a gcc warning in ManualBindings. | madmaxoft | 2014-02-04 | 1 | -2/+2 |
| | | | | | | | | Constructor member order... | ||||
| * | Removed a useless check in cLuaState. | madmaxoft | 2014-02-04 | 1 | -3/+1 |
| | | |||||
| * | Fixed calling plugins with userdata params. | madmaxoft | 2014-02-04 | 1 | -0/+1 |
| | | |||||
| * | Removed a leftover debug message. | madmaxoft | 2014-02-04 | 1 | -1/+0 |
| | | |||||
| * | Fixed error handling in cPluginManager:CallPlugin() API. | madmaxoft | 2014-02-04 | 1 | -2/+5 |
| | | | | | | | | Fixed: When the called function malfunctioned, the entire plugin's call was aborted. | ||||
| * | Improved error resistance in cPluginManager:CallPlugin(). | madmaxoft | 2014-02-04 | 1 | -0/+8 |
| | | | | | | | | Fixed: If the call failed, all the next plugin calls would fail as well. | ||||
* | | Server internally uses new functions | Tiger Wang | 2014-02-06 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #585 from daniel0916/hooks | Mattes D | 2014-02-01 | 5 | -0/+45 |
|\ | | | | | Added "player destroying" and "player destroyed" hooks | ||||
| * | Removed "player destroying" hook | daniel0916 | 2014-02-01 | 5 | -45/+0 |
| | | |||||
| * | Added "player destroying" and "player destroyed" hooks | daniel0916 | 2014-01-25 | 5 | -0/+90 |
| | | | | | | | | | | | | | | | | Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473 | ||||
* | | Fixed cLineBlockTracer:Trace() signature. | madmaxoft | 2014-01-31 | 1 | -13/+27 |
| | | |||||
* | | Added cPluginManager:BindCommand() form to the API. | madmaxoft | 2014-01-31 | 1 | -1/+4 |
| | | | | | | | | That's the canonical way to call static functions. | ||||
* | | Lua: Fixed an error in table-functions callbacks. | madmaxoft | 2014-01-29 | 1 | -1/+5 |
| | | |||||
* | | Plugin files are loaded in alphabetical order. | madmaxoft | 2014-01-29 | 1 | -17/+35 |
| | | | | | | | | Except for the Info.lua file which gets loaded always last. Implements #597. | ||||
* | | Merge pull request #589 from mc-server/minecartimprovements | Mattes D | 2014-01-26 | 1 | -0/+4 |
|\ \ | | | | | | | Minecart improvements | ||||
| * | | Reduced unnecessary echoes (thanks xoft) | Tiger Wang | 2014-01-26 | 1 | -5/+3 |
| | | | |||||
| * | | Improved AllToLua UI experience | Tiger Wang | 2014-01-25 | 1 | -2/+8 |
| | | | |||||
* | | | Merge pull request #575 from worktycho/GeneratingBenchmark | Mattes D | 2014-01-25 | 1 | -0/+64 |
|\ \ \ | | | | | | | | | More Interfaces to decouple Generator from the rest of the code | ||||
| * | | | Stupid Mistake fixed | Tycho | 2014-01-25 | 1 | -2/+2 |
| | | | | |||||
| * | | | Fixed exports | Tycho | 2014-01-25 | 2 | -3/+0 |
| | | | | |||||
| * | | | Fixed spelling error | Tycho | 2014-01-22 | 2 | -2/+2 |
| | | | | |||||
| * | | | Added manual bindings for moved functions | Tycho | 2014-01-22 | 2 | -0/+67 |
| | | | | |||||
* | | | | Bugfixes | Tycho | 2014-01-23 | 1 | -10/+0 |
| | | | | |||||
* | | | | added dependecies for bindings regen | Tycho | 2014-01-23 | 1 | -14/+0 |
| | | | | |||||
* | | | | Fixed crash while calling disabled plugins. | madmaxoft | 2014-01-23 | 1 | -1/+1 |
|/ / / | |||||
* | / | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 2014-01-21 | 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. | ||||
* | | Changed the cWorld::ScheduleTask() signature. | madmaxoft | 2014-01-19 | 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. | ||||
* | | cLuaState can now check function params. | madmaxoft | 2014-01-19 | 2 | -0/+37 |
|/ | |||||
* | Exported cFloater to the Lua API. | STRWarrior | 2014-01-19 | 1 | -0/+1 |
| | |||||
* | Command blocks: Execute() | andrew | 2014-01-18 | 1 | -10/+12 |
| | |||||
* | Fixed whitespace in previous commit. | madmaxoft | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | Finished exporting cWorld:ScheduleTask() to Lua API. | madmaxoft | 2014-01-16 | 1 | -1/+15 |
| | |||||
* | Merge pull request #542 from worktycho/schedular | Mattes D | 2014-01-15 | 1 | -4/+58 |
|\ | | | | | added cWorld::ScheduleTask Function | ||||
| * | added cWorld::ScheduleTask Function | Tycho | 2014-01-14 | 1 | -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/minecarts | Mattes D | 2014-01-15 | 1 | -3/+3 |
|\ \ | |/ |/| | Minecarts | ||||
| * | Fixed settings plugin generation after IniFile | Tiger Wang | 2014-01-12 | 1 | -3/+3 |
| | | |||||
* | | Generating the bindings outputs a message at the end. | madmaxoft | 2014-01-13 | 1 | -0/+8 |
| | | |||||
* | | cCreeper is no longer available in API. | madmaxoft | 2014-01-13 | 3 | -14/+1 |
|/ | | | | Has been replaced by cMonster. | ||||
* | Disabled a useless MSVC warning in Bindings.cpp. | madmaxoft | 2014-01-12 | 1 | -0/+6 |
| | |||||
* | Merge pull request #532 from mc-server/LuaStateErrorHandler | Mattes D | 2014-01-12 | 5 | -252/+130 |
|\ | | | | | Lua state error handler | ||||
| * | Lua errors display stack trace. | madmaxoft | 2014-01-11 | 2 | -3/+27 |
| | | | | | | | | Fixes #418. | ||||
| * | Removed internal methods from public cLuaState interface. | madmaxoft | 2014-01-11 | 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. | ||||
| * | Removed an unused file. | madmaxoft | 2014-01-11 | 2 | -130/+0 |
| | | |||||
* | | Merge pull request #527 from derouinw/biomessplit | Mattes D | 2014-01-11 | 1 | -0/+1 |
|\ \ | |/ |/| | Biomessplit | ||||
| * | Move biome definition to separate files | Bill Derouin | 2014-01-09 | 1 | -0/+1 |
| | | |||||
* | | Removed unused variables. | madmaxoft | 2014-01-11 | 1 | -2/+0 |
|/ | | | | The Lua API calls had no side-effects, either. | ||||
* | Exported cClientHandle::SendPluginMessage() to Lua. | madmaxoft | 2014-01-09 | 1 | -0/+30 |
| | |||||
* | A couple touchups | Bill Derouin | 2014-01-08 | 1 | -2/+3 |
| | |||||
* | Add missing plugin error | Bill Derouin | 2014-01-07 | 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. | ||||
* | Plugin messages are received and handed to plugins. | madmaxoft | 2014-01-07 | 5 | -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(). | madmaxoft | 2014-01-07 | 1 | -1/+0 |
| | |||||
* | LuaState can push strings with embedded NULs. | madmaxoft | 2014-01-07 | 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. | ||||
* | Fixed cPluginManager:AddHook() binding. | madmaxoft | 2014-01-05 | 1 | -6/+13 |
| | | | | Fixes #401. Old formats are still accepted, for compatibility reasons. | ||||
* | Merge pull request #479 from mc-server/cmake-win | Mattes D | 2014-01-02 | 1 | -9/+14 |
|\ | | | | | Cmake-win | ||||
| * | Added support for out-of-source builds. | madmaxoft | 2013-12-28 | 1 | -9/+14 |
| | | |||||
* | | OnPlayerFishing doesn't have a const cItems anymore | STRWarrior | 2014-01-01 | 5 | -5/+5 |
| | | |||||
* | | implemented the recommendations Xoft gave. | STRWarrior | 2013-12-31 | 7 | -12/+25 |
| | | |||||
* | | Implented OnPlayerFishing and OnPlayerFished. | STRWarrior | 2013-12-30 | 5 | -0/+90 |
| | | |||||
* | | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 2013-12-22 | 1 | -20/+41 |
| | | |||||
* | | Merge branch 'master' of github.com:mc-server/MCServer | Tycho Bickerstaff | 2013-12-22 | 8 | -17/+73 |
|\ \ | |||||
| * | | Added HOOK_PLUGINS_LOADED. | madmaxoft | 2013-12-29 | 6 | -3/+64 |
| |/ | | | | | | | This fixes #482. | ||||
| * | Made cmake compilation possible on Windows. | madmaxoft | 2013-12-27 | 1 | -2/+2 |
| | | |||||
| * | Replaced esCreeper with esMonster. | madmaxoft | 2013-12-23 | 1 | -1/+1 |
| | | | | | | | | Any monster will be able to explode, and also this fixes #425. | ||||
| * | Bindings regen script updated. | madmaxoft | 2013-12-21 | 1 | -11/+6 |
| | | | | | | | | The Bindings.cpp / .h files are no longer stored in the git repo. | ||||
* | | Root is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 2 | -21/+21 |
|/ | |||||
* | fixed include of math on windows | tycho | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | added expat as lua bindings dependincy | Tycho Bickerstaff | 2013-12-19 | 1 | -1/+1 |
| | |||||
* | added all cpp files to bindings | Tycho Bickerstaff | 2013-12-19 | 1 | -1/+4 |
| | |||||
* | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-19 | 2 | -9/+23 |
|\ | |||||
| * | Prettified command error messages | Tiger Wang | 2013-12-18 | 2 | -9/+23 |
| | | | | | | | | Using the magic of overlords (overloads) and standards compliance. | ||||
* | | fixed bindings generation | Tycho Bickerstaff | 2013-12-19 | 1 | -8/+2 |
| | | |||||
* | | bindings regenration logic | Tycho Bickerstaff | 2013-12-19 | 3 | -32240/+8 |
| | | |||||
* | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-18 | 11 | -29/+364 |
|\| | |||||
| * | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 2013-12-18 | 7 | -14/+50 |
| | | | | | | | | | | This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4 | ||||
| * | Fixed multiple inheritance in ToLua++. | madmaxoft | 2013-12-16 | 3 | -16/+107 |
| | | | | | | | | This fixes #422. | ||||
| * | Exported to Lua | STRWarrior | 2013-12-15 | 2 | -10/+10 |
| | | |||||
| * | This adds a function that allows you to 'shoot' a player towards a direction. | STRWarrior | 2013-12-15 | 2 | -2/+36 |
| | | |||||
| * | Exported Set and Get functions to Lua. | STRWarrior | 2013-12-15 | 2 | -2/+136 |
| | | |||||
| * | Merge pull request #431 from mc-server/Entity_Effects | Mattes D | 2013-12-14 | 3 | -3/+28 |
| |\ | | | | | | | Entity Effects | ||||
| | * | Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h. | STRWarrior | 2013-12-14 | 3 | -3/+28 |
| | | | |||||
| * | | Added tolua++ redirection include. | madmaxoft | 2013-12-14 | 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. | ||||
| * | | Merge pull request #430 from mc-server/redstoneimprovements | Mattes D | 2013-12-14 | 1 | -0/+2 |
| |\ \ | | |/ | |/| | Implemented note block playing and fixed wire | ||||
| | * | Implemented note block playing and fixed wire | Tiger Wang | 2013-12-14 | 1 | -0/+2 |
| | | | | | | | | | | | | Game of Thrones music in Minecraft, here I come! | ||||
* | | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-11 | 8 | -7/+156 |
|\| | | |||||
| * | | Exported the cTNTEntity | STRWarrior | 2013-12-14 | 3 | -7/+79 |
| |/ | |||||
| * | Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins. | STRWarrior | 2013-12-11 | 7 | -2/+79 |
| | | |||||
* | | added tolua++ command and removed stackwalker from build | Tycho Bickerstaff | 2013-12-10 | 1 | -4/+6 |
| | | |||||
* | | more cmake changes | Tycho Bickerstaff | 2013-12-10 | 1 | -0/+7 |
| | | |||||
* | | more cmake | Tycho Bickerstaff | 2013-12-10 | 1 | -1/+1 |
| | | |||||
* | | started work on cmake | Tycho Bickerstaff | 2013-12-10 | 1 | -0/+7 |
|/ | |||||
* | Fix Undefined behavior at Bindings/LuaWindow line 32 | worktycho | 2013-12-09 | 1 | -1/+4 |
| | |||||
* | Fixed tolua++ compilation. | madmaxoft | 2013-12-08 | 7 | -192/+5 |
| | | | | Duplicate files, wrong includes, const-incorrect code... | ||||
* | Fixed VS2008 compilation after those huge changes. | madmaxoft | 2013-12-08 | 2 | -5/+7 |
| | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures | Tiger Wang | 2013-12-08 | 5 | -11/+11 |
| | | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp | ||||
* | Fixed normalizing large angles. | madmaxoft | 2013-12-08 | 2 | -2/+32 |
| | |||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 25 | -0/+41155 |
Ref.: #407 |