File tree Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1
- // Copyright 2016-2023 the openage authors. See copying.md for legal info.
1
+ // Copyright 2016-2024 the openage authors. See copying.md for legal info.
2
2
3
3
#pragma once
4
4
@@ -24,6 +24,9 @@ namespace coord {
24
24
*
25
25
* 'Absolute' and 'Relative' are the absolute and relative types of the
26
26
* derived class (CRTP).
27
+ *
28
+ * If you change this class, remember to update the gdb pretty printers
29
+ * in etc/gdb_pretty/printers.py.
27
30
*/
28
31
template<typename CoordType, typename Absolute, typename Relative>
29
32
struct Coord${camelcase}Absolute {
@@ -87,6 +90,9 @@ struct Coord${camelcase}Absolute {
87
90
*
88
91
* 'Absolute' and 'Relative' are the absolute and relative types of the
89
92
* derived class (CRTP).
93
+ *
94
+ * If you change this class, remember to update the gdb pretty printers
95
+ * in etc/gdb_pretty/printers.py.
90
96
*/
91
97
template<typename CoordType, typename Absolute, typename Relative>
92
98
struct Coord${camelcase}Relative {
Original file line number Diff line number Diff line change 1
- // Copyright 2019-2023 the openage authors. See copying.md for legal info.
1
+ // Copyright 2019-2024 the openage authors. See copying.md for legal info.
2
2
3
3
#pragma once
4
4
@@ -11,6 +11,9 @@ namespace openage::curve {
11
11
/* *
12
12
* A element of the curvecontainer. This is especially used to keep track of
13
13
* the value-timing.
14
+ *
15
+ * If you change this class, remember to update the gdb pretty printers
16
+ * in etc/gdb_pretty/printers.py.
14
17
*/
15
18
template <typename T>
16
19
class Keyframe {
Original file line number Diff line number Diff line change @@ -81,6 +81,9 @@ constexpr static
81
81
* For example,
82
82
* FixedPoint<int64_t, 32>
83
83
* can store values from -2**32 to +2**32 with a constant precision of 2**-32.
84
+ *
85
+ * If you change this class, remember to update the gdb pretty printers
86
+ * in etc/gdb_pretty/printers.py.
84
87
*/
85
88
template <typename int_type, unsigned int fractional_bits>
86
89
class FixedPoint {
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ namespace openage::util {
20
20
*
21
21
* N = dimensions
22
22
* T = underlying single value type (double, float, ...)
23
+ *
24
+ * If you change this class, remember to update the gdb pretty printers
25
+ * in etc/gdb_pretty/printers.py.
23
26
*/
24
27
template <size_t N, typename T>
25
28
class Vector : public std ::array<T, N> {
You can’t perform that action at this time.
0 commit comments