Extracted all parts of all characters
This commit is contained in:
@@ -28,8 +28,9 @@ project(${TARGET_NAME} VERSION 1.0)
|
||||
add_executable(${PROJECT_NAME})
|
||||
|
||||
# Variables
|
||||
SET(ROOT_DIR "${CMAKE_SOURCE_DIR}")
|
||||
set(ROOT_DIR "${CMAKE_SOURCE_DIR}")
|
||||
set(TOOLS_DIR "${ROOT_DIR}/tools")
|
||||
set(ASSETS_DIR "assets")
|
||||
|
||||
# Include tools
|
||||
add_subdirectory(tools)
|
||||
@@ -48,13 +49,31 @@ elseif(TARGET_TYPE STREQUAL game)
|
||||
GAME_DISPOSE=pokerGameDispose
|
||||
GAME_VERSION=1.0
|
||||
)
|
||||
|
||||
set(DIR_CHARS poker/characters)
|
||||
tool_vn_character(penny
|
||||
${DIR_CHARS}/penny/character.xml ${DIR_CHARS}/penny.png
|
||||
)
|
||||
tool_vn_character(lucy
|
||||
${DIR_CHARS}/lucy/character.xml ${DIR_CHARS}/lucy.png
|
||||
)
|
||||
tool_vn_character(jenny
|
||||
${DIR_CHARS}/jenny/character.xml ${DIR_CHARS}/jenny.png
|
||||
)
|
||||
tool_vn_character(sammy
|
||||
${DIR_CHARS}/sammy/character.xml ${DIR_CHARS}/sammy.png
|
||||
)
|
||||
|
||||
set(DIR_CHARS assets/poker/characters/penny)
|
||||
|
||||
tool_vn_character(penny ${DIR_CHARS}/character.xml ${DIR_CHARS}/bruh.png)
|
||||
|
||||
add_dependencies(${PROJECT_NAME} penny)
|
||||
tool_assets(
|
||||
penny
|
||||
lucy
|
||||
jenny
|
||||
sammy
|
||||
)
|
||||
endif()
|
||||
|
||||
# Common Game Dependencies.
|
||||
add_dependencies(${PROJECT_NAME} assets)
|
||||
add_subdirectory(client)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user