new rendering system and other additions

This commit is contained in:
Tim Nebel 2023-07-19 14:50:43 +02:00
commit 2e24e1714e
33 changed files with 1229 additions and 269 deletions

View file

@ -15,8 +15,8 @@
namespace Teams{
constexpr long Player = 0;
constexpr long Neutral = 1;
constexpr long Enemy = 2;
constexpr long Enemy = 1;
constexpr long Neutral = 2;
constexpr std::array<long,3> AllOptions = {Player,Neutral,Enemy};
@ -25,9 +25,9 @@ namespace Teams{
case 0:
return "Player";
case 1:
return "Neutral";
case 2:
return "Enemy";
case 2:
return "Neutral";
default:
return "Invalid";
}

View file

@ -24,6 +24,8 @@ struct Map {
std::vector<Rail> Rails;
Element* GetElementById(std::string id);
};