Refactors a lot of stuff out of sbf.

This commit is contained in:
2023-04-25 11:43:23 -07:00
parent 5f3bf98f03
commit 79541c8f84
11 changed files with 829 additions and 2906 deletions

View File

@@ -183,6 +183,28 @@ cc_test(
],
)
cc_library(
name = "character_generator",
srcs = ["CharacterGenerator.cpp"],
hdrs = ["CharacterGenerator.h"],
deps = [
"archetypes",
"character",
"freebies",
"genders",
"menus",
],
)
cc_test(
name = "character_generator_test",
srcs = ["CharacterGenerator_test.cpp"],
deps = [
":character_generator",
":tinytest",
],
)
# cc_library(
# name = "main",
# srcs = ["main.cpp"],
@@ -255,13 +277,7 @@ cc_binary(
"sbf.h",
],
deps = [
":abilities",
":archetypes",
":attributes",
":backgrounds",
":character",
":clans",
":genders",
":character_generator",
":menus",
],
)