


CTeleTiles: https://github.com/ddnet/ddnet/blob/75c7303c66dfe51b62e0c9bc9c02359a6cd45d1c/src/game/mapitems.h#L447-L452 (edited)



CUIElementBase and CButtonContainer from CMenus to UI.
CUI instances but CUIElementBase has a static reference to CUI. This reference is always updated at the beginning of the game/editor render method (by calling CUIElementBase::Init again), to ensure that the correct CUI is being used.
UI()) instead of the underlying pointers in the UI element implementations.
CUI::Init to re...












