177 lines
11 KiB
Plaintext
177 lines
11 KiB
Plaintext
/home/sergio/gitea/coffee_crisis_arcade_edition/source/animated_sprite.cpp:264:0: style: The function 'getNumFrames' is never used. [unusedFunction]
|
|
int AnimatedSprite::getNumFrames()
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/animated_sprite.cpp:270:0: style: The function 'setCurrentFrame' is never used. [unusedFunction]
|
|
void AnimatedSprite::setCurrentFrame(int num)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/animated_sprite.cpp:287:0: style: The function 'setAnimationCounter' is never used. [unusedFunction]
|
|
void AnimatedSprite::setAnimationCounter(std::string name, int num)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/animated_sprite.cpp:293:0: style: The function 'setAnimationSpeed' is never used. [unusedFunction]
|
|
void AnimatedSprite::setAnimationSpeed(std::string name, int speed)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/animated_sprite.cpp:305:0: style: The function 'setAnimationLoop' is never used. [unusedFunction]
|
|
void AnimatedSprite::setAnimationLoop(std::string name, int loop)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/animated_sprite.cpp:317:0: style: The function 'setAnimationCompleted' is never used. [unusedFunction]
|
|
void AnimatedSprite::setAnimationCompleted(std::string name, bool value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/animated_sprite.cpp:335:0: style: The function 'getAnimationClip' is never used. [unusedFunction]
|
|
SDL_Rect AnimatedSprite::getAnimationClip(std::string name, Uint8 index)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/animated_sprite.cpp:529:0: style: The function 'setAnimationFrames' is never used. [unusedFunction]
|
|
void AnimatedSprite::setAnimationFrames(Uint8 index_animation, Uint8 index_frame, int x, int y, int w, int h)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/background.cpp:239:0: style: The function 'setSrcRect' is never used. [unusedFunction]
|
|
void Background::setSrcRect(SDL_Rect value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/background.cpp:245:0: style: The function 'setDstRect' is never used. [unusedFunction]
|
|
void Background::setDstRect(SDL_Rect value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/balloon.cpp:681:0: style: The function 'setBlink' is never used. [unusedFunction]
|
|
void Balloon::setBlink(bool value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/balloon.cpp:687:0: style: The function 'isBlinking' is never used. [unusedFunction]
|
|
bool Balloon::isBlinking() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/balloon.cpp:699:0: style: The function 'isVisible' is never used. [unusedFunction]
|
|
bool Balloon::isVisible() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/balloon.cpp:735:0: style: The function 'getStoppedTimer' is never used. [unusedFunction]
|
|
Uint16 Balloon::getStoppedTimer() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/game.cpp:1000:0: style: The function 'decBalloonSpeed' is never used. [unusedFunction]
|
|
void Game::decBalloonSpeed()
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/game.cpp:1169:0: style: The function 'popAllBalloons' is never used. [unusedFunction]
|
|
void Game::popAllBalloons()
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/game.cpp:1226:0: style: The function 'countBalloons' is never used. [unusedFunction]
|
|
int Game::countBalloons()
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/input.cpp:319:0: style: The function 'checkAnyInput' is never used. [unusedFunction]
|
|
bool Input::checkAnyInput(int device, int controller_index)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/input.cpp:498:0: style: The function 'printBindings' is never used. [unusedFunction]
|
|
void Input::printBindings(int device, int controller_index) const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/input.cpp:531:0: style: The function 'getIndexByName' is never used. [unusedFunction]
|
|
int Input::getIndexByName(std::string name) const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/input.cpp:575:0: style: The function 'to_inputs_e' is never used. [unusedFunction]
|
|
InputType Input::to_inputs_e(std::string name) const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/moving_sprite.cpp:114:0: style: The function 'getZoomW' is never used. [unusedFunction]
|
|
float MovingSprite::getZoomW() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/moving_sprite.cpp:120:0: style: The function 'getZoomH' is never used. [unusedFunction]
|
|
float MovingSprite::getZoomH() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/moving_sprite.cpp:126:0: style: The function 'getAngle' is never used. [unusedFunction]
|
|
double MovingSprite::getAngle() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/moving_sprite.cpp:196:0: style: The function 'setAngle' is never used. [unusedFunction]
|
|
void MovingSprite::setAngle(double value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/moving_sprite.cpp:208:0: style: The function 'decAngle' is never used. [unusedFunction]
|
|
void MovingSprite::decAngle(double value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/moving_sprite.cpp:214:0: style: The function 'getRotate' is never used. [unusedFunction]
|
|
bool MovingSprite::getRotate() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/moving_sprite.cpp:220:0: style: The function 'getRotateSpeed' is never used. [unusedFunction]
|
|
Uint16 MovingSprite::getRotateSpeed() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/moving_sprite.cpp:256:0: style: The function 'disableRotate' is never used. [unusedFunction]
|
|
void MovingSprite::disableRotate()
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/moving_sprite.cpp:286:0: style: The function 'flip' is never used. [unusedFunction]
|
|
void MovingSprite::flip()
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/moving_sprite.cpp:292:0: style: The function 'getFlip' is never used. [unusedFunction]
|
|
SDL_RendererFlip MovingSprite::getFlip()
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/player.cpp:414:0: style: The function 'hasDied' is never used. [unusedFunction]
|
|
bool Player::hasDied() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/player.cpp:523:0: style: The function 'getStatusPlaying' is never used. [unusedFunction]
|
|
PlayerStatus Player::getStatusPlaying() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/player.cpp:535:0: style: The function 'setScoreMultiplier' is never used. [unusedFunction]
|
|
void Player::setScoreMultiplier(float value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/player.cpp:568:0: style: The function 'getInvulnerableCounter' is never used. [unusedFunction]
|
|
int Player::getInvulnerableCounter() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/player.cpp:574:0: style: The function 'setInvulnerableCounter' is never used. [unusedFunction]
|
|
void Player::setInvulnerableCounter(int value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/player.cpp:611:0: style: The function 'getPowerUpCounter' is never used. [unusedFunction]
|
|
int Player::getPowerUpCounter() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/player.cpp:617:0: style: The function 'setPowerUpCounter' is never used. [unusedFunction]
|
|
void Player::setPowerUpCounter(int value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/player.cpp:666:0: style: The function 'enableInput' is never used. [unusedFunction]
|
|
void Player::enableInput()
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/player.cpp:672:0: style: The function 'disableInput' is never used. [unusedFunction]
|
|
void Player::disableInput()
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/player.cpp:697:0: style: The function 'setPlayerTextures' is never used. [unusedFunction]
|
|
void Player::setPlayerTextures(std::vector<std::shared_ptr<Texture>> texture)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/screen.cpp:248:0: style: The function 'setWindowSize' is never used. [unusedFunction]
|
|
void Screen::setWindowSize(int size)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/screen.cpp:271:0: style: The function 'setBorderColor' is never used. [unusedFunction]
|
|
void Screen::setBorderColor(Color color)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/smart_sprite.cpp:55:0: style: The function 'getDestX' is never used. [unusedFunction]
|
|
int SmartSprite::getDestX() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/smart_sprite.cpp:61:0: style: The function 'getDestY' is never used. [unusedFunction]
|
|
int SmartSprite::getDestY() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/smart_sprite.cpp:148:0: style: The function 'isOnDestination' is never used. [unusedFunction]
|
|
bool SmartSprite::isOnDestination() const
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/sprite.cpp:159:0: style: The function 'incPosY' is never used. [unusedFunction]
|
|
void Sprite::incPosY(int value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/text.cpp:264:0: style: The function 'setFixedWidth' is never used. [unusedFunction]
|
|
void Text::setFixedWidth(bool value)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/texture.cpp:236:0: style: The function 'getSDLTexture' is never used. [unusedFunction]
|
|
SDL_Texture *Texture::getSDLTexture()
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/texture.cpp:242:0: style: The function 'newSurface' is never used. [unusedFunction]
|
|
Surface Texture::newSurface(int w, int h)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/utils.cpp:184:0: style: The function 'toLower' is never used. [unusedFunction]
|
|
std::string toLower(std::string str)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/utils.cpp:200:0: style: The function 'getSound' is never used. [unusedFunction]
|
|
JA_Sound_t *getSound(std::vector<SoundFile> sounds, std::string name)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/utils.cpp:228:0: style: The function 'sortHiScoreTable' is never used. [unusedFunction]
|
|
HiScoreEntry sortHiScoreTable(HiScoreEntry entry1, HiScoreEntry entry2)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/utils.cpp:239:0: style: The function 'DrawCircle' is never used. [unusedFunction]
|
|
void DrawCircle(SDL_Renderer *renderer, int32_t centerX, int32_t centerY, int32_t radius)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/utils.cpp:278:0: style: The function 'lightenColor' is never used. [unusedFunction]
|
|
Color lightenColor(Color color, int amount)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/utils.cpp:288:0: style: The function 'DarkenColor' is never used. [unusedFunction]
|
|
Color DarkenColor(Color color, int amount)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/utils.cpp:316:0: style: The function 'easeOutQuint' is never used. [unusedFunction]
|
|
double easeOutQuint(double t)
|
|
^
|
|
/home/sergio/gitea/coffee_crisis_arcade_edition/source/writer.cpp:101:0: style: The function 'IsEnabled' is never used. [unusedFunction]
|
|
bool Writer::IsEnabled() const
|
|
^
|
|
nofile:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 configurations. Use --force to check all configurations. For more details, use --enable=information. [toomanyconfigs]
|
|
|