Commit Graph

114 Commits

Author SHA1 Message Date
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
1d347e105a Cleans up makefile and adds better testing targets. 2023-03-28 19:25:32 -07:00
c47c7e5a93 Streamlines tests greatly. 2023-03-28 18:56:21 -07:00
bc961f6ba3 Cleans up the way tests work in test.cpp. 2023-03-28 01:45:05 -07:00
e2a60b14da Adds test for make_wrap_lines. 2023-03-26 19:56:51 -07:00
b6d097f84f Cleanup, comments, and making extra test aps. 2023-03-26 03:55:57 -07:00
732283b699 Adds ncursesw support. 2023-03-26 03:00:47 -07:00
f19ec79b1e Adds a basic c++ app using ncurses and a build system. 2023-03-25 17:12:32 -07:00
9ba05f381f Adds a bunch of todo items. 2023-03-17 10:51:07 -07:00
a952943814 Updates the splash screen. 2023-03-17 09:34:29 -07:00
32959aaf8c Makes rank names, attribute names, and ability names pull from arrays instead of using generic vals. 2023-03-17 07:08:06 -07:00
82df15364f Extracts the Character "class".
closes #9
2023-03-11 10:42:27 -08:00
b3c9bb61e8 Extracts menu stuff.
closes #7
2023-03-11 09:42:43 -08:00
53b0de7079 Extracts colors to separate files. 2023-03-11 09:29:22 -08:00
dc755c7387 Regroups methods together by primary type. 2023-03-11 09:08:39 -08:00
1c44675b30 Removes unnecessarry ReDim. 2023-03-11 08:08:55 -08:00
8650ffc8d8 Cleans up old comments. 2023-03-11 08:06:22 -08:00
29bc53cd44 Adds derangements. 2023-03-11 00:53:30 -08:00
64fb5be5d4 Moves string functions together.
Adds MakeWrapLines to try to line wrap text in a pleasing manner.
2023-03-11 00:50:58 -08:00
d653d6a01f Adds virtues. 2023-03-11 00:48:24 -08:00
31e793c034 Removed unneeded conviction/instict fields. You either have conscience or self-control and you either have courage or conviction based on your ruleset. 2023-03-05 11:33:19 -08:00
bedaedbdd9 Adds project config file for mac. 2023-03-05 10:23:24 -08:00
0c15af341c Adds sample saved characters to the save character sub. 2023-03-02 04:30:56 -08:00
3e5628e360 Calculates willpower and humanity.
Calculates blood pool.
Adds a bunch of comments.
2023-03-02 04:24:46 -08:00
970f78ffe5 Adds spending virtue points. 2023-03-02 04:08:15 -08:00
bf42a25f59 Fixes CGGetBackgrounds not being called from CharacterGenerator.
Adds generation caculation to character creation.
Adds MakeFitB$ function to add padding between two strings. MakeFitB$("Generation:", "13", 20", " ") would return "Generation:       13".
Removes a bunch of accidental logging code.
Changes Sex to Gender on the character sheet and gives some extra space to the display.
2023-03-02 01:23:30 -08:00
8dde2db07f Cleans up NewCharacter. 2023-03-02 00:47:18 -08:00
70ce7cf911 Renames Abilities to AbilityGroups.
Removes PrintMenu and PrintMenuWithValues (replaced by calls to pm).
Adds ChooseStringIdWithValues to simplify old calls to PrintMenuWithValues.
Adds ChooseMenuItemId to simplify the ranking of abilities and attributes.
Changes getters to use intermediate variables during calculation and only sets the result once. This is to simplify renaming them later if needed.
Abstracts discipline points and background points to constants with getters to be overridden when adding ruleset support.
2023-03-01 04:27:17 -08:00
3ebcd60a3f Makes other header multiple-choice questions work like gender does. 2023-03-01 02:22:16 -08:00
e412da06e8 Moves genders to an array.
Adds some trans genders.
Adds some utility methods to simplify displaying a menu and choosing a string id from a list of strings.
2023-03-01 02:21:33 -08:00