/***************************************************************************** * Copyright (c) 2014-2018 OpenRCT2 developers * * For a complete list of all authors, please refer to contributors.md * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 * * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ #pragma once #include #include #include #define MINIMUM_TOOL_SIZE 1 #define MAXIMUM_TOOL_SIZE 64 // The highest tool size to have a sprite. Bigger tool sizes simply display a number. #define MAX_TOOL_SIZE_WITH_SPRITE 7 extern uint16_t gLandToolSize; extern money32 gLandToolRaiseCost; extern money32 gLandToolLowerCost; extern uint8_t gLandToolTerrainSurface; extern uint8_t gLandToolTerrainEdge; extern money32 gWaterToolRaiseCost; extern money32 gWaterToolLowerCost; extern uint32_t WallTextureOrder[]; extern uint32_t WallTexturePreviews[]; uint32_t land_tool_size_to_sprite_index(uint16_t size); void land_tool_show_surface_style_dropdown(rct_window * w, rct_widget * widget, uint8_t currentSurfaceType); void land_tool_show_edge_style_dropdown(rct_window * w, rct_widget * widget, uint8_t currentEdgeType);