Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kswaldemar committed Nov 30, 2017
1 parent 3bf69b6 commit fb1a4c3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 19 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

Fast Russain AI Cup championship match viewer with rewinding support written in OpenGL

![That's how it looks like](./resources/kdpv.png)

## Overview
The viewer has several advantages in comparison of local-runner with drawing plugin:
- All figures are drawn using your video adapter, so no more problems with slow drawing
Expand Down Expand Up @@ -69,7 +67,7 @@ Sample usage:
2. Start localrunner, preferably in render_to_screen=false mode.
3. Start your strategy of choice.
4. To be able to drew things in the viewer you will need to create a client, send data to the client in your strategy, and **close the frame** with client command.
5. There is no need to close the viewer after the strategy is done, simply clean old data (Edit -> Clear frame data, or just Ctrl+R) and start from step 2.
5. There is no need to close the viewer after the strategy is done, just start from step 2. Old drawn data will be cleaned after new connection.

## License
Project sources distributed under [MIT license](https://github.com/kswaldemar/rewind-viewer/blob/master/LICENSE), third parties distributed under their own licences
Expand Down
14 changes: 0 additions & 14 deletions TODO.md

This file was deleted.

Binary file removed resources/kdpv.png
Binary file not shown.
4 changes: 2 additions & 2 deletions src/viewer/Scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void Scene::show_detailed_info(const glm::vec2 &mouse) const {
"\nCapture progress: %d / %d",
side2str.at(facility.enemy),
Frame::facility_name(facility.type),
facility.capture, facility.max_capture
std::abs(facility.capture), facility.max_capture
);
} else {
ImGui::Text(
Expand All @@ -296,7 +296,7 @@ void Scene::show_detailed_info(const glm::vec2 &mouse) const {
"\nProduction progress: %d / %d",
side2str.at(facility.enemy),
Frame::facility_name(facility.type),
facility.capture, facility.max_capture,
std::abs(facility.capture), facility.max_capture,
facility.production, facility.max_production
);
}
Expand Down

0 comments on commit fb1a4c3

Please sign in to comment.