summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings_BlockArea.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed all Printf-family functions from StringUtils.Mattes D2023-05-161-39/+42
| | | | | Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code.
* Additional Y height checks (#5405)Debucquoy Anthony tonitch2022-06-181-32/+5
| | | | | For redstone wire, block area bindings, and fire simulator. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Unify DoWithBlockEntity (#5168)Tiger Wang2021-03-281-0/+60
| | | | | | + 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
* zlib -> libdeflate (#5085)Tiger Wang2021-01-111-8/+42
| | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
* Fix incorrect formatter invocationTiger Wang2020-05-041-1/+1
|
* Bindings: Allow coercion between Vector3 subtypes. (#4646)Mattes D2020-04-141-8/+2
| | | | | 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.
* Fix off-by-one error and clean error messages in manual bindings for BlockArea (#4549)Alexander Harkness2020-04-011-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
* Added missing closing } in message outputLukas Pioch2019-09-201-1/+1
|
* Add a formatting function for Vector3 (#4282)peterbell102018-09-241-37/+25
| | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-1/+0
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* cBlockArea: Write all present data types by default (#4252)peterbell102018-07-191-11/+21
| | | | | cBlockArea::Write now defaults to use GetDataTypes() instead of assuming all data types are present. Fixes cuberite/WorldEdit#130
* Moved ApiParamError into cLuaState.Mattes D2017-06-261-68/+68
|
* Corrected APIDoc for cBlockArea and exported missing functions (#3808)Lukas Pioch2017-06-261-1/+102
|
* Added check if datatype is present in block area (#3811)Lukas Pioch2017-06-261-0/+6
|
* cBlockArea supports block entities. (#3795)Mattes D2017-06-241-0/+998