Skip to content

Commit

Permalink
[all] chore: general cleanup
Browse files Browse the repository at this point in the history
- Add vscode extensions.json.. this project needs the power of clangd
  • Loading branch information
jd28 committed Nov 18, 2022
1 parent ef98390 commit c212567
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ vcpkg/
vcpkg_installed/

# IDEs
.vscode/
.vscode/*
!.vscode/extensions.json
.clion/
CMakeLists.txt.user
.kdev4/
Expand Down
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"llvm-vs-code-extensions.vscode-clangd",
"xaver.clang-format"
]
}
2 changes: 1 addition & 1 deletion lib/nw/rules/Dice.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bool operator==(const DiceRoll& lhs, const DiceRoll& rhs);
bool operator<(const DiceRoll& lhs, const DiceRoll& rhs);

/// Rolls a set of dice
/// @param dice Dice to roll
/// @param roll Dice to roll
int roll_dice(DiceRoll roll);

/// Rolls a set exploding of dice
Expand Down
4 changes: 1 addition & 3 deletions tests/objects_creature.cpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
#include "nw/rules/combat.hpp"
#include <catch2/catch_all.hpp>

#include <nw/components/Creature.hpp>
#include <nw/kernel/EffectSystem.hpp>
#include <nw/kernel/EventSystem.hpp>
#include <nw/kernel/Objects.hpp>
#include <nw/kernel/Rules.hpp>
#include <nw/rules/combat.hpp>
#include <nw/rules/feats.hpp>
#include <nw/serialization/Archives.hpp>
#include <nwn1/Profile.hpp>
#include <nwn1/constants.hpp>
#include <nwn1/constants/const_feat.hpp>
#include <nwn1/effects.hpp>
#include <nwn1/functions.hpp>
#include <nwn1/functions/funcs_effects.hpp>

#include <nlohmann/json.hpp>

Expand Down

0 comments on commit c212567

Please sign in to comment.