summaryrefslogtreecommitdiffstats
path: root/src/Generating/PrefabPiecePool.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a formatting function for Vector3 (#4282)peterbell102018-09-241-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)peterbell102018-08-291-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)peterbell102018-05-021-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 macrospeterbell102017-07-211-1/+1
|
* PieceGenerator: Added rotation-aware vertical connectors.Mattes D2017-02-131-3/+9
|
* Fixed race conditions and forgotten clear in Lua ref tracking. (#3530)Mattes D2017-01-131-0/+1
| | | This fixes occasional crashes on plugin reload.
* Prefabs: Implemented support for ExpandFloorStrategy.Mattes D2016-11-241-10/+44
|
* SelfTests: Removed the unneeded cSelfTests class.Mattes D2016-06-181-1/+0
|
* Added more details to the cubeset format documentation.Mattes D2015-12-011-2/+2
|
* Added PieceStructures generator.Mattes D2015-12-011-56/+176
|
* Generator: Fixed missing hitbox assignment.Mattes D2015-10-051-0/+1
| | | | This had caused village houses to generate too close to each other.
* Added basic support for loading village prefabs from files.Mattes D2015-06-201-2/+76
|
* Externalized cPrefabPiecePool self-test.Mattes D2015-06-191-27/+2
|
* PrefabPiecePool: Added loading from cubeset file.Mattes D2015-06-181-0/+439
|
* Made -Weverything an error.tycho2015-05-241-3/+3
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-3/+3
|
* Merge remote-tracking branch 'origin/master' into VillageGenmadmaxoft2014-05-291-0/+28
|\
| * Fixed a memory leak in cPrefabPiecePool.madmaxoft2014-05-281-0/+28
| | | | | | | | The pool pieces weren't freed upon pool destruction.
* | cPieceGenerator chooses starting pieces based on weights.madmaxoft2014-05-271-0/+9
|/ | | | Fixes #1033.
* Initial cPrefabPiecePool refactoring.madmaxoft2014-05-071-0/+121
Ref.: #986.