mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Upgrade to C++20 and fix all compilation warnings
- Upgrade from C++17 to C++20 - Remove unused helper functions (selectSpawnPreset, parseVec3Csv, parseYawPitchCsv) - Mark unused parameters with [[maybe_unused]] attribute - Remove unused variables (nameColor, currentRace, steppingUp, steppingDown, awayFromWallMotion) - Fix all -Wunused-* warnings Build now completes with zero warnings.
This commit is contained in:
parent
352d179aaa
commit
545cfbbc0e
10 changed files with 7 additions and 72 deletions
|
|
@ -1834,10 +1834,6 @@ void GameScreen::renderPartyFrames(game::GameHandler& gameHandler) {
|
|||
for (const auto& member : partyData.members) {
|
||||
ImGui::PushID(static_cast<int>(member.guid));
|
||||
|
||||
ImVec4 nameColor = member.isOnline ?
|
||||
ImVec4(0.3f, 0.8f, 1.0f, 1.0f) :
|
||||
ImVec4(0.5f, 0.5f, 0.5f, 1.0f);
|
||||
|
||||
// Clickable name to target
|
||||
if (ImGui::Selectable(member.name.c_str(), gameHandler.getTargetGuid() == member.guid)) {
|
||||
gameHandler.setTarget(member.guid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue