Skip to content

TODO list follow-up (removals) #4

@heinermann

Description

@heinermann

List of things you can ignore:

Changes in BWAPI 4.1.0 Beta

  • The video commands have been removed (this was for in-game "/commands" and is not relevant)

Changes in BWAPI 4.0.0 Beta (r4350)

  • getClientInfo/setClientInfo are now available to all Interface classes, and also take an optional parameter that acts as a key (this is an enhancement, the old methods should still work)
  • All types' enumerations are now available (for switch case usage) and are accessed by Types::Enum (Example: UnitTypes::Enum::Terran_Marine) (This is an addition and is not relevant to conversion)
  • Instead of using Game::printf, you may use BWAPI::Broodwar like you would std::cout, using operator << (Game::printf works the same as before so this is not relevant)
  • Using Special_Start_Location in canBuildHere will ignore units that are occupying the space while still checking for resource distance (This is an enhancement and is not relevant)
  • getTextColor now returns a char instead of an int so that it is printed correctly when used with ostream::operator << (Nothing needs to be done for this. The char will upcast to an int implicitly if it was ever used that way.)
  • Unit count functions now take a default parameter of AllUnits (Enhancement and not relevant.)
  • Unit commands are now more strict (This is an internal change and does not affect the API. It simply prevents sending commands to BW that are expected to fail)
  • getResources now returns the last-known resource amount when the unit becomes inaccessible (This is an enhancement that shouldn't affect existing logic.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions