Game::startGame()
no longer takes API as a parameter. UseGame::getAPI()
instead or storing it from this method.Halley::Maybe<T>
is now deprecated. Usestd::optional<T>
instead.EntityStage::createWorld()
no longer takescreateComponent
andcreateSystem
arguments.- Removed
Sprite::getOriginalSize()
. UseSprite::getUncroppedSize()
instead. - Removed
Sprite::getRawSize()
. UseSprite::getSize()
instead. - Removed
Halley::AABB
. UseHalley::Rect4f
instead. UIRoot
constructor changed, takes constHalley::HalleyAPI&
instead ofconst AudioAPI*
.UITextInput
constructor changed, no longer takesstd::shared_ptr<InputKeyboard>
.UISpinControl
constructor changed, no longer takesstd::shared_ptr<InputKeyboard>
.UIWidget
can no longer be focused by callingUIWidget::setFocus(true)
. UseUIWidget::focus()
instead.Halley::Keys
renamed toHalley::KeyCode
(old name is still available as an alias, but is deprecated).Halley::KeyCode
andHalley::KeyMods
are now strongly typed (enum class
).- Removed
Halley::KeyCode::Escape
. UseHalley::KeyCode::Esc
instead. - Removed
Halley::KeyCode::Return
. UseHalley::KeyCode::Enter
instead. - Several other less common keys in
Halley::KeyCode
have been removed or renamed. Seeinput_keys.h
for the current list.