Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 1.35 KB

changelog.md

File metadata and controls

20 lines (18 loc) · 1.35 KB

Changelog

Halley 3.x.x

Breaking Changes

  • Game::startGame() no longer takes API as a parameter. Use Game::getAPI() instead or storing it from this method.
  • Halley::Maybe<T> is now deprecated. Use std::optional<T> instead.
  • EntityStage::createWorld() no longer takes createComponent and createSystem arguments.
  • Removed Sprite::getOriginalSize(). Use Sprite::getUncroppedSize() instead.
  • Removed Sprite::getRawSize(). Use Sprite::getSize() instead.
  • Removed Halley::AABB. Use Halley::Rect4f instead.
  • UIRoot constructor changed, takes const Halley::HalleyAPI& instead of const AudioAPI*.
  • UITextInput constructor changed, no longer takes std::shared_ptr<InputKeyboard>.
  • UISpinControl constructor changed, no longer takes std::shared_ptr<InputKeyboard>.
  • UIWidget can no longer be focused by calling UIWidget::setFocus(true). Use UIWidget::focus() instead.
  • Halley::Keys renamed to Halley::KeyCode (old name is still available as an alias, but is deprecated).
  • Halley::KeyCode and Halley::KeyMods are now strongly typed (enum class).
  • Removed Halley::KeyCode::Escape. Use Halley::KeyCode::Esc instead.
  • Removed Halley::KeyCode::Return. Use Halley::KeyCode::Enter instead.
  • Several other less common keys in Halley::KeyCode have been removed or renamed. See input_keys.h for the current list.