Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-10-18 | cBlockInfo: further cleanup (#5001) | Tiger Wang | 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 | |||||
2020-09-05 | Use pitch lookup in noteblock block entity (#4826) | 12xx12 | 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> | |||||
2020-08-27 | Changed tree-growing functions in cWorld to use Vector3i coords. | Mattes D | 1 | -2/+119 | |
2020-04-17 | More Vector3 in cBlockHandler (#4644) | Mattes D | 1 | -0/+38 | |
* cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. | |||||
2020-04-14 | Bindings: Allow coercion between Vector3 subtypes. (#4646) | Mattes D | 1 | -58/+0 | |
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. | |||||
2020-04-03 | Removed the obsolete cTracer class. (#4594) | Mattes D | 1 | -46/+0 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 1 | -0/+1 | |
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 | |||||
2018-02-20 | cBlockInfo: Deprecate direct access to variables. (#4184) | peterbell10 | 1 | -9/+55 | |
2018-01-23 | Removed cBlockInfo.m_IsSnowable (#4105) | Bond-009 | 1 | -0/+39 | |
* Removed cBlockInfo.m_IsSnowable * Return IsSnowable from deprecated variable binding m_IsSnowable. | |||||
2017-12-21 | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 1 | -1/+1 | |
* 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 | |||||
2017-08-18 | Represent cItem::m_Lore as an AStringVector (#3882) | peterbell10 | 1 | -0/+56 | |
* Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings | |||||
2017-08-07 | cBlockInfo: Deprecate place sound | peterbell10 | 1 | -0/+61 | |
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 1 | -1/+0 | |
2017-05-11 | Tracer replacement (#3704) | Mattes D | 1 | -0/+46 | |
* Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | |||||
2016-06-10 | Normalized Vector3 API to use the same capitalization as all else. | Mattes D | 1 | -0/+58 | |
2015-08-18 | Some warning fixes | Julian Laubstein | 1 | -24/+40 | |
2015-08-07 | Refactored code to use cLuaState | Samuel Barney | 1 | -27/+18 | |
Fixes #2377. | |||||
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -35/+35 | |
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 1 | -0/+14 | |
2014-12-03 | clearing CheckBasicStyle.lua messages | p-mcgowan | 1 | -2/+2 | |
2014-11-29 | Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead | Howaner | 1 | -0/+38 | |
2014-11-17 | Use cLuaState's stack trace. | Howaner | 1 | -48/+27 | |
2014-11-17 | Added UpdateSign() method to DeprecatedBindings.cpp | Howaner | 1 | -0/+86 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -18/+18 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -18/+18 | |
2014-09-26 | Removed a few unnessicary includes | Tycho | 1 | -5/+0 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 1 | -19/+19 | |
2014-07-17 | Fixed issues relating to saplings and leaves | Tiger Wang | 1 | -27/+0 | |
- Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | |||||
2014-07-17 | Normalized comments. | madmaxoft | 1 | -9/+9 | |
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | |||||
2014-04-03 | Removed the bindings to set old g_BlockXXX arrays. | Mattes D | 1 | -297/+65 | |
Those were supposed to be read-only; there's no point in writing to them anyway. Also fixed MSVC type warnings in the code. | |||||
2014-03-25 | More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future. | Samuel Barney | 1 | -0/+1 | |
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | |||||
2014-03-02 | Fixed MSVC warnings in DeprecatedBindings. | madmaxoft | 1 | -8/+76 | |
2014-03-02 | GetById => Get | andrew | 1 | -9/+9 | |
2014-03-02 | Removed g_BlockXXX arrays | andrew | 1 | -0/+4 | |
2014-03-02 | Manually exported g_Block tables | andrew | 1 | -0/+434 | |