Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove simple template-id from constructors for Vector3 template.template-id-ctor-warning | Alexander Harkness | 15 hours | 1 | -2/+2 |
| | | | | | | This was removed from the C++ standard in C++20; annoying warnings are produced by modern C++ compilers. https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2237 | ||||
* | Convert double to ints with floor rather than truncating (#5572) | mjagdis | 4 days | 1 | -2/+9 |
| | | | Signed-off-by: Mike Jagdis <mjagdis@eris-associates.co.uk> | ||||
* | C++17 stuff | Tiger Wang | 2020-09-30 | 1 | -7/+0 |
| | |||||
* | Update submodules | Tiger Wang | 2020-07-23 | 1 | -8/+5 |
| | |||||
* | Cleanup some workarounds and warnings (#4735) | peterbell10 | 2020-05-10 | 1 | -3/+8 |
| | | | | | | | | | * Cleanup thread_local usage in FastRandom * Use constexpr to avoid clang warning * Fix more Wglobal-constructor warnings * Make MSVC happy? | ||||
* | Update fmt to 6.2.0 (#4718) | peterbell10 | 2020-05-05 | 1 | -16/+45 |
| | | | * Update fmt to 6.2.0 | ||||
* | Extended Vector3 (#4666) | Mattes D | 2020-04-18 | 1 | -0/+10 |
| | |||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -0/+24 |
| | |||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 1 | -0/+16 |
| | | | | | | | | | | * 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) | peterbell10 | 2018-07-26 | 1 | -1/+0 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Add TOLUA_EXPOSITION for readability | peterbell10 | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | Cleanup Vector3 constructors and Abs | peterbell10 | 2017-08-28 | 1 | -34/+15 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -5/+0 |
| | |||||
* | Vector3: Removed useless NormalizeCopy overload from LuaAPI. | Mattes D | 2016-07-18 | 1 | -1/+7 |
| | |||||
* | Normalized Vector3 API to use the same capitalization as all else. | Mattes D | 2016-06-10 | 1 | -6/+7 |
| | |||||
* | Updated vector hashing bit operations | LogicParrot | 2016-04-22 | 1 | -6/+4 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -4/+4 |
| | |||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 1 | -0/+5 |
| | | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | ||||
* | Removed unused typedef | worktycho | 2015-10-12 | 1 | -1/+0 |
| | |||||
* | Vector hasher is now a separate class | Tiger Wang | 2015-06-07 | 1 | -6/+22 |
| | |||||
* | Changed appropriate containers to unordered_map | Tiger Wang | 2015-06-06 | 1 | -0/+6 |
| | | | | | | Thanks to @worktycho for guidance! * Potential speed improvements | ||||
* | Merge remote-tracking branch 'origin/master' into warnings | Tiger Wang | 2015-05-10 | 1 | -6/+6 |
|\ | | | | | | | | | | | Conflicts: src/Mobs/Monster.cpp src/Vector3.h | ||||
| * | Fixed remaing pragmas | worktycho | 2015-05-09 | 1 | -3/+3 |
| | | |||||
| * | clang diagnostic not diagnostics | worktycho | 2015-05-09 | 1 | -3/+3 |
| | | | | | | fixed clang pragmas | ||||
| * | Merge pull request #1972 from Woazboat/CodeCleanup_refactored | worktycho | 2015-05-09 | 1 | -4/+4 |
| |\ | | | | | | | Fixed compiler warning overrides in Vector3.h | ||||
| | * | Fixed compiler warning overrides in Vector3.h | Woazboat | 2015-05-09 | 1 | -4/+4 |
| | | | |||||
* | | | Fixed some Visual Studio warnings | Tiger Wang | 2015-05-09 | 1 | -10/+10 |
|/ / | |||||
* | | Merge pull request #1945 from Woazboat/CodeCleanup_refactored | Mattes D | 2015-05-08 | 1 | -6/+26 |
|\| | | | | | Small code cleanup - clean version | ||||
| * | Added float comparison warning overrides to Vector3::hasNonZeroLength | Woazboat | 2015-05-08 | 1 | -7/+16 |
| | | |||||
| * | Ignoring Clang warnings for strict float comparison in Vector::Equals() | Woazboat | 2015-05-08 | 1 | -1/+11 |
| | | |||||
| * | Changed Vector3 Equals function to avoid using memcmp | Woazboat | 2015-05-08 | 1 | -5/+1 |
| | | |||||
| * | Check for zero length vector in Trace | Woazboat | 2015-05-08 | 1 | -0/+5 |
| | | | | | | | | Added hasNonZeroLength member function to Vector3 | ||||
* | | Revert "Small code cleanup" | worktycho | 2015-05-05 | 1 | -6/+5 |
| | | |||||
* | | Merge pull request #1917 from Woazboat/CodeCleanup | worktycho | 2015-05-05 | 1 | -5/+6 |
|\ \ | | | | | | | Small code cleanup | ||||
| * | | Fix HasNonZeroLength name | Woazboat | 2015-04-29 | 1 | -1/+1 |
| | | | | | | | | | | | | now 100% more cs compliant | ||||
| * | | Changed Vector3 Equals function to avoid using memcmp | Woazboat | 2015-04-28 | 1 | -5/+1 |
| | | | |||||
| * | | Check for zero length vector in Trace | Woazboat | 2015-04-28 | 1 | -0/+5 |
| |/ | | | | | | | Added hasNonZeroLength member function to Vector3 | ||||
* / | A* Pathfinding and better monster AI | wiseoldman95 | 2015-05-01 | 1 | -0/+1 |
|/ | |||||
* | Added extra divide operator to Vector3. | STRWarrior | 2015-04-07 | 1 | -0/+9 |
| | | | | The multiply operator had one for both a different vector and a number, but the divide operator didn't. | ||||
* | Added Vector3::TurnCW() and Vector3::TurnCCW() | Mattes D | 2014-12-24 | 1 | -0/+16 |
| | |||||
* | First implementation for the LargeOakTree | STRWarrior | 2014-11-13 | 1 | -0/+15 |
| | |||||
* | Fixed MSVC compilation. | Mattes D | 2014-10-10 | 1 | -1/+0 |
| | |||||
* | Float/Ciel: If it's going to use C++11, it might as well take advantage of it | archshift | 2014-10-09 | 1 | -3/+3 |
| | |||||
* | Use static casts instead of C casts, add floor-cast functions | archshift | 2014-10-09 | 1 | -17/+16 |
| | |||||
* | Fixed spaces around single-line comments. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | | | There should be at least two spaces in front and one space after //-style comments. | ||||
* | Fixed a missing "inline" keyword. | madmaxoft | 2014-07-10 | 1 | -1/+1 |
| | |||||
* | Fixed Vector3.h compilation in MSVC2008. | madmaxoft | 2014-07-10 | 1 | -0/+9 |
| | |||||
* | Compile fix | Tiger Wang | 2014-07-04 | 1 | -1/+1 |
| | |||||
* | Suggestions | Tiger Wang | 2014-07-04 | 1 | -5/+5 |
| | |||||
* | Vector clamping fixes | Tiger Wang | 2014-07-01 | 1 | -17/+16 |
| | | | | Thank you, @madmaxoft. | ||||
* | Implemented Vector3<>::Floor() | Tiger Wang | 2014-06-30 | 1 | -8/+16 |
| | |||||
* | Suggestions | Tiger Wang | 2014-06-29 | 1 | -0/+14 |
| | |||||
* | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-05-10 | 1 | -15/+40 |
|\ | | | | | | | | | Conflicts: src/Chunk.h | ||||
| * | Merge branch 'master' into fixes | Tiger Wang | 2014-05-06 | 1 | -20/+40 |
| |\ | | | | | | | | | | | | | Conflicts: src/Vector3.h | ||||
| | * | Removed convert-assign operator. | madmaxoft | 2014-05-04 | 1 | -8/+0 |
| | | | | | | | | | | | | We want all conversions to be explicit, not hidden. | ||||
| | * | Removed the controversial Vector3::operator <. | madmaxoft | 2014-05-03 | 1 | -6/+0 |
| | | | | | | | | | | | | It hasn't been used in any C++ code and Lua doesn't need it. | ||||
| | * | Fixed float comparison warnings in Vector3. | madmaxoft | 2014-05-03 | 1 | -5/+23 |
| | | | | | | | | | | | | There's a bitwise comparison (Equals), and there's Eps-based comparison (EqualsEps). | ||||
| | * | Implemented a true assignment operator for Vector3. | madmaxoft | 2014-05-03 | 1 | -1/+9 |
| | | | |||||
| | * | Attempted fix for CLang warnings in Vector3.h. | madmaxoft | 2014-05-02 | 1 | -1/+9 |
| | | | | | | | | | | | | C++11 seems to have deprecated classes that have custom copy-constructor but not a custom assignment operator. | ||||
| * | | Suggestions'd #2 | Tiger Wang | 2014-05-06 | 1 | -0/+5 |
| |/ | |||||
* / | cCHunkBuffer that compiles with TestGlobals.h | Tycho | 2014-05-03 | 1 | -0/+2 |
|/ | |||||
* | Rewrote redstone powering to use power levels | Tiger Wang | 2014-04-15 | 1 | -0/+5 |
| | |||||
* | Added Vector3::Move(const Vector3 &). | madmaxoft | 2014-03-25 | 1 | -0/+7 |
| | |||||
* | Vector3: More casts | andrew | 2014-03-12 | 1 | -9/+9 |
| | |||||
* | M_PI MSVC Fix | andrew | 2014-03-12 | 1 | -1/+1 |
| | |||||
* | Vector3: Length() should always return a float | andrew | 2014-03-12 | 1 | -9/+9 |
| | |||||
* | Matrix4: Removed enum | andrew | 2014-03-11 | 1 | -0/+6 |
| | |||||
* | Unified Matrix4 code | andrew | 2014-03-11 | 1 | -1/+1 |
| | |||||
* | LineCoeff Doc | andrew | 2014-03-11 | 1 | -4/+20 |
| | |||||
* | Unified Vector classes | andrew | 2014-03-11 | 1 | -0/+264 |