Skip to content
Snippets Groups Projects
  1. Jun 29, 2024
  2. Jun 26, 2024
  3. Jun 24, 2024
  4. Jun 17, 2024
  5. Jun 13, 2024
  6. Jun 10, 2024
  7. Jun 03, 2024
  8. May 30, 2024
  9. Dec 20, 2023
  10. Aug 30, 2021
  11. Aug 17, 2021
  12. Aug 06, 2021
    • David Bergström's avatar
    • David Bergström's avatar
      Merge branch 'master' into 'master' · ee8aea73
      David Bergström authored
      Bugfixes, added methods and a lot better docs
      
      Bugs fixed:
      * building placement when you want some spacing now works
      * the correct constructor for unittype is called when calling from python
      * unit.target doesn't crash the debugger anymore when a target is missing
      * unit.is_training is not just the opposite to is_idle. Added to make sure unit is a building too.
      * fixed problem with all minerals being empty on all other baselocations than starting base
      * debug spawning of units now spaws for the correct player
      * added more types of geysers to isGeyser same for minerals and made sure refinieries have isRefinery on those geysers
      * drawLine was not working, terrainHeight was messing things up.
      
      --------------
      
      Added:
      * map_tools.map_name to get the name of the current map
      * draw_tile to draw outline of a tile
      * Point2DI and Point2D can now be hashed to be stored in python dicts and sets
      * Conversion between Point2D and Point2DI and the other way around made easy with new constructors
      * UnitType.attack_damage added to show base attackdamage of an unit
      * Unit.progression_list to get the entire list of percentages of current processes. Can be used to see if the unit has a reactor
      * UnitType.can_attack_air and .can_attack_ground to check if the unittype can attack or not.
      * building_placer.can_build_here_with_size takes coordinates and width and height to check if it can be buildt at the position. Addons can have weird sizes so this can be used to do checks regarding those.
      
      --------------
      
      Random:
      * More or less everything in the API has got a comment in the documentaion and changed some comments to avoid confusions
      * Most of the comments are moved from the .rst files and into the .cpp instead in order to see the documentation with intellisense and autogenerate it for the docs instead.
      * Maptools docs doesn't appear two times.
      
      See merge request !11
      ee8aea73
    • Emil Brynielsson's avatar
      Bugfixes, added methods and a lot better docs · f60ad72d
      Emil Brynielsson authored and David Bergström's avatar David Bergström committed
      f60ad72d
  13. Aug 24, 2020
  14. Aug 19, 2020
  15. Aug 17, 2020
  16. Aug 05, 2020
  17. Aug 04, 2020
  18. Aug 02, 2020
  19. Jul 29, 2020
  20. Jul 28, 2020
  21. Jul 27, 2020
Loading