d14a39e0f7
To test, you need to update stk-assets with the dummy soccer field. In single player, you are limited to be in red team for now, so just shoot the ball into the blue goal. Also max-goal is limited to 4. Regarding AIs, the steering with ball logic is handled in SoccerAI::correctBallPosition, max AI supported in single player is limited to 5 by now. The AI is not as good as Zidane or Ronaldo, but steering with ball for human is not as easy as not normal driving anyway, so don't laugh at the AIs. :) TODO: Friendly-team firing, polish the soccer field.
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")
|