Juliano Leal Goncalves
d93e1fdf07
✨ Add 'Contains' function for 'Rectangle'
...
This will be useful for various bound checks throughout the code.
5 years ago
Gleb Mazovetskiy
cdbb56150c
Enable video streaming for Haiku ( #1825 )
5 years ago
Anders Jenbo
d94dd1d746
Avoid multiple tasks per job
5 years ago
ephphatha
921c7af8c6
Expand comments for vanilla RNG functions
...
And put them in the header 😂
5 years ago
ephphatha
357f6f1dc3
Move RNG functions to their own header/source files
5 years ago
Anders Jenbo
db3d1d4054
Revert and disable readability-convert-member-functions-to-static
...
This breaks on GCC 6.3
5 years ago
Anders Jenbo
a17d96129f
Fix NOLINT line for readability-convert-member-functions-to-static
...
Reverts: acd74cc0e3
5 years ago
Andrew James
20190ee687
Update random number functions to avoid IB ( #2226 )
...
* Update random number functions to avoid IB
Most calls to set seed were using uint32_t already, there were a few variables which were better served by having their type changed from signed to unsigned. The one exception is ItemStruct::_iSeed. This is an identifier that also happens to be used as a seed occasionally so a comment was added documenting this exception.
Includes suggested style changes for Source/towners.h; Source/towners.cpp; Source/msg.h; Source/multi.h
5 years ago
obligaron
3a9cc631c7
Rename DelayLen -> TicksPerFrame
...
Rename DelayCounter -> TickCounterOfCurrentFrame
5 years ago
obligaron
3ba4bac5e2
Harmonize DelayLen for Player and Monster (was 1-based on monseter (>= DelayLen) and 0-based on player (> DelayLen). Now both are 1-based (>= DelayLen)
5 years ago
Anders Jenbo
0a00d1d7ba
♻️ Use a switch for AddClassHealingBonus
5 years ago
Anders Jenbo
8a4d38dd74
Stabalize clang-tidy runs
5 years ago
Anders Jenbo
fa54499aeb
Clang-tidy: readability-uppercase-literal-suffix
...
Strip suffixes
5 years ago
Anders Jenbo
d8729e6433
Clang-tidy: bugprone-argument-comment
5 years ago
Anders Jenbo
871f168ea0
Clang-tidy: bugprone-reserved-identifier
5 years ago
Anders Jenbo
57caa192fb
Clang-tidy: performance-move-const-arg
5 years ago
Anders Jenbo
51d5c8bcab
Clang-tidy: performance-unnecessary-value-param
5 years ago
Anders Jenbo
f167bd4dfb
Clang-tidy: llvm-include-order
5 years ago
Anders Jenbo
e11b86b6f1
Clang-tidy: llvm-namespace-comment
5 years ago
Anders Jenbo
8c76d45797
Clang-tidy: modernize-avoid-bind
5 years ago
Anders Jenbo
9ea499e7f4
Clang-tidy: modernize-pass-by-value
5 years ago
Anders Jenbo
2fdbd39bb0
Clang-tidy: modernize-raw-string-literal
5 years ago
Anders Jenbo
bf780be1ed
♻️ Cleanup all implicit bool conversions
5 years ago
Anders Jenbo
ec8d7bebe2
Clang-tidy: modernize-use-auto
5 years ago
Anders Jenbo
17e67d2b90
Clang-tidy: modernize-use-equals-default
5 years ago
Anders Jenbo
5bb8f184db
Clang-tidy: modernize-use-nodiscard
5 years ago
Anders Jenbo
acd74cc0e3
Clang-tidy: readability-convert-member-functions-to-static
5 years ago
Anders Jenbo
8f3266244a
Clang-tidy: readability-else-after-return
5 years ago
Anders Jenbo
790f42d078
Clang-tidy: readability-inconsistent-declaration-parameter-name
5 years ago
Anders Jenbo
939003311a
Clang-tidy: readability-make-member-function-const
5 years ago
Anders Jenbo
d3098412ed
Clang-tidy: readability-non-const-parameter
5 years ago
Anders Jenbo
7102724fda
Clang-tidy: readability-named-parameter
5 years ago
Anders Jenbo
de4ced7e4f
Clang-tidy: readability-qualified-auto
5 years ago
Anders Jenbo
f4f8f22699
Clang-tidy: readability-redundant-control-flow
5 years ago
Anders Jenbo
48113d064a
Clang-tidy: readability-redundant-declaration
5 years ago
Anders Jenbo
2641932763
Clang-tidy: readability-static-accessed-through-instance
5 years ago
Anders Jenbo
19d980582f
Clang-tidy: readability-static-definition-in-anonymous-namespace
5 years ago
Anders Jenbo
ef2f3579df
Enable level 2 warnigns on MSVC
5 years ago
Anders Jenbo
d9a04b8390
🚨 Fix bool warning
5 years ago
Anders Jenbo
bf221f4322
Clang-tidy: readability-simplify-boolean-expr
5 years ago
obligaron
d4bda3c13e
ADL: correct comment typo
5 years ago
obligaron
801207a8ac
ADL: Handle incorrect TicksSinceSequenceStarted better
5 years ago
staphen
8fbe5efd9e
Switch custom RNG for libsodium
5 years ago
staphen
4ab13f304b
Bring in ASIO fixes for Switch
5 years ago
staphen
c5fc37eca2
Stub missing functions for Switch
5 years ago
staphen
0784ab857c
Headers for Switch asio compilation
5 years ago
staphen
2ae44a3bf6
Enable TCP in Switch build
5 years ago
Gianluca Boiano
9dd05d7666
🌐 Update Italian localization ( #2235 )
5 years ago
Anders Jenbo
2bdb6caa07
Cleanup majority of remaning implicit bool conversions ( #2234 )
5 years ago
Anders Jenbo
1ac8987c58
🐛 Fix drlg1 algo
5 years ago