Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Compile the entire Lua stack as C++ | Tiger Wang | 2021-06-25 | 3 | -22/+7 |
| | | | | * Fixes #5216 | ||||
* | Add optional prefix parameter to LOG functions (#5229) | x12xx12x | 2021-06-23 | 3 | -48/+50 |
| | | | Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Replace invalid references in deprecation messages (#5235) | Mat | 2021-06-07 | 1 | -2/+2 |
| | |||||
* | Added standardised way to Log with plugin name (#5227) | 12xx12 | 2021-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | * added logging functions to each plugin * added documentation * modified the global LOG macro * updated the way of string composition * removed cloumn * removed capital v | ||||
* | Implemented cServer::ScheduleTask() and cServer::TickQueuedTasks() (#5224) | Feyo Korenhof | 2021-05-26 | 2 | -4/+43 |
| | |||||
* | Rename files to match code | Tiger Wang | 2021-05-04 | 2 | -3/+3 |
| | |||||
* | Add player statistics to API (#5193) | nshah25 | 2021-05-03 | 4 | -0/+88 |
| | | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Chest, weather, crash, and miscellaneous fixes (#5215) | Tiger Wang | 2021-04-30 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Alpha-sort cChestEntity * Chests: use SendUpdateBlockEntity * Pathfinder: fix out of range Y * 1.13: correct weather packet ID * Chests: fix neighbour scanner + Add OnAddToWorld and overload to scan neighbours there, instead of in the constructor/OnUse. This fixes hoppers accessing newly loaded double chests and seeing a null m_Neighbour, thus thinking its a single chest. * Fix typo in cross coords computation. * Simplify hopper logic. * Block entities: ASSERT that type is correct If you match the block type first before calling DoWithBlockEntity, the corresponding block entity must either be empty or correspond to the block type. * Chunk: fix some forgotten PendingSendBE cleanup + Add cleanup in SetAllData, WriteBlockArea - Remove RemoveBlockEntity (used once), HasBlockEntity (not used) * Replace MakeIndex with MakeIndexNoCheck * Remove extraneous MarkDirty in hopper & chests | ||||
* | Fix sending incorrect date values on world change | Tiger Wang | 2021-04-12 | 3 | -6/+131 |
| | | | | Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. | ||||
* | Unify DoWithBlockEntity (#5168) | Tiger Wang | 2021-03-28 | 3 | -247/+326 |
| | | | | | | + DoWith calls now broadcast the block entity and mark the chunk dirty + Add block entity change queue to synchronise BE updates with block updates * Fixed a few incorrect assertions about BE type - Remove manual overloads | ||||
* | Change TimeOfDay to WorldDate (#5160) | Tiger Wang | 2021-03-20 | 1 | -3/+0 |
| | | | | | | | * Change TimeOfDay to WorldDate * Do not wrap at 20 minutes, continue incrementing * Fixes #4737 * Fixes #5159 | ||||
* | Properly deprecate more XYZ parameter'd functions (#5147) | Tiger Wang | 2021-03-15 | 1 | -30/+423 |
| | | | * Fixes #5144 | ||||
* | Some emplace_back replacements (#5149) | 12xx12 | 2021-03-07 | 1 | -1/+1 |
| | | | * replace push_back with emplace_back when a new object was created in the function call | ||||
* | Fix debug macro situation (#5114) | Tiger Wang | 2021-01-26 | 2 | -12/+7 |
| | | | Use the standard NDEBUG. | ||||
* | zlib -> libdeflate (#5085) | Tiger Wang | 2021-01-11 | 9 | -56/+102 |
| | | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | ||||
* | Remove unused Temporary namespace | Tiger Wang | 2020-12-21 | 6 | -0/+1280 |
| | | | | - Remove unused temporary mapping generation at startup | ||||
* | Warnings improvements | Tiger Wang | 2020-12-18 | 2 | -4/+3 |
| | | | | | | | | | * Turn off global-constructors warning. These are needed to implement cRoot signal handler functionality * Add Clang flags based on version lookup instead of a compile test. The CMake config process is single threaded and slow enough already * Reduced GetStackValue verbosity + Clarify EnchantmentLevel, StayCount, AlwaysTicked, ViewDistance signedness + Give SettingsRepositoryInterface a move constructor to simplify main.cpp code - Remove do {} while (false) construction in redstone handler | ||||
* | Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017) | 12xx12 | 2020-11-06 | 2 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed network fixed explosion fixed ticking added network broadcast to Setter method added nullptr protection using macros in 1.10 Protocol_1_10.cpp revealed functions to LUA API small fixups, typos, less functions used fixed more doc readded info that saving is done only if the beam is displayed made the constructor transfer all needed members fixed wrong commit removed default parameters on SpawnEnderCrystal fixed wrong metadata moved call to destroy in the right place fixed some typos Fixed Ender Crystal * fixed documentation * fixed doc and added proper error message * Parameters, arrows * Parameters Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | cBlockInfo: further cleanup (#5001) | Tiger Wang | 2020-10-18 | 1 | -121/+0 |
| | | | | | | | | * cBlockInfo: further cleanup + Use switch statements instead of lookup in dynamically initialised arrays - Remove some deprecated bindings * Update Stubs removing references to BlockInfoArray | ||||
* | Enchanting table shows detail on hover. Enchanting is deterministic. (#4937) | KingCol13 | 2020-10-01 | 1 | -1/+29 |
| | | | | | * Use lapis for enchanting, subtract correct number of levels, ClientHandle now selects from pregenerated list. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | C++17 stuff | Tiger Wang | 2020-09-30 | 2 | -2/+2 |
| | |||||
* | Plugin reload <plugin_name> feature (#4942) | [IPSA] Chris de Claverie | 2020-09-28 | 3 | -25/+66 |
| | | | | | | | | + Add `reload <pluginname>` * Fixes #365 Co-authored-by: Alexander Harkness <me@bearbin.net> Co-authored-by: pwnOrbitals <c.de-claverie@pm.me> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | TABS OUT OF BED! TABS IN THE CORRIDORS! | Tiger Wang | 2020-09-23 | 2 | -2/+2 |
| | |||||
* | Limit fortune level, style fixes | Tiger Wang | 2020-09-23 | 2 | -2/+2 |
| | |||||
* | Implement Dropspenser Hook (#4903) | KrystilizeNevaDies | 2020-09-21 | 5 | -2/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement Dropspenser Hook Implemented a hook for dropspensing. HOOK_DROPSPENSE When plugin callback returns true then dropspense is cancelled * Update src/Bindings/PluginManager.h Co-authored-by: peterbell10 <peterbell10@live.co.uk> * Create OnDropSpense.lua * Fix indent * Forgot include Forgot to include the plugin manager. Although now im confused why it was working on my end without including the plugin manager * Update plugins.lua with dropspense * fix typos * haha notepad++ go brr Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | Use pitch lookup in noteblock block entity (#4826) | 12xx12 | 2020-09-05 | 1 | -0/+106 |
| | | | | | | | - Removed the calculation in the noteblock block entity I did the calculation in python if anyone is interested where the numbers are from Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Changed tree-growing functions in cWorld to use Vector3i coords. | Mattes D | 2020-08-27 | 1 | -2/+119 |
| | |||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 3 | -9/+9 |
| | |||||
* | Update submodules | Tiger Wang | 2020-07-23 | 1 | -2/+2 |
| | |||||
* | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2020-05-16 | 2 | -138/+16 |
| | | | * Make our CMake slightly less insane | ||||
* | Avoid a copy when logging lua strings | Peter Bell | 2020-05-16 | 1 | -18/+15 |
| | |||||
* | Update logging code to reduce unnecessary string copying: | Peter Bell | 2020-05-16 | 1 | -4/+5 |
| | | | | | | * Write into a single fmt::memory_buffer * Use string_view instead of AString for listener callbacks * Also collapsed vFLOG and vLOG functions into one per formatting type | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 7 | -15/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | Cleanup unneeded globals (#4736) | peterbell10 | 2020-05-10 | 1 | -3/+3 |
| | |||||
* | Update submodules (#4727) | peterbell10 | 2020-05-09 | 2 | -4/+5 |
| | | | | | | | | | | | | | Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version. | ||||
* | Use Vector3 for cLineBlockTracer and cBlockTracer (#4715) | mBornand | 2020-05-08 | 1 | -51/+167 |
| | | | * cLineBlockTracer uses Vector | ||||
* | Remove old Android leftovers (#4722) | Mat | 2020-05-07 | 2 | -4/+4 |
| | |||||
* | Update fmt to 6.2.0 (#4718) | peterbell10 | 2020-05-05 | 4 | -6/+10 |
| | | | * Update fmt to 6.2.0 | ||||
* | Fix incorrect formatter invocation | Tiger Wang | 2020-05-04 | 1 | -1/+1 |
| | |||||
* | More Vector3 in cBlockHandler (#4644) | Mattes D | 2020-04-17 | 1 | -0/+38 |
| | | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 8 | -19/+18 |
| | |||||
* | Fixed Lua Vector unification. (#4652) | Mattes D | 2020-04-15 | 3 | -5/+35 |
| | |||||
* | Bindings: Allow coercion between Vector3 subtypes. (#4646) | Mattes D | 2020-04-14 | 7 | -167/+177 |
| | | | | | In manually bound functions, allows one to use any Vector3<T> value, as well as a {x, y, z} table, in Lua as any Vector3<T> parameter. Has example in Debuggers' /vector command. Unfortunately doesn't work in auto-bindings. | ||||
* | Removed the obsolete cTracer class. (#4594) | Mattes D | 2020-04-03 | 3 | -48/+0 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 4 | -2/+4 |
| | | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | ||||
* | Fix off-by-one error and clean error messages in manual bindings for BlockArea (#4549) | Alexander Harkness | 2020-04-01 | 1 | -68/+73 |
| | | | | | | | | | * Correct off-by-one error in manual bindings for FillRelCuboid Fixes #4454 * Fix inconsistent error messages in manual bindings for BlockArea * Generate error if invalid coords passed to FillRelCuboid | ||||
* | Prevent player from being destroyed by plugins (#4584) | Alexander Harkness | 2020-03-31 | 1 | -0/+32 |
| | | | | | | | | | | * Prevent player from being destroyed by plugins Add manual binding, bails out with error message if attempted entity to destroy is player. * Improve warnings and documentation, remove automatic binding * Remove old and unnecessary deprecated function | ||||
* | Updated plugin list format (#4557) | Mat | 2020-03-27 | 1 | -7/+26 |
| | |||||
* | Lock hopper when powered by redstone (#4347) | Bond-009 | 2020-03-27 | 1 | -0/+1 |
| | | | | | | | | | * Lock hopper when powered by redstone * Add to manual bindings * Add hopper API documentation Co-authored-by: Mat <mail@mathias.is> | ||||
* | Manual merge of #4498. | Alexander Harkness | 2020-03-23 | 5 | -9/+37 |
| | | | | | | Credit to @MeMuXin Closes #4498 | ||||
* | Wrong overload of function push() got called when pushing a cEntity*. (#4512) | Max Luchterhand | 2020-03-21 | 2 | -0/+11 |
| | | | | | | | * Now having two funcs, Push(cEntity* ..) and Push(const cEntity* ...). For now, the const function just casts away the const qualifier and passes to the other. Co-authored-by: mluchterhand <mluchterhand@max.de> | ||||
* | Stabilise MoveToWorld (#4004) | Mat | 2020-03-05 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Stabilise MoveToWorld * Fix comments and deprecate ScheduleMoveToWorld * Enhanced thread safety for m_WorldChangeInfo * Return unique_ptr from cAtomicUniquePtr::exchange * cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld. Allows broadcasting entities added to the world from the world's tick thread. This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize. As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible. This isn't used anywhere in Cuberite so it's now deprecated. * Update entity position after removing it from the world. Fixes broadcasts being sent to the wrong chunk. * Fix style * cEntity: Update LastSentPosition when sending spawn packet * Add Wno-deprecated-declarations to the lua bindings * Kill uses of ScheduleMoveToWorld | ||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 5 | -8/+27 |
| | |||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -7/+6 |
| | |||||
* | Added missing closing } in message output | Lukas Pioch | 2019-09-20 | 1 | -1/+1 |
| | |||||
* | Separated chunk generator from world / plugin interfaces. | Mattes D | 2019-09-06 | 1 | -2/+2 |
| | | | | The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests. | ||||
* | Added null check for position (#4366) | Lukas Pioch | 2019-08-11 | 1 | -0/+5 |
| | |||||
* | Improved CMake generator (#4365) | Mattes D | 2019-08-10 | 1 | -1/+1 |
| | |||||
* | Removed coord-based API from cCuboid. (#4362) | Mattes D | 2019-08-09 | 1 | -0/+134 |
| | |||||
* | Check for nil in cWorld:SpawnSplitExperienceOrbs binding (#4354) | Mark Asp | 2019-07-28 | 1 | -1/+6 |
| | | | | | | Adds explicit nil check for 'position' parameter to prevent crashes if invalid. Fixes #4352 | ||||
* | Respect return value of cLuaWindow's OnClicked handler (#4322) | DaPorkchop_ | 2019-06-11 | 1 | -1/+2 |
| | |||||
* | Buckets: Be able to place fluids through other fluids. (#4331) | Zach DeCook | 2019-05-07 | 1 | -1/+1 |
| | |||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 4 | -48/+53 |
| | | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | ||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 5 | -11/+7 |
| | | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | ||||
* | Experience orb (#4259) | changyong guo | 2018-08-02 | 1 | -0/+80 |
| | | | | | | | * Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216 | ||||
* | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 2018-07-27 | 1 | -53/+266 |
| | | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 7 | -6/+9 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Broadcast refactor (#4264) | peterbell10 | 2018-07-24 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | * Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions | ||||
* | cBlockArea: Write all present data types by default (#4252) | peterbell10 | 2018-07-19 | 1 | -11/+21 |
| | | | | | cBlockArea::Write now defaults to use GetDataTypes() instead of assuming all data types are present. Fixes cuberite/WorldEdit#130 | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 6 | -48/+48 |
| | | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | ||||
* | tolua++ bindings use nullptr. (#4219) | peterbell10 | 2018-04-27 | 1 | -4/+1 |
| | | | Fixes compilation with -Wzero-as-null-pointer-constant. | ||||
* | Add cPluginManager::GenericCallHook (#4027) | peterbell10 | 2018-03-02 | 2 | -632/+252 |
| | | | | | | | | Replace repetitive CallHook functions with a generic implementation. Also converts some loops to range-based for. Related to #1134 | ||||
* | cBlockInfo: Deprecate direct access to variables. (#4184) | peterbell10 | 2018-02-20 | 1 | -9/+55 |
| | |||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 1 | -0/+1 |
| | | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | ||||
* | Removed cBlockInfo.m_IsSnowable (#4105) | Bond-009 | 2018-01-23 | 1 | -0/+39 |
| | | | | | | * Removed cBlockInfo.m_IsSnowable * Return IsSnowable from deprecated variable binding m_IsSnowable. | ||||
* | Rename cEntity swim states (#3996) | Alexander Harkness | 2018-01-14 | 1 | -4/+52 |
| | | | | | | | | | | * Replace cEntity:m_IsSubmerged with m_IsHeadInWater * Replace cEntity:m_IsSwimming with m_IsInWater * Add API documentation for new symbols * Apply SetSwimState to all entities, not just mobs and players * Pickups now use IsOnFire to check if they are on fire before destruction Fixes #3987 | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 5 | -26/+11 |
| | | | | | | | * Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | ||||
* | cLuaState: Update `Push` for entities. (#4128) | peterbell10 | 2018-01-03 | 1 | -47/+35 |
| | | | | | | | Fixes #4127 Some classes were exported but were only pushed as a cEntity meaning exported functions were inaccessible. This brings cLuaState::Push(cEntity *) up to date with all exported entities. | ||||
* | Fix Travis build (#4101) | peterbell10 | 2017-12-22 | 1 | -1/+1 |
| | | | | | | | | | Stop using gdb on osx - was breaking the build Add clang 3.5 build as travis now defaults to 5.0 Fix unknown-warning-option errors on AppleClang ProtoProxy: Use nullptr UrlClientTest: add override to callback destructor Update jsoncpp to use nullptr | ||||
* | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 2017-12-21 | 5 | -4/+23 |
| | | | | | | | | | | | | * Fixed Clang 5.0 compile errors * Fixed wrong comment * Only disable warnings in Clang 5 or higher * Added a CMake condition for the Clang 5 no-zero-as-null-pointer-constant warning * Now using the use_nullptr branch of the Cuberite specific SQLiteCpp fork | ||||
* | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2017-09-19 | 3 | -3/+3 |
| | |||||
* | Fix switch warnings (#4013) | peterbell10 | 2017-09-14 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | * Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 9 | -258/+94 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 9 | -95/+259 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 9 | -259/+95 |
| | |||||
* | Merge pull request #3969 from peterbell10/cuboid | Tiger Wang | 2017-08-30 | 1 | -4/+4 |
|\ | | | | | cCuboid: restore default copy construct and assign | ||||
| * | Cleanup Vector3 constructors and Abs | peterbell10 | 2017-08-28 | 1 | -4/+4 |
| | | |||||
* | | Update mbedtls to 2.5.1 (#3964) | peterbell10 | 2017-08-30 | 2 | -9/+9 |
|/ | | | | | | | | | | | | | | | | | | | | | | * Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target | ||||
* | Implement Forge protocol handshake support (#3869) | satoshinm | 2017-08-27 | 6 | -0/+91 |
| | |||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 7 | -65/+432 |
| | |||||
* | Minor changes (#3909) | mathiascode | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Fully implemented leashes (#3798) | Pablo Beltrán | 2017-08-21 | 3 | -0/+3 |
| | |||||
* | Represent cItem::m_Lore as an AStringVector (#3882) | peterbell10 | 2017-08-18 | 4 | -10/+154 |
| | | | | | | | | * Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings | ||||
* | Add cLuaWindow OnClicked Callback (#3901) | Lane Kolbly | 2017-08-17 | 10 | -1/+94 |
| | |||||
* | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 2017-08-17 | 1 | -4/+7 |
| | |||||
* | Merge pull request #3897 from peterbell10/PlaceSound | Tiger Wang | 2017-08-13 | 1 | -0/+61 |
|\ | | | | | cBlockInfo: Remove/deprecate place sound | ||||
| * | cBlockInfo: Deprecate place sound | peterbell10 | 2017-08-07 | 1 | -0/+61 |
| | | |||||
* | | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 1 | -1/+0 |
|/ | |||||
* | Fixed compilation for clang 4.0 & gcc 7.1 | Dan Čermák | 2017-08-04 | 1 | -0/+3 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 5 | -6/+0 |
| | |||||
* | Removed unused forward declarations (#3888) | Lukas Pioch | 2017-08-03 | 3 | -8/+0 |
| | |||||
* | Removed double includes (#3885) | Lukas Pioch | 2017-08-02 | 1 | -1/+0 |
| | |||||
* | Remove smart pointer macros | peterbell10 | 2017-07-21 | 5 | -13/+13 |
| | |||||
* | Lua plugin cColor (#3833) | Lane Kolbly | 2017-07-12 | 3 | -0/+24 |
| | |||||
* | Remove double delete of PrepareChunk lua callback (#3844) | peterbell10 | 2017-07-12 | 1 | -29/+16 |
| | |||||
* | Added bed entity (#3823) | Lukas Pioch | 2017-07-07 | 3 | -0/+3 |
| | | | | | | | | | | * Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds | ||||
* | Changed Lua plugins to only execute files ending in .lua (#3831) | Lane Kolbly | 2017-07-07 | 1 | -1/+2 |
| | |||||
* | Update tolua and export EffectID | peterbell10 | 2017-06-29 | 3 | -2/+37 |
| | |||||
* | cNetwork bindings: Use ApiParamError and CheckParam(Static)Self. | Mattes D | 2017-06-26 | 1 | -226/+91 |
| | |||||
* | Moved ApiParamError into cLuaState. | Mattes D | 2017-06-26 | 5 | -114/+144 |
| | |||||
* | Corrected APIDoc for cBlockArea and exported missing functions (#3808) | Lukas Pioch | 2017-06-26 | 1 | -1/+102 |
| | |||||
* | Added check if datatype is present in block area (#3811) | Lukas Pioch | 2017-06-26 | 1 | -0/+6 |
| | |||||
* | cBlockArea supports block entities. (#3795) | Mattes D | 2017-06-24 | 6 | -338/+1158 |
| | |||||
* | NetworkSingleton: Fixed a throw warning in VS2017. (#3792) | Mattes D | 2017-06-22 | 1 | -3/+3 |
| | | | Also fixed the misleading name. | ||||
* | LuaState: Fixed VS2017's throw warnings for destructors. (#3779) | Mattes D | 2017-06-19 | 1 | -3/+3 |
| | |||||
* | Fixed handling Lua errors in nested callbacks (#3755) | Mattes D | 2017-06-09 | 2 | -3/+42 |
| | |||||
* | Fixes problems with windows: | Lukas Pioch | 2017-06-05 | 2 | -1/+22 |
| | | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | ||||
* | Minor cBrewingRecipes cleanup (#3731) | peterbell10 | 2017-05-28 | 1 | -1/+2 |
| | |||||
* | Exported boat | Lukas Pioch | 2017-05-24 | 2 | -0/+2 |
| | | | | | | | - NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions | ||||
* | Clang 5.0 fixes | Lukas Pioch | 2017-05-21 | 6 | -6/+6 |
| | | | | | - Added override keyword - Removed inherited member variables | ||||
* | Tracer replacement (#3704) | Mattes D | 2017-05-11 | 2 | -2/+250 |
| | | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | ||||
* | Exported cFallingBlock and cExpOrb (#3700) | Lukas Pioch | 2017-05-09 | 2 | -0/+4 |
| | |||||
* | Fixed Lua bindings for const objects. | Mattes D | 2017-05-09 | 4 | -102/+9 |
| | |||||
* | Removed binary ToLua++ from build. | Mattes D | 2017-05-04 | 1 | -2/+2 |
| | | | | A local Lua executable is used instead. | ||||
* | Don't return const ref params and removed functions from | Lukas Pioch | 2017-05-01 | 1 | -87/+0 |
| | | | | ManualBindings.cpp | ||||
* | API: Removed function GetChar (#3664) | Lukas Pioch | 2017-04-05 | 1 | -5/+0 |
| | |||||
* | Removed development plugins from settings file | mathiascode | 2017-03-19 | 1 | -3/+0 |
| | |||||
* | Removed unnecessary check for lower and upper folder | Lukas Pioch | 2017-03-16 | 1 | -1/+1 |
| | |||||
* | Removed a few default plugins (#3580) | mathiascode | 2017-02-24 | 1 | -2/+0 |
| | |||||
* | Add support for alternate config file locations (#3578) | Gareth Nelson | 2017-02-22 | 1 | -1/+1 |
| | |||||
* | DeadlockDetect now lists some tracked CS's stats. | Mattes D | 2017-01-18 | 6 | -24/+64 |
| | |||||
* | DeadlockDetect: Provide more information for debugging. | Mattes D | 2017-01-17 | 1 | -0/+21 |
| | |||||
* | LuaState: Fixed untracking references. | Mattes D | 2017-01-15 | 2 | -6/+9 |
| | | | | One thread may untrack a ref while another thread was closing the LuaState, which had emptied the tracked refs. | ||||
* | Fixed race conditions and forgotten clear in Lua ref tracking. (#3530) | Mattes D | 2017-01-13 | 2 | -13/+22 |
| | | | This fixes occasional crashes on plugin reload. | ||||
* | LuaState: Fixed race condition in ref tracking. (#3529) | Mattes D | 2017-01-09 | 4 | -18/+70 |
| | |||||
* | Refactored to put URL Encoding / Decoding in a single place. (#3491) | Mattes D | 2016-12-25 | 1 | -18/+67 |
| | |||||
* | Use CMake's Android generators to crosscompile | Tiger Wang | 2016-12-12 | 1 | -1/+1 |
| | |||||
* | Export GetPosition and GetSpeed from cEntity as a copy instead of a pointer to lua. | Lukas Pioch | 2016-12-10 | 1 | -0/+46 |
| | |||||
* | LuaState: Fixed stack balance when calling functions (#3428) | Mattes D | 2016-11-10 | 2 | -8/+83 |
| | |||||
* | LuaJson: Report serialization errors instead of crashing. | Mattes D | 2016-10-27 | 1 | -3/+82 |
| | |||||
* | Fixed cRankManager API docs. | Mattes D | 2016-10-06 | 1 | -47/+40 |
| | |||||
* | LuaAPI: Fixed possible crashes in HTTPRequest bindings. | Mattes D | 2016-09-26 | 1 | -35/+36 |
| | |||||
* | Fixed cCompositeChat's constructor LuaAPI bindings. | Mattes D | 2016-09-25 | 1 | -2/+102 |
| | | | | The tolua-generated constructor would return an extra string value. | ||||
* | Bindings: Fixed some function signatures comments. | Mattes D | 2016-09-08 | 1 | -4/+6 |
| | |||||
* | APIDump: Removed trailing whitespace. | Mattes D | 2016-09-08 | 1 | -28/+28 |
| | |||||
* | PluginLua: Removed unneeded assignment. | Mattes D | 2016-09-05 | 1 | -1/+0 |
| | | | | Duplicated in SetLoadError(). | ||||
* | cUrlClient: Exported to Lua API. | Mattes D | 2016-08-23 | 3 | -0/+369 |
| | |||||
* | cTCPLink supports TLS out of the box. | Mattes D | 2016-08-22 | 2 | -299/+25 |
| | |||||
* | cLuaState: Moved function param counting to PushCallPop() template. | Mattes D | 2016-08-22 | 3 | -28/+2 |
| | | | | The Push() functions can be used not only for function params, but also returns or temporaries, so it doesn't make sense to count the params there. | ||||
* | cLuaState: Added direct support for pushing a nil constant. | Mattes D | 2016-08-22 | 5 | -26/+29 |
| | |||||
* | cLuaState: Added support for optional params and AStringMap values. | Mattes D | 2016-08-22 | 2 | -4/+111 |
| | |||||
* | cLuaState: Added template to push multiple values in a single call. (#3331) | Mattes D | 2016-08-21 | 4 | -44/+23 |
| | |||||
* | Fix cWorld:QueueTask() Lua's binding | ElNounch | 2016-08-18 | 1 | -2/+1 |
| | | | | | | Manual binding expect three parameters : self, a number, a function And then read self and a function... Removing the extra check for the broken second argument | ||||
* | Fixed cWorld:ChunkStay bindings. (#3319) | Mattes D | 2016-08-14 | 6 | -77/+219 |
| | | | | | | Introduced new cLuaState::cOptionalCallback for representing optional callbacks (nil from Lua side). Introduced new cLuaState::cStackTable class for easy access to Lua table's elements. Fixes #3305. | ||||
* | Converted cLuaState::cTableRef to use cTrackedRef. | Mattes D | 2016-08-13 | 12 | -463/+457 |
| | | | | This makes the table-based callbacks resistent to LuaState unloads and safer to use. | ||||
* | Removed debug log message. | Mattes D | 2016-08-11 | 1 | -1/+0 |
| | | | | Ref.: #3308 | ||||
* | Fixed LuaAPI library registrations. (#3308) | Mattes D | 2016-08-11 | 1 | -1/+18 |
| | | | | lsqlite3 didn't clean up the stack properly. lxp didn't register itself properly. | ||||
* | Fixed cFile API bindings. | Mattes D | 2016-08-06 | 1 | -16/+16 |
| | |||||
* | Commented out code_out.cpp generating. | Mattes D | 2016-08-06 | 1 | -0/+4 |
| | | | | Fixes #3296. | ||||
* | Fixed RasPi builds of unit tests. | Mattes D | 2016-08-04 | 2 | -16/+15 |
| | | | | | On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds. | ||||
* | CMake: Fix system Lua usage for non-5.1 versions. (#3271) | Mattes D | 2016-07-21 | 1 | -1/+1 |
| | |||||
* | CMake: Remove needless minimum version specifications. | Mattes D | 2016-07-18 | 1 | -1/+0 |
| | |||||
* | Use system Lua, if available, to generate bindings. | Mattes D | 2016-07-18 | 1 | -12/+15 |
| | | | | Closes #1031. | ||||
* | DiffAPIDesc: Support optional params in desc. | Mattes D | 2016-07-18 | 1 | -12/+12 |
| | |||||
* | LuaAPI: Fixed bindings for cChunkDesc:GetBlockTypeMeta | Mattes D | 2016-07-18 | 1 | -0/+32 |
| | |||||
* | Bindings: Added a script to generate a diff between APIDesc and ToLua. | Mattes D | 2016-07-18 | 2 | -3/+553 |
| | | | | This allows a simple copy operation from the DoxyComments into APIDesc. | ||||
* | Bindings: Don't generate docs for private symbols, mark static symbols. | Mattes D | 2016-07-18 | 1 | -13/+35 |
| | |||||
* | Bindings: Output description is valid Lua file. | Mattes D | 2016-07-18 | 1 | -3/+7 |
| | |||||
* | Bindings: Extract unexported DoxyComments. | Mattes D | 2016-07-18 | 1 | -15/+134 |
| | |||||
* | Bindings: Extract DoxyComments | Mattes D | 2016-07-18 | 1 | -18/+187 |
| | |||||
* | Added a Pure-Lua implementation for bindings generation. | Mattes D | 2016-07-18 | 2 | -2/+508 |
| | | | | | The BindingsProcessor.lua script can be opened in ZeroBraneStudio and debugged from there, it invokes the entire ToLua++ processing. Also added docs-generation to the ToLua++ processor. | ||||
* | Fixed Lua Json serializing a bool. | Mattes D | 2016-07-10 | 1 | -0/+10 |
| | | | | Fixes #3257. | ||||
* | Bindings: Added missing dependencies. | Mattes D | 2016-07-02 | 1 | -0/+12 |
| | | | | Fixes #3245 | ||||
* | CircleCI: Check for missing Bindings dependencies | Mattes D | 2016-07-02 | 1 | -0/+108 |
| | | | | This commit fails the CircleCI tests on purpose, so that we know that the check works. | ||||
* | Converted cLuaState::cCallbackPtr into a UniquePtr. | Mattes D | 2016-06-27 | 9 | -24/+39 |
| | |||||
* | Removed dead code related to callbacks. | Mattes D | 2016-06-27 | 4 | -43/+3 |
| | |||||
* | cPluginManager: Use a callback for command handler registration. | Mattes D | 2016-06-27 | 7 | -200/+141 |
| | |||||
* | LuaState: Implemented proper locking for cCallback. | Mattes D | 2016-06-27 | 11 | -115/+151 |
| | |||||
* | Changed cLuaWindow callbacks to use cLuaState::cCallback. | Mattes D | 2016-06-27 | 5 | -179/+239 |
| | |||||
* | Removed the cPluginLua::cResettable class. | Mattes D | 2016-06-27 | 2 | -82/+1 |
| | | | | The functionality provided by that class has been superseded by cLuaState::cCallback, with better multithreading support. | ||||
* | Changed world tasks to use cLuaState::cCallback. | Mattes D | 2016-06-27 | 1 | -67/+38 |
| | |||||
* | Changed plugin hook registrations to use cLuaState::cCallback. | Mattes D | 2016-06-27 | 5 | -1008/+190 |
| | |||||
* | Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. | Mattes D | 2016-06-27 | 9 | -354/+263 |
| | |||||
* | Added cLuaState::cCallback for representing (resettable) Lua callbacks. | Mattes D | 2016-06-27 | 2 | -7/+231 |
| | |||||
* | Normalized Vector3 API to use the same capitalization as all else. | Mattes D | 2016-06-10 | 1 | -0/+58 |
| | |||||
* | Bindings: Fixed cBoundingBox API. | Mattes D | 2016-06-05 | 1 | -0/+80 |
| | |||||
* | Bindings: Add a const-ptr variant to all stack getter functions | Mattes D | 2016-06-05 | 2 | -0/+16 |
| | |||||
* | LuaState: Inter-plugin calls now support simple tables. (#3220) | Mattes D | 2016-05-31 | 2 | -54/+140 |
| | |||||
* | Added GetTeamNames to cScoreboard (#3217) | PlasmaPower | 2016-05-29 | 1 | -0/+25 |
| | | | Resolves #3210 | ||||
* | Revert "Lua callback" | Mattes D | 2016-03-21 | 14 | -934/+1669 |
| | |||||
* | Changed cLuaWindow callbacks to use cLuaState::cCallback. | Mattes D | 2016-03-17 | 5 | -178/+238 |
| | |||||
* | Removed the cPluginLua::cResettable class. | Mattes D | 2016-03-17 | 2 | -82/+1 |
| | | | | The functionality provided by that class has been superseded by cLuaState::cCallback, with better multithreading support. | ||||
* | Changed world tasks to use cLuaState::cCallback. | Mattes D | 2016-03-17 | 1 | -67/+38 |
| | |||||
* | Changed plugin hook registrations to use cLuaState::cCallback. | Mattes D | 2016-03-17 | 5 | -1008/+190 |
| | |||||
* | Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. | Mattes D | 2016-03-17 | 9 | -354/+263 |
| | |||||
* | Added cLuaState::cCallback for representing (resettable) Lua callbacks. | Mattes D | 2016-03-17 | 2 | -7/+231 |
| | |||||
* | Renamed HTTPServer folder to HTTP. | Mattes D | 2016-03-01 | 1 | -1/+1 |
| | | | | It contains client code as well. | ||||
* | LuaTCPLink: Report data received via SSL just before connection closed. | Mattes D | 2016-02-21 | 1 | -2/+10 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 17 | -503/+503 |
| | |||||
* | Fix TabAutoComplete | Marvin Kopf | 2016-02-02 | 1 | -1/+21 |
| | | | | For tab on '/command s' the server now returns 'subcommand' instead of '/command subcommand'. | ||||
* | Fix typo (ammount) | Arnaud Meuret | 2016-01-02 | 1 | -3/+3 |
| | |||||
* | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 2016-01-01 | 1 | -1/+1 |
| | | | | Also upgraded the user setting file for MSVC to 2013. | ||||
* | Added the cUrlParser class, exported to Lua API. | Mattes D | 2015-12-25 | 2 | -1/+160 |
| | |||||
* | Added a Json parser and serializer to Lua API. | Mattes D | 2015-12-24 | 4 | -0/+351 |
| | |||||
* | Fixes for clang-3.7 | Lukas Pioch | 2015-12-19 | 1 | -1/+1 |
| | |||||
* | Added HTTPS links wherever they are supported. | Alexander Harkness | 2015-12-19 | 1 | -1/+1 |
| | |||||
* | Revised the explosion-related Lua API and docs. | Mattes D | 2015-12-18 | 4 | -88/+192 |
| | | | | Fixes #2746. | ||||
* | Fixed warning regarding an uninitialized value | Julian Laubstein | 2015-12-15 | 1 | -1/+1 |
| | |||||
* | Fixed warning regarding an uninitialized value | Julian Laubstein | 2015-12-15 | 1 | -1/+1 |
| | |||||
* | Added PieceStructures generator. | Mattes D | 2015-12-01 | 2 | -8/+92 |
| | |||||
* | Implemented brewing | Lukas Pioch | 2015-11-03 | 8 | -0/+148 |
| | |||||
* | Fixed bindings for cTCPLink:StartTLSClient(). | Mattes D | 2015-10-08 | 1 | -12/+2 |
| | | | | The bindings used to enforce client cert, now it's optional. | ||||
* | Fixed a race condition between chunk loader and generator. | Mattes D | 2015-10-04 | 1 | -2/+2 |
| | | | | | | When using ChunkWorx to generate multiple chunks, the server would sometimes fail an assert because it would generate a chunk even when it was successfully loaded. This was caused by chunks queued in cWorld's m_SetChunkDataQueue and thus being marked as "InQueue" although they were already loaded. Solved by adding a new parameter to chunk coord callbacks specifying whether the operation succeeded or failed, and using that instead of the chunk presence flag to decide whether to generate or not. | ||||
* | Added LuaState tracker and memory stats logging. | Mattes D | 2015-09-28 | 2 | -0/+109 |
| | |||||
* | Made Lua API check strings strictly. | Mattes D | 2015-09-28 | 1 | -1/+4 |
| | | | | Previously nil was accepted as a string in cLuaState::CheckParamString(), now it's reported as an error. | ||||
* | Extended and fixed the cFile API. | Mattes D | 2015-09-26 | 3 | -4/+419 |
| | |||||
* | Prepared ScheduleTask for threading refactor | Tiger Wang | 2015-09-25 | 1 | -44/+11 |
| | | | | | * Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations | ||||
* | Maked it compileable for clang-3.7 | Lukas Pioch | 2015-09-25 | 3 | -8/+8 |
| | |||||
* | Namechange to Cuberite | Mattes D | 2015-09-25 | 2 | -3/+3 |
| | |||||
* | fixed cast | tycho | 2015-09-24 | 1 | -1/+1 |
| | |||||
* | Add new "ForEach" function: ForEachLoadedChunk. | tycho | 2015-09-24 | 1 | -0/+54 |
| | |||||
* | Use container-based infrastructure for Travis | Tiger Wang | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | Some warning fixes | Julian Laubstein | 2015-08-18 | 5 | -35/+64 |
| | |||||
* | Fix old style casts and implicit conversions | Matti Hänninen | 2015-08-12 | 2 | -1/+4 |
| | |||||
* | Refactored code to use cLuaState | Samuel Barney | 2015-08-07 | 2 | -34/+29 |
| | | | | Fixes #2377. | ||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 3 | -16/+14 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 11 | -201/+208 |
| | |||||
* | Buttons no longer click on when already on. Buttons now play sound when clicking off. | Hax52 | 2015-06-24 | 1 | -1/+1 |
| | |||||
* | Added basic support for loading village prefabs from files. | Mattes D | 2015-06-20 | 1 | -1/+5 |
| | |||||
* | Externalized cPrefabPiecePool self-test. | Mattes D | 2015-06-19 | 2 | -4/+7 |
| | |||||
* | LuaState: Added support for config-style usage. | Mattes D | 2015-06-17 | 2 | -36/+196 |
| | | | | | Globals and table values can be queried from the Lua state easily. Use perfect forwarding. | ||||
* | Added HOOK_KILLED | Nounours Heureux | 2015-06-13 | 5 | -0/+47 |
| | |||||
* | Added Build info to the cRoot API. | Mattes D | 2015-06-05 | 1 | -4/+54 |
| | |||||
* | Merge pull request #2172 from mc-server/LightingCallbacks | Mattes D | 2015-06-01 | 1 | -2/+1 |
|\ | | | | | Made cLightingThread own its callbacks | ||||
| * | Made cLightingThread own its callbacks | tycho | 2015-05-30 | 1 | -2/+1 |
| | | |||||
* | | ManualBindings: Fixed DoWithXYZ and ForEachInChunk signatures. | Mattes D | 2015-05-31 | 1 | -4/+6 |
|/ | | | | Fixes forum report http://forum.mc-server.org/showthread.php?tid=1993 | ||||
* | Fix comments | tycho | 2015-05-28 | 1 | -5/+5 |
| | |||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-28 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/Inventory.cpp | ||||
| * | Only add default plugins if there are not any plugins | worktycho | 2015-05-25 | 1 | -1/+1 |
| | | | | | | Fixes #2082 | ||||
* | | Fix comments | tycho | 2015-05-24 | 1 | -1/+1 |
| | | |||||
* | | Made -Weverything an error. | tycho | 2015-05-24 | 3 | -4/+9 |
| | | |||||
* | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 1 | -1/+1 |
|\| | |||||
| * | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 2015-05-23 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 6 | -11/+11 |
|\| | |||||
| * | TryGetHeight returns a bool | Alexander Harkness | 2015-05-23 | 1 | -1/+1 |
| | | | | | | should fix #2099 | ||||
| * | Renamed hook HOOK_ENTITY_CHANGE_WORLD | Lukas Pioch | 2015-05-21 | 5 | -10/+10 |
| | | |||||
* | | Make -Werror disabling file only | tycho | 2015-05-19 | 1 | -0/+4 |
| | | | | | | | | Ad fix a load of warnings | ||||
* | | Added LuaState support for all integral types | tycho | 2015-05-19 | 8 | -69/+71 |
|/ | | | | All so added error handling for out of range values | ||||
* | Merge pull request #2019 from mc-server/OverrideArgs | Alexander Harkness | 2015-05-19 | 2 | -25/+24 |
|\ | | | | | Initial Implementation of command line arguments | ||||
| * | Initial implementation of IniFile overloading | tycho | 2015-05-16 | 2 | -25/+24 |
| | | |||||
* | | Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLD | Lukas Pioch | 2015-05-18 | 5 | -0/+94 |
| | | | | | | | | Fixes #1435. | ||||
* | | Lua: Break into ZBS debugger on API errors. | Mattes D | 2015-05-16 | 2 | -0/+29 |
|/ | |||||
* | Fixed cPluginManager:ForEachCommand() and ForEachConsoleCommand() | Mattes D | 2015-05-14 | 1 | -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/ManualBindingsWorld | Mattes D | 2015-05-14 | 7 | -1217/+1253 |
|\ | | | | | Moved cWorld manual bindings out into a separate file. | ||||
| * | Moved cWorld manual bindings out into a separate file. | Mattes D | 2015-05-13 | 7 | -1217/+1253 |
| | | |||||
* | | All in-game commands go through the OnExecuteCommand hook. | Mattes D | 2015-05-13 | 1 | -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 D | 2015-05-12 | 9 | -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 D | 2015-05-11 | 1 | -481/+7 |
| | |||||
* | OnExecuteCommand hook can override the command result (crXXX). | Mattes D | 2015-05-10 | 7 | -17/+35 |
| | |||||
* | Exported cPluginManager:ExecuteConsoleCommand() to Lua API. | Mattes D | 2015-05-10 | 2 | -2/+41 |
| | | | | Fixes #1999. | ||||
* | Call HOOK_EXECUTE_COMMAND even for unknown console commands. | Mattes D | 2015-05-10 | 1 | -0/+2 |
| | | | | This allows plugins such as Aliases to intercept even unknown commands. | ||||
* | Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND. | Mattes D | 2015-05-10 | 5 | -9/+9 |
| | | | | Fixes #1996. | ||||
* | Merge remote-tracking branch 'origin/master' into warnings | Tiger Wang | 2015-05-10 | 4 | -12/+12 |
|\ | | | | | | | | | | | Conflicts: src/Mobs/Monster.cpp src/Vector3.h | ||||
| * | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 2 | -9/+9 |
| | | |||||
| * | More style checking. | Mattes D | 2015-05-09 | 2 | -3/+3 |
| | | | | | | | | Spaces around some operators are checked. | ||||
* | | Fixed some Visual Studio warnings | Tiger Wang | 2015-05-09 | 3 | -5/+18 |
|/ | |||||
* | Fixed inter-plugin calls. | Mattes D | 2015-05-07 | 2 | -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 Packet | tycho | 2015-05-07 | 3 | -1/+104 |
| | | | | Also started refactoring how broadcasts are handled | ||||
* | Update submodules | Tiger Wang | 2015-05-02 | 1 | -1/+1 |
| | |||||
* | Fixed bindings for cFile:ReadWholeFile(). | Mattes D | 2015-04-30 | 1 | -7/+38 |
| | | | | Fixes #1914 | ||||
* | Added cBlockArea:GetNonAirCropRelCoords() API function. | Mattes D | 2015-04-29 | 3 | -1/+74 |
| | | | | Fixes #1915. | ||||
* | cPlayer now checks restrictions. | Mattes D | 2015-04-25 | 1 | -0/+32 |
| | | | | Fixes #1331. | ||||
* | Added player restrictions to the DB and API. | Mattes D | 2015-04-25 | 1 | -35/+283 |
| | |||||
* | Plugin removes its command registrations and webtabs when unloaded. | Mattes D | 2015-04-25 | 1 | -0/+5 |
| | | | | Fixes #1890. | ||||
* | Refactored ManualBindings' callbacks using templates. | Mattes D | 2015-04-23 | 3 | -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 D | 2015-04-23 | 3 | -170/+294 |
| | | | | Both functions are exported as static. | ||||
* | Added cPluginManager:IsPluginLoaded() API, better load error msgs. | Mattes D | 2015-04-19 | 2 | -5/+42 |
| | |||||
* | Refactored cWebPlugin for C++11 style and proper WebTab clearing. | Mattes D | 2015-04-19 | 5 | -101/+147 |
| | |||||
* | Split the plugin names and plugin folders to avoid confusing them. | Mattes D | 2015-04-19 | 7 | -364/+458 |
| | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1877 | ||||
* | Removed HOOK_MAX and HOOK_NUM_HOOKS from Lua API. | Mattes D | 2015-04-13 | 1 | -2/+3 |
| | |||||
* | Fixed plugin hook calls when unloading plugins. | Mattes D | 2015-04-10 | 1 | -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/UnifyPacketizer | Mattes D | 2015-03-24 | 1 | -1/+5 |
|\ | | | | | Unify packetizer | ||||
| * | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 1 | -1/+5 |
| | | |||||
* | | cPluginLua:cResettable no longer shares CS with plugin. | Mattes D | 2015-03-20 | 2 | -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 D | 2015-03-20 | 3 | -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 D | 2015-03-19 | 1 | -2/+4 |
| | |||||
* | AllToLua: Fixed cMonster inheritance. | Mattes D | 2015-03-19 | 1 | -2/+2 |
| | |||||
* | Improved DoWithID bindings. | Mattes D | 2015-03-19 | 1 | -3/+3 |
| | |||||
* | AllToLua: Removed an unneeded class declaration. | Mattes D | 2015-03-19 | 2 | -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 D | 2015-03-19 | 1 | -26/+45 |
| | | | | Fixes #1789. | ||||
* | Merge pull request #1761 from mc-server/NetworkIPEnum | Mattes D | 2015-03-12 | 1 | -5/+30 |
|\ | | | | | cNetwork: Added EnumLocalIPAddresses() function. | ||||
| * | cNetwork: Added EnumLocalIPAddresses() function. | Mattes D | 2015-02-22 | 1 | -5/+30 |
| | | |||||
* | | Merge pull request #1807 from flx5/master | Mattes D | 2015-03-11 | 6 | -23/+42 |
|\ \ | | | | | | | Fixes #493 and #490 | ||||
| * | | Fixed coding conventions for Pull Request #1807 | flx5 | 2015-03-11 | 4 | -23/+26 |
| | | | |||||
| * | | Fixes #493 and #490 | flx5 | 2015-03-11 | 6 | -12/+28 |
| | | | |||||
* | | | Merge branch 'master' into Inventory | Howaner | 2015-03-09 | 19 | -3/+2910 |
|\| | | |||||
| * | | Added OnTeleportEntity hook for plugins. | joshi07 | 2015-03-05 | 5 | -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 D | 2015-03-03 | 1 | -4/+4 |
| | | | | | | | | | | | | std::setw() is only valid for one output operation and needs to be set again in each loop repetition. | ||||
| * | | Fixed operators | STRWarrior | 2015-02-23 | 1 | -6/+6 |
| | | | |||||
| * | | Added forgotten indent | STRWarrior | 2015-02-23 | 1 | -2/+2 |
| | | | |||||
| * | | Replaced lua_isXYZ with cLuaState::CheckParamXYZ | STRWarrior | 2015-02-23 | 1 | -12/+13 |
| | | | |||||
| * | | Exported all compression functions in a new class. | STRWarrior | 2015-02-23 | 1 | -16/+129 |
| | | | |||||
| * | | Exported CompressString and UncompressString to Lua | STRWarrior | 2015-02-22 | 1 | -0/+37 |
| |/ | |||||
| * | Merge pull request #1758 from mc-server/CryptoHashAPI | Mattes D | 2015-02-21 | 1 | -2/+107 |
| |\ | | | | | | | Added cCryptoHash namespace to Lua API | ||||
| | * | Added cCryptoHash namespace to Lua API. | Mattes D | 2015-02-21 | 1 | -2/+107 |
| | | | |||||
| * | | Merge pull request #1755 from mc-server/NetworkUDP | Mattes D | 2015-02-21 | 6 | -31/+620 |
| |\ \ | | |/ | |/| | cNetwork: Added UDP API. | ||||
| | * | cNetwork: Added UDP API. | Mattes D | 2015-02-20 | 6 | -31/+620 |
| | | | |||||
| * | | Fixed crash when logging nil values. | Matyas Dolak | 2015-02-20 | 1 | -0/+32 |
| |/ | | | | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1798 | ||||
| * | Fixed Linux compilation. | Mattes D | 2015-02-14 | 2 | -2/+2 |
| | | |||||
| * | Exported TLS server start on cTCPLink to Lua API. | Mattes D | 2015-02-13 | 3 | -7/+188 |
| | | |||||
| * | Exported cTCPLink:Close and :Shutdown() to Lua API. | Mattes D | 2015-02-13 | 1 | -13/+83 |
| | | |||||
| * | Fixed Linux compilation. | Mattes D | 2015-02-12 | 1 | -1/+1 |
| | | | | | | | | std::make_unique is not available in C++11. | ||||
| * | LuaAPI: Added client TLS support for TCP links. | Mattes D | 2015-02-12 | 5 | -5/+321 |
| | | |||||
| * | APIDump: Added cNetwork documentation. | Mattes D | 2015-02-06 | 1 | -1/+1 |
| | | |||||
| * | LuaServerHandle: Removed debugging output. | Mattes D | 2015-02-04 | 1 | -4/+0 |
| | | |||||
| * | Exported cServerHandle and cNetwork:Listen to Lua. | Mattes D | 2015-02-04 | 9 | -14/+609 |
| | | | | | | | | Also added an example to the NetworkTest plugin. | ||||
| * | cNetwork: Exported lookup functions to Lua API. | Mattes D | 2015-02-04 | 5 | -3/+219 |
| | | | | | | | | Also added an example in the NetworkTest plugin. | ||||
| * | cNetwork: Exported the Connect() method and cTCPLink class to Lua. | Mattes D | 2015-02-04 | 8 | -1/+614 |
| | | |||||
* | | Merge branch 'master' into Inventory | Howaner | 2015-02-06 | 1 | -15/+1 |
|\| | |||||
| * | Switched LuaState to use sizeof... | tycho | 2015-01-31 | 1 | -15/+1 |
| | | |||||
* | | Merge branch 'master' into Inventory | Howaner | 2015-01-25 | 7 | -23/+41 |
|\| | |||||
| * | Merge pull request #1702 from mc-server/chrono | Mattes D | 2015-01-18 | 7 | -5/+13 |
| |\ | | | | | | | Started to convert more of MCServer to std::chrono | ||||
| | * | Fixed type-conversion warnings. | Mattes D | 2015-01-18 | 1 | -1/+1 |
| | | | |||||
| | * | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 7 | -5/+13 |
| | | | | | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
| * | | Fixed CppCheck: (performance) Function parameter should be passed by reference. | Kirill Kirilenko | 2015-01-17 | 2 | -4/+4 |
| |/ | |||||
| * | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 5 | -15/+25 |
| | | | | | | | | Fixes #1618. | ||||
* | | C++11 and function rename. | Howaner | 2014-12-17 | 2 | -0/+19 |
|/ | |||||
* | Exported cWorld:PrepareChunk to Lua API, test in Debuggers. | Mattes D | 2014-12-12 | 1 | -0/+67 |
| | |||||
* | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 2 | -2/+21 |
| | |||||
* | Fixed the CRAFTING_NO_RECIPE hook call. | Mattes D | 2014-12-04 | 5 | -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 messages | p-mcgowan | 2014-12-03 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into MobSpawner | Howaner | 2014-12-01 | 1 | -0/+38 |
|\ | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua | ||||
| * | Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead | Howaner | 2014-11-29 | 1 | -0/+38 |
| | | |||||
* | | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. | Howaner | 2014-11-29 | 1 | -0/+1 |
|/ | |||||
* | Use cLuaState's stack trace. | Howaner | 2014-11-17 | 1 | -48/+27 |
| | |||||
* | Added UpdateSign() method to DeprecatedBindings.cpp | Howaner | 2014-11-17 | 2 | -3/+88 |
| | |||||
* | Fixed a security problem with signs. | Howaner | 2014-11-15 | 1 | -1/+1 |
| | |||||
* | renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump | Lukas Pioch | 2014-11-05 | 1 | -2/+2 |
| | |||||
* | Added FindAndDoWithUUID | Lukas Pioch | 2014-11-02 | 1 | -0/+2 |
| | |||||
* | cLuaState: Fixed errors on non-existent callbacks. | Mattes D | 2014-10-31 | 1 | -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 D | 2014-10-23 | 2 | -2/+2 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 11 | -221/+221 |
| | |||||
* | LuaState: Projectiles are pushed using their full class. | Mattes D | 2014-10-22 | 1 | -1/+1 |
| | |||||
* | Properly exported cItemFrame and cHangingEntity to Lua. | Mattes D | 2014-10-21 | 2 | -0/+4 |
| | |||||
* | Exported individual projectile classes to Lua API. | Mattes D | 2014-10-21 | 2 | -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 D | 2014-10-21 | 1 | -7/+48 |
| | |||||
* | Fixed a potential crash in cEntity bindings. | Mattes D | 2014-10-20 | 1 | -2/+6 |
| | |||||
* | Found it! | Julian Laubstein | 2014-10-20 | 1 | -1/+1 |
| | |||||
* | Added error message | Julian Laubstein | 2014-10-20 | 1 | -9/+0 |
| | |||||
* | Added error handling to load <plugin> command | Julian Laubstein | 2014-10-20 | 1 | -1/+11 |
| | |||||
* | Fixed minor style issues. | Mattes D | 2014-10-19 | 1 | -1/+1 |
| | |||||
* | cLuaState: cMonster descendants don't push their specific type. | Mattes D | 2014-10-19 | 1 | -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 D | 2014-10-19 | 1 | -1/+1 |
| | |||||
* | LuaState: Pushing a cEntity pushes the correct class name. | Mattes D | 2014-10-19 | 1 | -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 D | 2014-10-19 | 3 | -237/+0 |
| | | | | LuaState_Call.inc is no longer needed, it was replaced with variadic templates. | ||||
* | Merge pull request #1502 from mc-server/furnaces | Tiger Wang | 2014-10-18 | 1 | -34/+34 |
|\ | | | | | Improved furnaces | ||||
| * | Fixed failure for cRankManager to restart | Tiger Wang | 2014-10-18 | 1 | -34/+34 |
| | | |||||
* | | LuaChunkStay: Fixed a crash on unused callback. | Mattes D | 2014-10-17 | 1 | -2/+6 |
| | | |||||
* | | Use universal references | worktycho | 2014-10-16 | 1 | -4/+4 |
| | | |||||
* | | cLuaState::Call() uses variadic templates. | Mattes D | 2014-10-15 | 1 | -3/+75 |
| | | | | | | | | (doesn't compile) | ||||
* | | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 5 | -124/+122 |
| | | |||||
* | | Moved a few objects to unique_ptr | tycho | 2014-10-10 | 1 | -1/+1 |
| | | |||||
* | | Fixed crash in ForEachEntityInBox API. | madmaxoft | 2014-10-06 | 3 | -6/+18 |
| | | | | | | | | Fixes #1511. | ||||
* | | Fixed eMonsterType Lua API mismatch. | madmaxoft | 2014-10-05 | 1 | -0/+1 |
|/ | |||||
* | Bindings: Fixed binding for cPlayer::PermissionMatches(). | madmaxoft | 2014-10-01 | 1 | -10/+4 |
| | |||||
* | Renamed GetAllPlayers() to GetAllPlayerUUIDs() | Howaner | 2014-09-29 | 1 | -5/+5 |
| | |||||
* | Fixed SetDefaultRank() return value. | Howaner | 2014-09-28 | 1 | -1/+1 |
| | |||||
* | cRankManager: Added ClearPlayerRanks() | Howaner | 2014-09-28 | 1 | -0/+22 |
| | |||||
* | cRankManager: Added GetAllPlayers() and GetPlayerName() | Howaner | 2014-09-28 | 1 | -0/+61 |
| | |||||
* | Merge pull request #1455 from mc-server/includes | Tiger Wang | 2014-09-26 | 10 | -22/+15 |
|\ | | | | | Removed a few unnecessary includes | ||||
| * | Update Plugin.h | worktycho | 2014-09-26 | 1 | -2/+0 |
| | | |||||
| * | Removed a few unnessicary includes | Tycho | 2014-09-26 | 10 | -21/+16 |
| | | |||||
* | | Removed more unessicary includes | Tycho | 2014-09-26 | 2 | -2/+0 |
| | | |||||
* | | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -0/+2 |
|/ | |||||
* | Merge remote-tracking branch 'origin/master' into EntitiesInBox | madmaxoft | 2014-09-04 | 1 | -1/+1 |
|\ | |||||
| * | Merge pull request #1351 from LO1ZB/remove-a_RelY | Mattes D | 2014-09-03 | 1 | -1/+1 |
| |\ | | | | | | | remove y-coord from chunks | ||||
| | * | remove y-coord from chunks | LO1ZB | 2014-08-28 | 1 | -1/+1 |
| | | | |||||
* | | | LuaState: Fixed class value-getting off the stack. | madmaxoft | 2014-09-03 | 1 | -4/+4 |
| | | | |||||
* | | | LuaState: Fixed referenced function pushing. | madmaxoft | 2014-09-03 | 2 | -1/+9 |
| | | | | | | | | | | | | The references are no longer destroyed by the call. | ||||
* | | | Exported ForEachEntityInBox() to Lua API. | madmaxoft | 2014-09-03 | 1 | -0/+70 |
| | | | |||||
* | | | Added cWorld::ForEachEntityInBox() | madmaxoft | 2014-09-03 | 2 | -0/+36 |
|/ / | |||||
* | | Rewrited furnace.txt loading. | Howaner | 2014-08-31 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into CraftingFixes | Mattes D | 2014-08-28 | 14 | -60/+1268 |
|\| | |||||
| * | RankMgr: Exported the default-rank functions. | Mattes D | 2014-08-24 | 1 | -0/+55 |
| | | |||||
| * | RankMgr: Unified function signature comments in the bindings. | Mattes D | 2014-08-23 | 2 | -28/+36 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into Ranks | Mattes D | 2014-08-22 | 10 | -18/+102 |
| |\ | |||||
| | * | Fixed cPlugin::OnPlayerMoving signature. | Mattes D | 2014-08-22 | 3 | -3/+3 |
| | | | |||||
| | * | cLuaState: Fixed Vector3<> names pushed to Lua. | Mattes D | 2014-08-22 | 2 | -5/+44 |
| | | | |||||
| | * | Sorted the generated param count. | Mattes D | 2014-08-21 | 1 | -1/+1 |
| | | | |||||
| | * | Fixed a compile-time warning in MSVC. | Mattes D | 2014-08-21 | 1 | -1/+1 |
| | | | |||||
| | * | Merge pull request #1339 from mc-server/Hooks | STRWarrior | 2014-08-20 | 6 | -0/+45 |
| | |\ | | | | | | | | | Added HOOK_SERVER_PING | ||||
| | | * | Renamed a_Motd to a_ServerDescription. | Howaner | 2014-08-20 | 5 | -7/+7 |
| | | | | |||||
| | | * | Added a_ClientHandle to the HOOK_SERVER_PING hook. | Howaner | 2014-08-20 | 6 | -8/+9 |
| | | | | |||||
| | | * | Cleaned up code. | Howaner | 2014-08-20 | 2 | -847/+1 |
| | | | | |||||
| | | * | Added HOOK_SERVER_PING | Howaner | 2014-08-20 | 6 | -7/+854 |
| | | | | |||||
| | | * | First implementation of HOOK_SERVER_PING. | Howaner | 2014-08-16 | 5 | -0/+43 |
| | | | | |||||
| | * | | Better OnPlayerMoving hook. | Howaner | 2014-08-16 | 5 | -7/+7 |
| | | | | |||||
| | * | | Merge pull request #1308 from mc-server/logger | Mattes D | 2014-08-15 | 2 | -6/+6 |
| | |\ \ | | | |/ | | |/| | New Logging framework | ||||
| | | * | Fix messing rename | Tycho | 2014-08-12 | 1 | -1/+1 |
| | | | | |||||
| | | * | Renamed Loggers | Tycho | 2014-08-12 | 1 | -5/+5 |
| | | | | |||||
| | | * | First Implementatation of new Loggin framework | Tycho | 2014-08-10 | 2 | -6/+6 |
| | | | | |||||
| * | | | RankMgr: Added cRankManager::RemovePlayerRank(). | Mattes D | 2014-08-21 | 1 | -0/+30 |
| | | | | |||||
| * | | | Removed Group.h from Bindings' dependencies. | Mattes D | 2014-08-21 | 1 | -1/+0 |
| | | | | |||||
| * | | | Removed cGroup and cGroupManager. | Mattes D | 2014-08-21 | 1 | -1/+0 |
| | | | | |||||
| * | | | cMojangAPI: Fixed MakeUUID___() bindings. | Mattes D | 2014-08-21 | 1 | -0/+58 |
| | | | | | | | | | | | | | | | | ToLua would generate a shadow return value for the input strings. | ||||
| * | | | RankMgr bindings: fixed GetRankVisuals return value. | Mattes D | 2014-08-20 | 1 | -18/+22 |
| | | | | |||||
| * | | | RankMgr: Fixed an ignored return value in the API. | Mattes D | 2014-08-20 | 1 | -2/+2 |
| | | | | |||||
| * | | | cPlayer reads ranks from cRankManager. | Mattes D | 2014-08-19 | 1 | -39/+54 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/master' into Ranks | madmaxoft | 2014-08-12 | 1 | -1/+1 |
| |\| | | |||||
| * | | | Fixed unchecked return values. | madmaxoft | 2014-08-11 | 1 | -3/+6 |
| | | | | |||||
| * | | | WebAdmin: Manually exported string conversion functions. | madmaxoft | 2014-08-09 | 1 | -1/+59 |
| | | | | | | | | | | | | | | | | ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | ||||
| * | | | RankMgr: Added GetRankVisuals() function. | madmaxoft | 2014-08-09 | 1 | -2/+38 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/master' into Ranks | madmaxoft | 2014-08-09 | 1 | -1/+28 |
| |\ \ \ | |||||
| * | | | | Exported cRankManager to LuaAPI. | madmaxoft | 2014-08-08 | 4 | -1/+891 |
| | | | | | |||||
| * | | | | cLuaState: Added GetStackValues() auto-generated templates. | madmaxoft | 2014-08-08 | 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. | ||||
* | | | | | Fixed spaces after "template" keyword. | Mattes D | 2014-08-28 | 1 | -6/+6 |
| |_|/ / |/| | | | |||||
* | | | | Fixed circular dependecy luaState_Call.inc | Tycho | 2014-08-10 | 1 | -1/+1 |
| | | | | |||||
* | | | | WebAdmin: Manually exported string conversion functions. | madmaxoft | 2014-08-09 | 1 | -1/+59 |
| |/ / |/| | | | | | | | | ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | ||||
* | | | Removed debug message. | Howaner | 2014-08-07 | 1 | -1/+0 |
| |/ |/| | |||||
* | | Made lua clamp() compatible with all number types. | Howaner | 2014-08-05 | 1 | -4/+4 |
| | | |||||
* | | Added api documentation for Clamp() | Howaner | 2014-08-05 | 1 | -2/+2 |
| | | |||||
* | | Added Clamp() function to the lua api. | Howaner | 2014-08-05 | 1 | -0/+28 |
|/ | |||||
* | Made AllToLua output consistent | Tiger Wang | 2014-08-04 | 1 | -2/+2 |
| | |||||
* | CheckBasicStyle: multi-level indent change. | madmaxoft | 2014-08-04 | 1 | -0/+2 |
| | |||||
* | cMojangAPI: Added UUID-to-Name lookup. | madmaxoft | 2014-08-03 | 1 | -1/+97 |
| | | | | Also fixed the bindings, now all functions are static-like. | ||||
* | Merge pull request #1255 from mc-server/NameToUUID | Mattes D | 2014-08-01 | 2 | -0/+72 |
|\ | | | | | Name to UUID | ||||
| * | Merged branch 'master' into NameToUUID. | madmaxoft | 2014-07-31 | 2 | -23/+35 |
| |\ | |||||
| * | | 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 |
| | | | |||||
* | | | Exported the beacon. | Howaner | 2014-07-30 | 3 | -0/+4 |
| |/ |/| | |||||
* | | Merged branch 'howaner/Options'. | madmaxoft | 2014-07-30 | 1 | -16/+30 |
|\ \ | |||||
| * | | Fixed plugin count and fixed plugin loading, when settings.ini was regenerated. | Howaner | 2014-07-27 | 1 | -16/+30 |
| |/ | |||||
* | | Fixed "Dependency" typos | archshift | 2014-07-30 | 1 | -2/+2 |
| | | |||||
* | | Slight cleanup after portals | Tiger Wang | 2014-07-29 | 1 | -5/+3 |
|/ | |||||
* | 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 |