Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed all Printf-family functions from StringUtils. | Mattes D | 2023-05-16 | 1 | -7/+7 |
| | | | | | 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. | ||||
* | Fixed Compiler Warnings | x12xx12x | 2022-01-14 | 1 | -16/+0 |
| | |||||
* | cPieceModifier interface and cPieceModifierRandomizeBlocks class (#5122) | Damián Imrich | 2021-04-08 | 1 | -0/+14 |
| | |||||
* | shared_ptr -> unique_ptr in generators | Tiger Wang | 2021-03-18 | 1 | -5/+1 |
| | |||||
* | zlib -> libdeflate (#5085) | Tiger Wang | 2021-01-11 | 1 | -19/+21 |
| | | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | ||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -2/+2 |
| | |||||
* | Fix building with clang 8.0 (#4346) | Bond-009 | 2019-08-11 | 1 | -4/+6 |
| | |||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 1 | -3/+6 |
| | | | | | | | | | | * 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 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -2/+2 |
| | | | | | | | * 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. | ||||
* | Remove smart pointer macros | peterbell10 | 2017-07-21 | 1 | -1/+1 |
| | |||||
* | PieceGenerator: Added rotation-aware vertical connectors. | Mattes D | 2017-02-13 | 1 | -3/+9 |
| | |||||
* | Fixed race conditions and forgotten clear in Lua ref tracking. (#3530) | Mattes D | 2017-01-13 | 1 | -0/+1 |
| | | | This fixes occasional crashes on plugin reload. | ||||
* | Prefabs: Implemented support for ExpandFloorStrategy. | Mattes D | 2016-11-24 | 1 | -10/+44 |
| | |||||
* | SelfTests: Removed the unneeded cSelfTests class. | Mattes D | 2016-06-18 | 1 | -1/+0 |
| | |||||
* | Added more details to the cubeset format documentation. | Mattes D | 2015-12-01 | 1 | -2/+2 |
| | |||||
* | Added PieceStructures generator. | Mattes D | 2015-12-01 | 1 | -56/+176 |
| | |||||
* | Generator: Fixed missing hitbox assignment. | Mattes D | 2015-10-05 | 1 | -0/+1 |
| | | | | This had caused village houses to generate too close to each other. | ||||
* | Added basic support for loading village prefabs from files. | Mattes D | 2015-06-20 | 1 | -2/+76 |
| | |||||
* | Externalized cPrefabPiecePool self-test. | Mattes D | 2015-06-19 | 1 | -27/+2 |
| | |||||
* | PrefabPiecePool: Added loading from cubeset file. | Mattes D | 2015-06-18 | 1 | -0/+439 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -3/+3 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -3/+3 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into VillageGen | madmaxoft | 2014-05-29 | 1 | -0/+28 |
|\ | |||||
| * | Fixed a memory leak in cPrefabPiecePool. | madmaxoft | 2014-05-28 | 1 | -0/+28 |
| | | | | | | | | The pool pieces weren't freed upon pool destruction. | ||||
* | | cPieceGenerator chooses starting pieces based on weights. | madmaxoft | 2014-05-27 | 1 | -0/+9 |
|/ | | | | Fixes #1033. | ||||
* | Initial cPrefabPiecePool refactoring. | madmaxoft | 2014-05-07 | 1 | -0/+121 |
Ref.: #986. |