Commit Graph

106 Commits

Author SHA1 Message Date
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
05bd423109 Adds error summary to test harnesses. 2023-04-17 23:00:35 -07:00
cc64937a2e Makes TinyTest wrap expected and actual outputs in quotes.
Fixes a type on a TinyTest error message.
2023-04-17 23:00:10 -07:00
1f6df1227c Implements utils and tests. 2023-04-17 22:58:50 -07:00
d7df3a2be4 Adds tests for utils functions. 2023-04-17 19:47:39 -07:00
204a6a27df Implements ranks and tests. 2023-04-17 19:35:46 -07:00
cf1d7f5896 Implements genders and tests. 2023-04-17 18:54:24 -07:00
f8394a8d03 Implements disciplines and tests. 2023-04-17 18:44:55 -07:00
018cce461d Implements derangements and tests. 2023-04-17 18:27:38 -07:00
91271f38b0 Fixes abilities tests to check operator!=. 2023-04-16 07:17:49 -07:00
a4b0bc7e7b Implements colors and tests. 2023-04-16 04:08:51 -07:00
5501de76e2 Adds doxygen comments to SBF namespace.
Adds doxygen header to header files.
2023-04-16 04:08:33 -07:00
7c9c42b17c Cleans up Doxyfile comments. 2023-04-16 04:06:01 -07:00
382aa14611 Adds doxygen comments and MIT license comment to Abilities.h. 2023-04-16 03:01:18 -07:00
38014594ee Adds docs and read-docs Makefile targets. 2023-04-16 03:00:35 -07:00
d0ed32bc23 Adds the MIT license file. 2023-04-16 02:58:15 -07:00
09dcfd86b2 Adds a basic Doxyfile. 2023-04-16 02:57:58 -07:00
2e937ce02c Implements clans and tests. 2023-04-15 23:25:00 -07:00
670c517326 Implements backgrounds and tests. 2023-04-15 22:54:04 -07:00
3111b9a8aa Implements Attributes.
Moves attribute functions from Character.cpp to Attributes.cpp.
2023-04-15 22:15:42 -07:00
11ccce8ce1 Fixes indentation in Archetypes_test.cpp. 2023-04-15 22:14:17 -07:00
02e3b2f10a Adds a new c++ stdlib header to file associations. 2023-04-15 22:13:58 -07:00
ffbcce2d35 Implements Archetypes functions.
Adds tests for them.
2023-04-15 18:46:14 -07:00
3c30150a70 Adds operator != to AbilityType.
Makes Abiites tests use the vector compare helper.
Makes Abilities tests report "no errors" instead of "" for success.
2023-04-15 18:45:37 -07:00
20e413742c Fixes typo in Makefile "ehco" instead of "echo". 2023-04-15 18:43:46 -07:00
a5fff60a61 Adds vector compare helper to TinyTest. 2023-04-15 18:43:04 -07:00
fb02bf059a Disables clang warning for a not yet used color variable. 2023-04-15 16:30:32 -07:00
b3bb6e4031 Converts from wstring to regular string.
Cleans up empty test suites to return no tests instead of a single pass.
2023-04-15 16:30:06 -07:00