• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Return-To-The-Roots / s25client / 44076625557

17 Nov 2026 11:43AM UTC coverage: 51.803% (-0.002%) from 51.805%
44076625557

push

github

web-flow
Merge pull request #2018 from Return-To-The-Roots/refactor/lowerCamelCase-methods

Rename Msg_* handlers to lowerCamelCase

8121 of 16693 new or added lines in 565 files covered. (48.65%)

323 existing lines in 133 files now uncovered.

24236 of 46785 relevant lines covered (51.8%)

49647.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.0
/libs/s25main/postSystem/PostMsgWithBuilding.cpp
1
// Copyright (C) 2005 - 2021 Settlers Freaks (sf-team at siedler25.org)
2
//
3
// SPDX-License-Identifier: GPL-2.0-or-later
4

5
#include "PostMsgWithBuilding.h"
6
#include "buildings/noBaseBuilding.h"
7

8
PostMsgWithBuilding::PostMsgWithBuilding(unsigned sendFrame, const std::string& text, PostCategory cat,
362 ✔
9
                                         const noBaseBuilding& bld, SoundEffect soundEffect)
362 ✔
10
    : PostMsg(sendFrame, text, cat, bld.getPos(), soundEffect), bldType(bld.getBuildingType()), nation(bld.getNation())
362 ✔
11
{}
362 ✔
12

13
PostMsgWithBuilding::PostMsgWithBuilding(unsigned sendFrame, const std::string& text, PostCategory cat,
1 ✔
14
                                         BuildingType bld, Nation nation, const MapPoint& pos /*= MapPoint::Invalid()*/)
1 ✔
15
    : PostMsg(sendFrame, text, cat, pos), bldType(bld), nation(nation)
1 ✔
16
{}
1 ✔
17

NEW
18
ITexture* PostMsgWithBuilding::getImage() const
×
19
{
NEW
20
    return &noBaseBuilding::getBuildingImage(bldType, nation);
×
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc