Releases: cpp-sc2/cpp-sc2
Releases · cpp-sc2/cpp-sc2
v2.0.0
v2.0.0 - 2025-01-03
🚀 Features
- Rebase to the latest proto (3dcf423)
- Rebase to the latest proto (8aeb890)
- Support 5.0.10 typeids (a215b98)
- Allow ActionImp::UnitCommand to use sc2::Tag (8957d4a) by @Nickrader
- Rebase to the latest proto (59ca978)
- Rebase to the latest proto (5e31856)
- Rebase to the latest proto (7c63478) by @Nickrader
- Rebase to the latest proto (20ae48b)
- Support 5.0.12 typeids (f4e8761)
- Switch to C++17 (a306e7f)
- Update SDL to support latest OS X (23c2efb)
- Support 5.0.14 typeids (4cf34ba)
🐛 Bug Fixes
- Remove dummy typeids from units, abilities and buffs (868a9cc)
- Restore ZERG_PARASITICBOMBDUMMY (480bc9c)
- Sdl fetchcontent case sensitive fix (22747b8) by @jrtknauer
- Mingw wsl2 header normalization (9df2e25) by @jrtknauer
- Mark roach warren as building (506e0d0)
- Revert changes in civetweb because of broken Windows (e6f9b76)
- Bad image rendering in Linux (e8f3db9)
- Update WSL2 proto assets, #143 (8bc55a9)
- Downgrade Civetweb to v1.15, #133 (04c44d9)
- Apply civetweb patches only once, #148 (117405e)
🚜 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
- Msvc runtime library abstraction (7e07179) by @jrtknauer
- Removed unnecessary cmake policy settings (d97cfe5) by @jrtknauer
- Cmake project restructure (f1cba80) by @jrtknauer
- Disable ipv6-parse (9a475f8) by @jrtknauer
- Cmake dependency approach refactor (477c79f) by @jrtknauer
- Switch ladder CI to Ubuntu 20.04 (3a8e89e)
- Wsl2 cross compilation for windows (7cfccf1) by @jrtknauer
- Wsl2 downstream project support (4d9e7fe) by @jrtknauer
- Cmake policy setting for protos download (0032d69) by @jrtknauer
- Use FetchContent to patch civetweb (e4cd069)
- Fix compilation under latest OS X (5bc693e)
📚 Documentation
- Specify discord channel for questions regarding the API (aefd931)
- Fix typo in CODE_OF_CONDUCT (16a35ab)
- Update supporters links (87fd044)
- Update maps link (0b6682f)
- Pin the oldest Visual Studio version (0794d9a)
- Wsl2 cross compilation support (6709720) by @jrtknauer
- Wsl2 downstream project support (ca7b7ae) by @jrtknauer
- Minor readme changes (b6dc5c4) by @jrtknauer
- Claim that we support VS 2022, #130 (e47e9e2)
- Remove --recursive option from build instructions (43bc2f7)
- Add valuable hints to documentation of some classes (9ed3155)
- Add getting started video (e227d28)
- Remove link to Patreon (c1befdd)
- Update copyright year (8eb698e)
- Add Discord badge to README (a2792fe)
- Update linux and macOS build instructions, #142 (e4e7baf)
- Refine build instructions (998ca3b)
- Refresh Discord invitation link (a69b8b0)
💼 Other
v2.0.0-alpha.1
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
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
v1.4.1
v1.4.1 (2022-01-08)
Features
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
Documentation
v1.4.0
v1.4.0 (2021-10-07)
Features
- Introduce IsBuilding filter, #87 (16d4468)
- Introduce IsWorker filter, #92 (b4190a8)
- Introduce sc2::Unit::is_building flag, #87 (ca4339b)
- Introduce sc2::Unit::IsBuildFinished (08f93f3)
- Rebase to the latest proto (fcea655) (144b783)
- Support different SC2 versions, #77 (4a423a3) (775bcad)
- Switch to 5.0.3 IDs, #78 (bae3d5e)
- Support sc2::Unit::is_hallucination, #84 (5617655)
- Update Civetweb to v1.13 (538383e)
- Update the s2client-proto submodule (5be7be2)
- Update the SDL submodule (df661b2)
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
- Fix protobuf warnings (baff1c9)
- Get rid of random_shuffle (2ebc82b)
- Move filters to sc2_unit_filters, #82 (509786d) (40ae46b)
- Reduce verbocity in examples (fbe3c9c)
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
v1.3.0
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
v1.2.0
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
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
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
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
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
- Fix TestUnitCommand (4debe09)