You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
VirusAttack/olcCodeJam2023Entry/util.h

14 lines
538 B

#pragma once
#include "olcPixelGameEngine.h"
#include "Unit.h"
namespace util{
float random(float range);
void ApplyMatrixEffect(PixelGameEngine*pge,Renderable&r,Renderable&originalImg,Renderable&matrixImg);
bool CanAfford(Resources&resources,std::vector<Memory>&unitCosts);
int GetHealthCost(std::vector<Memory>&unitCosts);
int GetAtkSpdCost(std::vector<Memory>&unitCosts);
int GetMoveSpdCost(std::vector<Memory>&unitCosts);
int GetRangeCost(std::vector<Memory>&unitCosts);
int GetProcedureCost(std::vector<Memory>&unitCosts);
}