Skip to content

Releases: cpp-sc2/cpp-sc2

v2.0.0

03 Jan 15:05
d71e614

Choose a tag to compare

v2.0.0 - 2025-01-03

a4e1883...8ea4e96

🚀 Features

🐛 Bug Fixes

🚜 Refactor

  • Fix compilation warnings (fd269b3)
  • Submodule remains (6673dc5)
  • Print error reason of SC2 connection failure, #133 (6f14eb5)
  • (sc2_connection) Improve connection establish logic (b63225b)
  • Unify headers and sources (53eaf51)
  • Integrate clang-tidy (68e42b9)
  • Fix some of warnings reported by clang-tidy (4df80c7)
  • (clang-tidy) Disable boost checks (6d05f16)

👷 Build

📚 Documentation

💼 Other

  • Setup clang-format in pre-commit hooks and CI, #52 (fdde354)
  • Reformat the sources, #52 (2c125f8)
  • Reformat the code with newer clang-format from pre-commit hooks (c08fef3)
  • Improve README.md markdown style (e0dc678)

v2.0.0-alpha.1

25 Aug 06:51
60befd4

Choose a tag to compare

v2.0.0-alpha.1 Pre-release
Pre-release

2.0.0-alpha.1 (2022-08-25)

Features

Bug Fixes

  • Remove dummy typeids from units, abilities and buffs except ZERG_PARASITICBOMBDUMMY (868a9cc, 480bc9c)

Documentation

  • Wsl2 cross compilation support (6709720)
  • Fix typo in CODE_OF_CONDUCT (16a35ab)
  • Pin the oldest Visual Studio version (0794d9a)
  • Specify discord channel for questions regarding the API (aefd931)
  • Update maps link (0b6682f)
  • Update supporters links (87fd044)

Build System

v2.0.0-alpha.0

22 Aug 17:09
98a66bc

Choose a tag to compare

v2.0.0-alpha.0 Pre-release
Pre-release

2.0.0-alpha.0 (2022-08-22)

Features

Bug Fixes

  • Remove dummy typeids from units, abilities and buffs except ZERG_PARASITICBOMBDUMMY (868a9cc, 480bc9c)

Documentation

  • Fix typo in CODE_OF_CONDUCT (16a35ab)
  • Pin the oldest Visual Studio version (0794d9a)
  • Specify discord channel for questions regarding the API (aefd931)
  • Update maps link (0b6682f)
  • Update supporters links (87fd044)

Build System

  • Cmake dependency approach refactor (477c79f)
  • Cmake project restructure (f1cba80)
  • Disable ipv6-parse (9a475f8)
  • Removed unnecessary cmake policy settings (d97cfe5)
  • Switch ladder CI to Ubuntu 20.04 (3a8e89e)

v1.4.1

22 Aug 16:56

Choose a tag to compare

v1.4.1 (2022-01-08)

Features

  • Read path to game client from SC2PATH, #107 (f1f65aa)
  • Rebase to the latest proto (dc67545)

Bug Fixes

  • ci: Fix typo (c031314)
  • Extend error reporting when searching SC2 executable (26284b6)
  • Missing DebugIgnoreGas (2eb60b9)

Performance Improvements

  • Speed up creation of Point objects (02fe908)

Refactoring

  • Use default destructors (cac2237)

Build System

  • Don't try to commit docs if no changes, #109 (7906e37)

Documentation

  • Add missing v1.4.0 to the changelog (3c1fc5d)
  • Correct clone URLs (6200ee0)

v1.4.0

07 Oct 14:32

Choose a tag to compare

v1.4.0 (2021-10-07)

Features

Bug Fixes

  • Abort game on unexpected cmdline options (86f1823)
  • Broken linking with SDL2-static on Windows (2a88b08)
  • Don't mix runtime environments on Windows (3c030f6)
  • Make '-e, --executable' optional (794a1ff)
  • Throw when we can't connect to client (085e588)

Tests

  • Test BuildBarracksTechLabDifferentPointE failed (c0b9869)

Build System

Ecosystem

  • New project: blank-bot - starter bot for StarCraft II with integrated cpp-sc2.
  • New project: commandcenter - original version of CommandCenter with integrated cpp-sc2.
  • New project: docker-sc2 - dockerized StarCraft II Linux client.

Refactoring

Documentation

  • Add code of conduct, #14 (dcf43b3)
  • Add links to other bots/projects (2c792a5) (df5f943)
  • Added #include <sc2api/sc2_unit_filters.h> to docs/tutorial3.md (3d3fcbb)
  • Describe when it's better to use IsWorker (4042ecb)
  • Simplify build instructions (56fb22e)
  • Update the CONTRIBUTING guide (ca237c4) (9a45b28)

v1.3.1

10 Jun 18:49

Choose a tag to compare

1.3.1 (2020-06-10)

Bug Fixes

  • Fix CI build could be not marked as failed (ef2f0b9)
  • Fix links in README (2ed52f2)

Documentation

Build System

v1.3.0

15 May 18:09

Choose a tag to compare

1.3.0 (2020-05-15)

Features

  • Add mineral and geyser filters, #24 (7500a6e)
  • Add some missing types to ABILITY_ID, RESEARCH_ID and UPGRADE_ID enums (2b7d04e)
  • Add unit upgrades level, #54 (93dedc6)
  • add use_generalized_ability option when retrieving abilities using GetAbilitiesForUnit/s (cc3b534)
  • Added legacy typeenums for compatibility (f27c954)
  • Allow retrieving specific ability ids with GetAbilitiesFromUnit(s) (c024e34)
  • Allow to retrieve player names, #13 (6487f61)
  • Allow to set and retrieve AI build, #45 (87d10ce)
  • Allow to set player name, #13 (7ab6688)
  • Enable display of 'ghost' buildings, #23 (74f24e1)
  • Include the amount of health and shield damage in OnUnitDamaged events (3bd0469)
  • On Neutral Unit Created, #33 (2988bf3)
  • Show invisible units when observing replays (985f1ae)
  • Sync IDs with the latest sc2 (4c20614)
  • Upgraded type enums for 4.11.3 (2ae5519)
  • zerg: Allow to get count of larva, #44 (e205164)

Bug Fixes

  • == and != operators in Point2D and Point3D should be const functions to implement equal_to interface (13ebbdf)
  • Broken deployment of the API docs (b682b3e)
  • GetFoodWorkers() should return uint32_t (11b8860)
  • GetGameLoop() returns wrong number on restart (e94baa2)
  • issue where OnUnitDamage event was issued multiple times (5e3f3fd)
  • Report error if API can't load replay info (215a310)
  • Simultaneous 'Created' and 'Completed' events (5530467)
  • Skip replay in case of any loading errors (cc937a7)
  • Unit filters always returned 'true' (8731e75)

Performance Improvements

  • Mark newly constructed buildings as idle (d73f633)

Build System

  • Don't try to publish docs in dev branch (b88aef2)
  • Improve compilation under VS 2019 (bed887a)
  • Validate windows builds against VS2019 (7e21c71)

Refactoring

  • Move logic from .travis.yaml to scripts (34da289)

Documentation

  • Provide better Windows build instructions (2e0a4d4)
  • Set Windows build recommendations to VS 2019 (6971da0)

v1.2.0

04 Nov 18:41

Choose a tag to compare

1.2.0 (2019-11-04)

Features

  • Implement IsTownHall filter, #17 (6f786a4)
  • New coordinator setting allowing users to choose to reduce the number of generated actions (37d1776)
  • Support -d, --data_version parameter #20 (d7d0168)
  • Support launch in full screen, #21 (d610d2d)
  • Use full screen for first player only, #21 (9177574)

Bug Fixes

  • Always specify -displayMode value (cf39856)
  • Correct player data fields return types, #16 (cfed8b8)
  • EXCLUDE of /build/ on travis excludes everything (e17b553)
  • Exit in child process instead of sleep, #22 (9b10fc0)
  • Fix compilation under VS2019 (abd6bd7)

Refactoring

  • discard these scripts replaced by code in the .travis file (01e5d75)
  • Fix compilation warning in tests (07f0dae)
  • Group unit filters in separate file, #19 (6c87664)

Build System

  • Updated travis build script + Doxygen generation and deployment (41f9659)

v1.1.0

14 Sep 16:57

Choose a tag to compare

1.1.0 (2019-09-14)

Bug Fixes

  • Avoid crash of replay observer on relaunch (0f5b5fb)
  • Don't call TerminateProcess with zero pid (a7c1a8c)

Build System

  • Fix C4530 warnings generated by VS2017 (a7a7ed6)

Documentation

  • Correct commit hashes in changelog (f501670)
  • Correct description of the Cloaked state (a0520d3)

Features

  • Allow to change replay observing perspective (8c3051e)
  • Allow to retrieve cloaked enemy units (789465d)
  • Expose shadows of moving burrowed units (b1b7ed4)

Refactoring

v1.0.0: chore(release): 1.0.0

28 Aug 10:21

Choose a tag to compare

1.0.0 (2019-08-28)

Bug Fixes

  • Bring in new civetweb submodule (1652187)
  • Add missing types to UnitTypeToName (91311b3)
  • Don't invert heights map coordinates... (c2c38bf)
  • Fix assertion in SampleImageData (ba30bfa)
  • Fix chronoboost (573960b)
  • Fix IsPlacable and IsPathable, #5 (3b0100d)
  • Fix MOVE and PATROL abilities (bb8109a)
  • Fix some compilation warnings (a2c4501)
  • Fix type of minerals and vespene (d2b29a9)
  • Fixed height map and visibility map (8207f1c)
  • Handle INVALID in all *ToName functions (f0f0e9e)

Build System

  • Don't enforce WX on Windows (f7af6d4)
  • Reimplement Travis CI (4da5dab)

Documentation

  • Add build instructions for nmake (c131953)
  • Add more platform-specific dependencies (56c52af)
  • Added missing link to tutorial (a7c3372)
  • Correct README (f7a2051)
  • Fix a typo (2a33789)
  • Mention discord in README (9755002)
  • Refine build instructions (68a3643)

Features

  • Add 'rich' types of vespene extractors (ab0f5bc)
  • Add conversion of Point2D to Point2DI (7791b6a)
  • Add cyclone lock on damage upgrade (d67204a)
  • Adjust CloakState parameters to the new proto (b74166f)
  • Extend DisplayType with Placeholder value (dd73ec0)
  • Extend Rect2DI functionality (054a835)
  • Switch to the latest proto (f3bd271)

Tests