Changeset 25312

Timestamp:
Apr 25, 2021, 1:05:41 PM (3 years ago)
Author:
Silier
Message:

Make player entities more visible on minimap

This patch is increasing contrast of player colours used on minimap in minimap component instead of changing player colours themselves to not mess with other cases, when they are used.

Differential revision: D3242
Comments by: @vladislavbelov, @ValihrAnt, @Freagarach

Location:
ps/trunk/source
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/gui/ObjectTypes/CMiniMap.cpp

    r25261 r25312  
    3434#include "lib/ogl.h"
    3535#include "lib/timer.h"
     36
    3637#include "ps/ConfigDB.h"
    3738#include "ps/Filesystem.h"
     
    622623                    else
    623624                    {
     625
     626
     627
     628
     629
     630
     631
     632
     633
    624634                        addVertex(v, attrColor, attrPos);
    625635                        ++m_EntitiesDrawn;
  • ps/trunk/source/simulation2/components/CCmpMinimap.cpp

    r22402 r25312  
    1 /* Copyright (C) 2019 Wildfire Games.
     1/* Copyright (C) 20 Wildfire Games.
    22 * This file is part of 0 A.D.
    33 *
     
    196196    }
    197197
     198
     199
     200
     201
     202
    198203    virtual bool CheckPing(double currentTime, double pingDuration)
    199204    {
  • ps/trunk/source/simulation2/components/ICmpMinimap.h

    r20797 r25312  
    1 /* Copyright (C) 2018 Wildfire Games.
     1/* Copyright (C) 20 Wildfire Games.
    22 * This file is part of 0 A.D.
    33 *
     
    4646    virtual void UpdateColor() = 0;
    4747
     48
     49
    4850    DECLARE_INTERFACE_TYPE(Minimap)
    4951};
Note: See TracChangeset for help on using the changeset viewer.