Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed tree-growing functions in cWorld to use Vector3i coords. | Mattes D | 2020-08-27 | 1 | -2/+119 |
| | |||||
* | 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. | ||||
* | Bindings: Allow coercion between Vector3 subtypes. (#4646) | Mattes D | 2020-04-14 | 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. | ||||
* | Removed the obsolete cTracer class. (#4594) | Mattes D | 2020-04-03 | 1 | -46/+0 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 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 | ||||
* | cBlockInfo: Deprecate direct access to variables. (#4184) | peterbell10 | 2018-02-20 | 1 | -9/+55 |
| | |||||
* | 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. | ||||
* | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 2017-12-21 | 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 | ||||
* | Represent cItem::m_Lore as an AStringVector (#3882) | peterbell10 | 2017-08-18 | 1 | -0/+56 |
| | | | | | | | | * Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings | ||||
* | cBlockInfo: Deprecate place sound | peterbell10 | 2017-08-07 | 1 | -0/+61 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | Tracer replacement (#3704) | Mattes D | 2017-05-11 | 1 | -0/+46 |
| | | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | ||||
* | Normalized Vector3 API to use the same capitalization as all else. | Mattes D | 2016-06-10 | 1 | -0/+58 |
| | |||||
* | Some warning fixes | Julian Laubstein | 2015-08-18 | 1 | -24/+40 |
| | |||||
* | Refactored code to use cLuaState | Samuel Barney | 2015-08-07 | 1 | -27/+18 |
| | | | | Fixes #2377. | ||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -35/+35 |
| | |||||
* | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 1 | -0/+14 |
| | |||||
* | clearing CheckBasicStyle.lua messages | p-mcgowan | 2014-12-03 | 1 | -2/+2 |
| | |||||
* | Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead | Howaner | 2014-11-29 | 1 | -0/+38 |
| | |||||
* | Use cLuaState's stack trace. | Howaner | 2014-11-17 | 1 | -48/+27 |
| | |||||
* | Added UpdateSign() method to DeprecatedBindings.cpp | Howaner | 2014-11-17 | 1 | -0/+86 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -18/+18 |
| | |||||
* | Removed a few unnessicary includes | Tycho | 2014-09-26 | 1 | -5/+0 |
| | |||||
* | Merge branch 'master' into saplingsandleaves | Tiger Wang | 2014-07-20 | 1 | -25/+25 |
|\ | | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h | ||||
| * | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -19/+19 |
| | | |||||
| * | Normalized comments. | madmaxoft | 2014-07-17 | 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. | ||||
* | | Fixed issues relating to saplings and leaves | Tiger Wang | 2014-07-17 | 1 | -27/+0 |
|/ | | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | ||||
* | 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. | ||||
* | 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 | 1 | -0/+1 |
| | | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | ||||
* | 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 | 1 | -0/+434 |