Commit Graph

52 Commits

Author SHA1 Message Date
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
59ede6b633 Breaks up the CharacterGenerator sub into multiple subsubs. 2023-03-01 01:31:29 -08:00
0ad38bd08c Adds ignoreValue param to AdjustMenuStyle to prevent needing to reset it to 0 after each call. 2023-03-01 01:18:55 -08:00
6a6a416624 Tons of refactoring.
Adds a todo file.
2023-03-01 01:14:21 -08:00
73227b1c71 Removes test code. 2023-02-26 21:58:47 -08:00
3394d2285e Generalizes addressing of attributes.
Removes extra padding before numbers converted to strings.
2023-02-26 21:52:56 -08:00
7fd6b13e5c Simplifies character initializer. 2023-02-26 21:40:32 -08:00
2dba792f92 Sets default encoding to cp437 (DOS). 2023-02-26 21:38:55 -08:00
661f6906e7 Refacotrs const array names. 2023-02-26 00:11:57 -08:00
e6c22cd3c9 Adds some commented out ideas. 2023-02-26 00:04:11 -08:00
043c7bac7c Adds talents, skills, and knowledges.
Adds backgrounds.
Adds an initializer for CharacterType.
Adds getters/setters for character talents, skills, knowledges, disciplines, and backgrounds.
2023-02-26 00:02:06 -08:00
5c724317a7 stuff 2023-02-25 00:34:05 -08:00
106b8f3a69 Adds some sample generated characters. 2023-02-22 01:48:29 -08:00