Skip to content

Commit 4455ab6

Browse files
author
Alexander Kurbatov
committed
refactor: Restructure the project
Signed-off-by: Alexander Kurbatov <[email protected]>
1 parent 2ec85a9 commit 4455ab6

11 files changed

+292
-528
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "cpp-sc2"]
2+
path = cpp-sc2
3+
url = https://github.com/alkurbatov/cpp-sc2.git

Examples/ExampleObserver/ExampleObserver.sln

-31
This file was deleted.

Examples/ExampleObserver/ExampleObserver/ExampleObserver.vcxproj

-203
This file was deleted.

Examples/ExampleObserver/README.md

-8
This file was deleted.

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,8 @@ void sc2::Observer::OnUnitCreated(const sc2::Unit * unit)
7676
}
7777
```
7878
79-
An example of an command line program that uses the Sc2AutoObserver and plays a replay can be found in the examples directory.
79+
An example of an command line program that uses the Sc2AutoObserver and plays a replay can be found in the examples directory.
80+
81+
### How to use the observer:
82+
To build this example the paths of the libs and includes of the sc2api have to be set. After building the executable make the following call in the command console:
83+
`Observer.exe --Path "<Path to a single SC2 replay or directory with replay files>" --Speed <Replay speed>`

cpp-sc2

Submodule cpp-sc2 added at ccbb74f
File renamed without changes.

CameraModule.h src/CameraModule.h

File renamed without changes.

0 commit comments

Comments
 (0)