More type conversion warning cleanup; some minor refactoring in the phase bar while I was cleaning up the warnings.
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
#define STATS_CREATURE_MULTIPLIER 10
|
||||
|
||||
//floats
|
||||
#define STATS_AURA_MULTIPLIER 0.9
|
||||
#define STATS_LORD_MULTIPLIER 0.5
|
||||
#define STATS_AURA_MULTIPLIER 0.9f
|
||||
#define STATS_LORD_MULTIPLIER 0.5f
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
|
||||
@@ -7,10 +7,6 @@
|
||||
|
||||
class GuiPhaseBar : public GuiLayer
|
||||
{
|
||||
static const unsigned Width = 28;
|
||||
static const unsigned Height = Width;
|
||||
static const unsigned Phases = 12;
|
||||
|
||||
protected:
|
||||
Phase* phase;
|
||||
float angle;
|
||||
|
||||
Reference in New Issue
Block a user