Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. |