Commit Graph

93 Commits

Author SHA1 Message Date
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
e68973c1b1 Documents Abilities.
Adds full test coverage for Abilities.
2023-04-15 16:27:36 -07:00
31a5b60f7f Outputs the error count when running tests.
Outputs a summary of failure messages after running tests.
2023-04-15 16:26:46 -07:00
3751d78dfe TinyTest improvements.
Adds ostream formatting for tuples and vectors.
Moves execute_suite implementation into test.h.
Adds a better test execution sequence and better test reporting.
Adds message support for test errors/failures/skips.
Removes more dead code from test.cpp.
2023-04-15 16:22:40 -07:00
7f95c4dabb Removes a bunch of old comments. 2023-04-14 16:18:06 -07:00
b525394a41 Adds freebie point spending. Adds cancel as an option to MenuStyle to allow cancelling. Adds includeInRandom to MenuItem to hide specific MenuItems from GetRandomMenuItemId. 2023-04-14 16:16:24 -07:00
5e27ff5b89 Allows spending freebie points on disciplines and attributes. 2023-04-13 22:59:28 -07:00
97352b489e Adds a MaybeCls sub that only clears the screen if isDebugging is set. 2023-04-13 21:11:00 -07:00
247b8c760a save-state-1 2023-04-12 22:11:23 -07:00
ff65bd12a5 Adds targets make target and cleans up makefile. 2023-04-12 15:55:01 -07:00
97b5f557c5 Adds the ability to build and run a single test suite. 2023-03-31 03:38:50 -07:00
c2f04de4f8 Changes to test system to allow per class tests. 2023-03-31 03:08:57 -07:00
c5c8bddb48 Filled in all c++ headers from QB code.
Copied methods not yet implemented from QB to cpp files.
2023-03-30 00:51:00 -07:00
64eac55804 Adds some unicode and ncurses links to Notes.md. 2023-03-28 19:26:47 -07:00