Replace ui.h include with ui_rect.h, organize other includes

This commit is contained in:
Robert Müller 2022-07-08 18:28:30 +02:00
parent 680dd052d7
commit 7b390808bc
3 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,7 @@
#include "tooltips.h"
#include <game/client/render.h>
#include <game/client/ui.h>
CTooltips::CTooltips()
{

View file

@ -1,10 +1,11 @@
#ifndef GAME_CLIENT_COMPONENTS_TOOLTIPS_H
#define GAME_CLIENT_COMPONENTS_TOOLTIPS_H
#include <cstdint>
#include <game/client/component.h>
#include <game/client/ui.h>
#include <game/client/ui_rect.h>
#include <cstdint>
#include <functional>
#include <optional>
#include <unordered_map>

View file

@ -3,12 +3,11 @@
#ifndef GAME_CLIENT_RENDER_H
#define GAME_CLIENT_RENDER_H
#include "ui.h"
#include <base/color.h>
#include <base/vmath.h>
#include <game/client/skin.h>
#include <game/client/ui_rect.h>
class CSpeedupTile;
class CSwitchTile;