diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-10-14 21:22:09 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-10-14 21:22:09 +0200 |
commit | e9e2e56b2f6c23b974d046de10ae5b663f75dfdd (patch) | |
tree | 75394aa23284728c295ee3fae23aa7622016a626 | |
parent | dc569336bfafd21d25cdce65a1d2bc47763851e0 (diff) |
added additional diagonal moving entity for the integration test
-rw-r--r-- | GdiRadarTest/GdiRadarMain.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/GdiRadarTest/GdiRadarMain.cpp b/GdiRadarTest/GdiRadarMain.cpp index 1df2ecb..9bdd550 100644 --- a/GdiRadarTest/GdiRadarMain.cpp +++ b/GdiRadarTest/GdiRadarMain.cpp @@ -38,6 +38,8 @@ int main() gdi_radar_add_entity(ctx, &e2); entity e3{ 500, 500, 80, entity_color::EC_RED, "whiteshirt" }; gdi_radar_add_entity(ctx, &e3); + entity e4{ 50, 800, 10, entity_color::EC_RED, "lowlife" }; + gdi_radar_add_entity(ctx, &e4); #if 0 gdi_radar_process_window_events_blocking(ctx); @@ -48,6 +50,9 @@ int main() e3.pos[0]++; gdi_radar_set_entity(ctx, 2, &e3); + e4.pos[0]++; + e4.pos[1]++; + gdi_radar_set_entity(ctx, 3, &e4); } while (!gdi_radar_process_window_events_nonblocking(ctx)); #endif |