133 Commits

Author SHA1 Message Date
2e7ba82160 Adds back missing WORKSPACE file. 2024-09-08 21:43:19 -07:00
10d6de6a89 Converts from WORKSPACE config to MODULE.bazel config. 2024-09-02 01:06:19 -07:00
cf383f27c7 Refactors Abilities to Ability Groups. 2023-05-03 15:04:46 -07:00
182f76cb87 Refactors constants out of Virtues.h. 2023-04-25 13:45:09 -07:00
34aa82bf73 Refactors constants out of Ranks.h. 2023-04-25 13:42:35 -07:00
dc4295bd86 Refactors constants out of Genders.h. 2023-04-25 13:40:12 -07:00
f35c0f21d0 Refactors constants out of Freebies.h. 2023-04-25 13:38:54 -07:00
c3cd1e65ff Refactors constants out of Disciplines.h. 2023-04-25 13:32:50 -07:00
053da18030 Refactors constants out of Derangements.h. 2023-04-25 13:24:23 -07:00
d322bd0c5c Refactors constants out of Clans.h. 2023-04-25 12:56:51 -07:00
07af18f616 Refactors constants out of Character.h. 2023-04-25 12:50:46 -07:00
279c5d0893 Refactors constants out of Backgrounds.h. 2023-04-25 12:46:39 -07:00
34678d9af6 Refactors constants out of Attributes.h. 2023-04-25 12:44:21 -07:00
d1314e16a4 Refactors constants out of Archetypes.h. 2023-04-25 12:26:38 -07:00
6b1efb0f0f Refactors most constants out of Abilities.h. 2023-04-25 12:21:45 -07:00
79541c8f84 Refactors a lot of stuff out of sbf. 2023-04-25 11:43:23 -07:00
5f3bf98f03 Adds convenience functions to freebies. 2023-04-25 11:32:18 -07:00
2efe940300 Cleans up empty character tests. 2023-04-25 11:31:44 -07:00
ac2c397982 Adds convenience functions to abilities. 2023-04-25 11:31:21 -07:00
ec67dd7645 Adds .compile_commands.json to gitignore. 2023-04-25 11:30:51 -07:00
8defea8746 Implements CGGetDerangement. 2023-04-25 00:05:23 -07:00
61f6c3aae8 Implements CGSpendVirtuePoints. 2023-04-24 23:48:02 -07:00
994fe041af Implements CGGetRoad for VtM. 2023-04-24 23:40:47 -07:00
fe2b0ddfce Implements CGGetBackgrounds. 2023-04-24 23:37:15 -07:00
df1c4c0727 Adds GetBackgroundValues to CharacterType.
Renames a bunch of parameters to simplify them.
2023-04-24 23:36:53 -07:00
005fcf7f56 Adds GetBackgroundLabels. 2023-04-24 23:35:59 -07:00
d33e95a57d Removes compile_commands.json from source control. 2023-04-24 22:47:16 -07:00
bed4ea00a1 Updates to sbf.cpp. 2023-04-24 22:14:44 -07:00
482e237fb9 Adds ToLower to utils.
Renames utils functions to match other functions.
2023-04-24 22:09:20 -07:00
5d9a86cb96 Fixes and enhancements to menus. 2023-04-24 22:06:43 -07:00
a9ea107272 Fixes Character Fill* methods and some getters. 2023-04-24 22:04:21 -07:00
b4764ff480 Adds GetAttributeLabelsInGroup. 2023-04-24 22:02:28 -07:00
7d6e9ec6b8 Fixes SetBackgroundColor to return the previous color.
Fixes SetForegroundColor to return the previous color.
Fixes test_Colors to not care about the order of the foreground and background commands.
2023-04-24 14:56:12 -07:00
ec4cf99c60 Removes FillDerangements.
Refactors GetAllDerangementsLine to be simpler.
2023-04-24 14:54:45 -07:00
8ec8b1dfe0 Refactors tests to better fit with how bazel runs them. 2023-04-24 13:59:21 -07:00
3bf43ef62a Configures for bazel build and test. 2023-04-24 02:13:10 -07:00
1e7c4eb726 Lots of implementation for sbf-cpp. 2023-04-24 01:08:22 -07:00
b5b72efebc Removes a bunch of stuff from settings.json. 2023-04-24 01:01:16 -07:00
0f493366ca Makes test harnesses frendlier.
Adds Menus and Random modules to Makefile.
Adds -DDebug flag to debug builds.
2023-04-24 01:00:54 -07:00
bb95df74f4 Removes old comments from colors.cpp. 2023-04-22 00:39:58 -07:00
1f45248ccd Removes unknown values from fill functions.
Indexes will no longer match Ids.
Updated all tests to use char* argv[] instead of char** argv.
2023-04-22 00:38:48 -07:00
e8e9904de3 Implements freebies and tests. 2023-04-22 00:32:17 -07:00
1470ed80b9 Adds sbf-all.bas that combines all qb files. 2023-04-21 22:45:50 -07:00
e466196c1a Adds UTF-8 BOM to all C++ files. 2023-04-21 22:45:16 -07:00
4b4fda698f Updates comment in sbf.h with latest qb source. 2023-04-21 22:44:34 -07:00
5e57ac277d Configures clang-format and clangd.
Runs clang-format on all c++ files.
2023-04-21 21:57:29 -07:00
64c7632806 Adds TODOs for c++ version. 2023-04-18 00:29:24 -07:00
ce6a75eb80 Converts the ncurses test from wchar_t to regular char. 2023-04-18 00:28:21 -07:00
891890f779 Adds documentation to the implemented modules. 2023-04-18 00:11:29 -07:00
9b344b5d6b Implements virtues and tests. 2023-04-17 23:22:22 -07:00