f314c1ff2a
- move it to separate class, so that it can be displayed in Overworld too - add a possibility to scale the interface (atm. only in config.xml) - touch steering buttons are created only for single player races I removed unused drawEnergyMeter function from Overworld GUI. The reason was that I use this function from race_gui.cpp for nitro button and this function in overworld breaks it. And still the proper drawEnergyMeter function is available in race_gui.cpp and can be moved to RaceGuiBase if it will be needed in Overworld in future. I moved the font size computation to the top of constructor because I use it to check available space for minimap.
7 lines
485 B
CMake
7 lines
485 B
CMake
# Modify this file to change the last-modified date when you add/remove a file.
|
|
# This will then trigger a new cmake run automatically.
|
|
file(GLOB_RECURSE STK_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.hpp")
|
|
file(GLOB_RECURSE STK_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.cpp")
|
|
file(GLOB_RECURSE STK_SHADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "data/shaders/*")
|
|
file(GLOB_RECURSE STK_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${PROJECT_BINARY_DIR}/tmp/*.rc")
|