summaryrefslogtreecommitdiffstats
path: root/src/Bindings/DeprecatedBindings.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bindings: Allow coercion between Vector3 subtypes. (#4646)Mattes D2020-04-141-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 D2020-04-031-46/+0
|
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-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)peterbell102018-02-201-9/+55
|
* Removed cBlockInfo.m_IsSnowable (#4105)Bond-0092018-01-231-0/+39
| | | | | | * Removed cBlockInfo.m_IsSnowable * Return IsSnowable from deprecated variable binding m_IsSnowable.
* Fixed Clang 5.0 compile errors (#4085)bibo382017-12-211-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)peterbell102017-08-181-0/+56
| | | | | | | | * Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings
* cBlockInfo: Deprecate place soundpeterbell102017-08-071-0/+61
|
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* Tracer replacement (#3704)Mattes D2017-05-111-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 D2016-06-101-0/+58
|
* Some warning fixesJulian Laubstein2015-08-181-24/+40
|
* Refactored code to use cLuaStateSamuel Barney2015-08-071-27/+18
| | | | Fixes #2377.
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-35/+35
|
* BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-0/+14
|
* clearing CheckBasicStyle.lua messagesp-mcgowan2014-12-031-2/+2
|
* Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() insteadHowaner2014-11-291-0/+38
|
* Use cLuaState's stack trace.Howaner2014-11-171-48/+27
|
* Added UpdateSign() method to DeprecatedBindings.cppHowaner2014-11-171-0/+86
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-18/+18
|
* Removed a few unnessicary includesTycho2014-09-261-5/+0
|
* Merge branch 'master' into saplingsandleavesTiger Wang2014-07-201-25/+25
|\ | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h
| * Fixed style: spaces after commas.madmaxoft2014-07-191-19/+19
| |
| * Normalized comments.madmaxoft2014-07-171-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 leavesTiger Wang2014-07-171-27/+0
|/ | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201
* Removed the bindings to set old g_BlockXXX arrays.Mattes D2014-04-031-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 Barney2014-03-251-0/+1
| | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
* Fixed MSVC warnings in DeprecatedBindings.madmaxoft2014-03-021-8/+76
|
* GetById => Getandrew2014-03-021-9/+9
|
* Removed g_BlockXXX arraysandrew2014-03-021-0/+4
|
* Manually exported g_Block tablesandrew2014-03-021-0/+434