Add minimap dots
This commit is contained in:
parent
e632af5d58
commit
27c5b5d948
@ -1,3 +1,19 @@
|
||||
Left Shifter
|
||||
Right Shifter
|
||||
Bit Repair
|
||||
Memory Swapper
|
||||
Corrupter (Randomly destroys bits)
|
||||
|
||||
Pipes
|
||||
Attach collectors to them
|
||||
Memory Structure (Allocators)
|
||||
RAM Bank (Creates new Memory Structures) has its own rate of creation based on Procedure amount.
|
||||
|
||||
Range/Attack indicators
|
||||
|
||||
System has limited resources, both sides fight for resources.
|
||||
|
||||
|
||||
Tutorial
|
||||
(Grey out non-important bars)
|
||||
|
||||
|
@ -131,6 +131,9 @@ void VirusAttack::DrawMinimap(){
|
||||
}
|
||||
}
|
||||
DrawRect((game.GetWorldOffset()/worldPixelSize*64),viewingTilesPct*64/game.GetWorldScale());
|
||||
for(auto&u:units){
|
||||
FillRect(u->GetPos()/worldPixelSize*64,vf2d{2,2}*u->GetUnitSize()/24,u->IsFriendly()?GREEN:RED);
|
||||
}
|
||||
MINIMAP_OUTLINE.Decal()->Update();
|
||||
SetDrawTarget(nullptr);
|
||||
DrawDecal(minimapTL,MINIMAP_OUTLINE.Decal());
|
||||
|
@ -80,6 +80,8 @@
|
||||
</Image>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="Info.txt" />
|
||||
<Text Include="Info.txt">
|
||||
<Filter>Documents</Filter>
|
||||
</Text>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
x
Reference in New Issue
Block a user