Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: Fix clang build pt.3 | Lioncash | 2020-10-22 | 1 | -2/+2 |
| | | | | Should finally resolve building with clang. | ||||
* | Revert "core: Fix clang build" | bunnei | 2020-10-21 | 1 | -2/+2 |
| | |||||
* | Merge pull request #4796 from lioncash/clang | LC | 2020-10-21 | 1 | -2/+2 |
|\ | | | | | core: Fix clang build | ||||
| * | core: Fix clang build | Lioncash | 2020-10-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | ||||
* | | input_common/CMakeLists: Make some warnings errors | Lioncash | 2020-10-16 | 1 | -2/+2 |
|/ | | | | | Makes the input_common code warnings consistent with the rest of the codebase. | ||||
* | input_common/motion_input: Make use of Common::PI constant | Morph | 2020-09-02 | 1 | -1/+1 |
| | | | | Also amend the copyright notice to yuzu's instead of Dolphin's, which was mistakenly copy-pasted from another file. | ||||
* | common: Make use of [[nodiscard]] where applicable | Lioncash | 2020-08-15 | 1 | -5/+5 |
| | | | | | | Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions. | ||||
* | General: Tidy up clang-format warnings part 2 | Lioncash | 2020-08-13 | 1 | -1/+1 |
| | |||||
* | common/math_util: Support float type rectangles | ReinUsesLisp | 2020-02-28 | 1 | -2/+14 |
| | |||||
* | common/math_util: Provide a template deduction guide for Common::Rectangle | Lioncash | 2019-05-31 | 1 | -0/+3 |
| | | | | | | | | | | | | | | Allows for things such as: auto rect = Common::Rectangle{0, 0, 0, 0}; as opposed to being required to explicitly write out the underlying type, such as: auto rect = Common::Rectangle<int>{0, 0, 0, 0}; The only requirement for the deduction is that all constructor arguments be the same type. | ||||
* | common/math_util: Move contents into the Common namespace | Lioncash | 2019-02-27 | 1 | -2/+2 |
| | | | | | These types are within the common library, so they should be within the Common namespace. | ||||
* | common/math_util: Simplify std::make_signed usages to std::make_signed_t | Lioncash | 2018-11-21 | 1 | -2/+2 |
| | | | | Gets rid of the need to use typename to access the ::type alias. | ||||
* | common/math_util: Make Rectangle's constructors constexpr | Lioncash | 2018-11-21 | 1 | -2/+2 |
| | | | | | Allows objects that contain rectangle instances to be constexpr constructible as well. | ||||
* | common/math_util: Remove unnecessary static from PI | Lioncash | 2018-11-21 | 1 | -1/+1 |
| | | | | const/constexpr variables have internal linkage by default. | ||||
* | common/math_util: Remove unused IntervalsIntersect() function | Lioncash | 2018-11-21 | 1 | -6/+0 |
| | | | | | This hasn't been used since the project started, so we may as well get rid of it to keep it from bit rotting. | ||||
* | math_util: Always initialize members of Rectangle | Lioncash | 2018-08-02 | 1 | -5/+5 |
| | | | | Prevents potentially using the members uninitialized. | ||||
* | math_util: Remove the Clamp() function | Lioncash | 2018-04-20 | 1 | -5/+0 |
| | | | | | C++17 adds clamp() to the standard library, so we can remove ours in favor of it. | ||||
* | MathUtil: add PI constant | wwylele | 2016-12-26 | 1 | -0/+2 |
| | |||||
* | Round the rectangle size to prevent float to int casting issues | James Rowe | 2016-11-12 | 1 | -2/+2 |
| | | | | And other minor style changes | ||||
* | Add default hotkey to swap primary screens. | James Rowe | 2016-11-05 | 1 | -4/+2 |
| | | | | Also minor style changes | ||||
* | Rework frame layouts to use a max rectangle instead of hardcoded calculations | James Rowe | 2016-11-05 | 1 | -0/+12 |
| | |||||
* | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2016-09-19 | 1 | -4/+2 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -14/+19 |
| | |||||
* | Render-to-texture flush, interval math fix | tfarley | 2015-06-09 | 1 | -1/+1 |
| | |||||
* | OpenGL renderer | tfarley | 2015-05-23 | 1 | -0/+4 |
| | |||||
* | Common: Remove unused cruft from math_util, and remove a duplicated Rect class in common_types. | Emmanuel Gil Peyrot | 2015-05-14 | 1 | -171/+3 |
| | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | License change | purpasmart96 | 2014-12-21 | 1 | -2/+2 |
| | |||||
* | MathUtil: Make Rectangle work with unsigned types. | Tony Wasserka | 2014-11-18 | 1 | -4/+5 |
| | |||||
* | Common: Add a clamp function to math_utils.h | Lioncash | 2014-08-19 | 1 | -0/+7 |
| | |||||
* | Common: Move header guards over to pragma once | Lioncash | 2014-08-17 | 1 | -5/+1 |
| | | | | Also replaced C headers with the C++ equivalent ones | ||||
* | fixed project includes to use new directory structure | bunnei | 2014-04-09 | 1 | -1/+1 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 1 | -0/+200 |