Commit Graph

  • dd96f59f2b temp tmp Tom Hicks 2025-06-30 13:48:02 -07:00
  • 2e7ba82160 Adds back missing WORKSPACE file. main origin/main origin/HEAD Tom Hicks 2024-09-08 21:43:19 -07:00
  • 10d6de6a89 Converts from WORKSPACE config to MODULE.bazel config. Tom Hicks 2024-09-02 01:06:19 -07:00
  • cf383f27c7 Refactors Abilities to Ability Groups. Tom Hicks 2023-05-03 15:04:46 -07:00
  • 182f76cb87 Refactors constants out of Virtues.h. Tom Hicks 2023-04-25 13:45:09 -07:00
  • 34aa82bf73 Refactors constants out of Ranks.h. Tom Hicks 2023-04-25 13:42:35 -07:00
  • dc4295bd86 Refactors constants out of Genders.h. Tom Hicks 2023-04-25 13:40:12 -07:00
  • f35c0f21d0 Refactors constants out of Freebies.h. Tom Hicks 2023-04-25 13:38:54 -07:00
  • c3cd1e65ff Refactors constants out of Disciplines.h. Tom Hicks 2023-04-25 13:32:50 -07:00
  • 053da18030 Refactors constants out of Derangements.h. Tom Hicks 2023-04-25 13:24:23 -07:00
  • d322bd0c5c Refactors constants out of Clans.h. Tom Hicks 2023-04-25 12:56:51 -07:00
  • 07af18f616 Refactors constants out of Character.h. Tom Hicks 2023-04-25 12:50:46 -07:00
  • 279c5d0893 Refactors constants out of Backgrounds.h. Tom Hicks 2023-04-25 12:46:39 -07:00
  • 34678d9af6 Refactors constants out of Attributes.h. Tom Hicks 2023-04-25 12:44:21 -07:00
  • d1314e16a4 Refactors constants out of Archetypes.h. Tom Hicks 2023-04-25 12:26:38 -07:00
  • 6b1efb0f0f Refactors most constants out of Abilities.h. Tom Hicks 2023-04-25 12:21:45 -07:00
  • 79541c8f84 Refactors a lot of stuff out of sbf. Tom Hicks 2023-04-25 11:43:23 -07:00
  • 5f3bf98f03 Adds convenience functions to freebies. Tom Hicks 2023-04-25 11:32:18 -07:00
  • 2efe940300 Cleans up empty character tests. Tom Hicks 2023-04-25 11:31:44 -07:00
  • ac2c397982 Adds convenience functions to abilities. Tom Hicks 2023-04-25 11:31:21 -07:00
  • ec67dd7645 Adds .compile_commands.json to gitignore. Tom Hicks 2023-04-25 11:30:51 -07:00
  • 8defea8746 Implements CGGetDerangement. Tom Hicks 2023-04-25 00:05:03 -07:00
  • 61f6c3aae8 Implements CGSpendVirtuePoints. Tom Hicks 2023-04-24 23:48:02 -07:00
  • 994fe041af Implements CGGetRoad for VtM. Tom Hicks 2023-04-24 23:40:47 -07:00
  • fe2b0ddfce Implements CGGetBackgrounds. Tom Hicks 2023-04-24 23:37:15 -07:00
  • df1c4c0727 Adds GetBackgroundValues to CharacterType. Renames a bunch of parameters to simplify them. Tom Hicks 2023-04-24 23:36:53 -07:00
  • 005fcf7f56 Adds GetBackgroundLabels. Tom Hicks 2023-04-24 23:35:59 -07:00
  • d33e95a57d Removes compile_commands.json from source control. Tom Hicks 2023-04-24 22:47:16 -07:00
  • bed4ea00a1 Updates to sbf.cpp. Tom Hicks 2023-04-24 22:14:44 -07:00
  • 482e237fb9 Adds ToLower to utils. Renames utils functions to match other functions. Tom Hicks 2023-04-24 22:09:20 -07:00
  • 5d9a86cb96 Fixes and enhancements to menus. Tom Hicks 2023-04-24 22:06:43 -07:00
  • a9ea107272 Fixes Character Fill* methods and some getters. Tom Hicks 2023-04-24 22:04:21 -07:00
  • b4764ff480 Adds GetAttributeLabelsInGroup. Tom Hicks 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. Tom Hicks 2023-04-24 14:56:12 -07:00
  • ec4cf99c60 Removes FillDerangements. Refactors GetAllDerangementsLine to be simpler. Tom Hicks 2023-04-24 14:54:45 -07:00
  • 8ec8b1dfe0 Refactors tests to better fit with how bazel runs them. Tom Hicks 2023-04-24 13:59:21 -07:00
  • 3bf43ef62a Configures for bazel build and test. Tom Hicks 2023-04-24 02:13:10 -07:00
  • 1e7c4eb726 Lots of implementation for sbf-cpp. Tom Hicks 2023-04-24 01:08:22 -07:00
  • b5b72efebc Removes a bunch of stuff from settings.json. Tom Hicks 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. Tom Hicks 2023-04-24 01:00:54 -07:00
  • bb95df74f4 Removes old comments from colors.cpp. Tom Hicks 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. Tom Hicks 2023-04-22 00:38:48 -07:00
  • e8e9904de3 Implements freebies and tests. Tom Hicks 2023-04-22 00:32:17 -07:00
  • 1470ed80b9 Adds sbf-all.bas that combines all qb files. Tom Hicks 2023-04-21 22:45:50 -07:00
  • e466196c1a Adds UTF-8 BOM to all C++ files. Tom Hicks 2023-04-21 22:45:16 -07:00
  • 4b4fda698f Updates comment in sbf.h with latest qb source. Tom Hicks 2023-04-21 22:44:34 -07:00
  • 5e57ac277d Configures clang-format and clangd. Runs clang-format on all c++ files. Tom Hicks 2023-04-21 21:55:17 -07:00
  • 64c7632806 Adds TODOs for c++ version. Tom Hicks 2023-04-18 00:29:24 -07:00
  • ce6a75eb80 Converts the ncurses test from wchar_t to regular char. Tom Hicks 2023-04-18 00:28:21 -07:00
  • 891890f779 Adds documentation to the implemented modules. Tom Hicks 2023-04-18 00:11:29 -07:00
  • 9b344b5d6b Implements virtues and tests. Tom Hicks 2023-04-17 23:22:22 -07:00
  • 05bd423109 Adds error summary to test harnesses. Tom Hicks 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. Tom Hicks 2023-04-17 23:00:10 -07:00
  • 1f6df1227c Implements utils and tests. Tom Hicks 2023-04-17 22:58:50 -07:00
  • d7df3a2be4 Adds tests for utils functions. Tom Hicks 2023-04-17 19:47:39 -07:00
  • 204a6a27df Implements ranks and tests. Tom Hicks 2023-04-17 19:35:46 -07:00
  • cf1d7f5896 Implements genders and tests. Tom Hicks 2023-04-17 18:49:54 -07:00
  • f8394a8d03 Implements disciplines and tests. Tom Hicks 2023-04-17 18:28:31 -07:00
  • 018cce461d Implements derangements and tests. Tom Hicks 2023-04-16 07:18:00 -07:00
  • 91271f38b0 Fixes abilities tests to check operator!=. Tom Hicks 2023-04-16 07:17:49 -07:00
  • a4b0bc7e7b Implements colors and tests. Tom Hicks 2023-04-16 04:08:51 -07:00
  • 5501de76e2 Adds doxygen comments to SBF namespace. Adds doxygen header to header files. Tom Hicks 2023-04-16 04:08:33 -07:00
  • 7c9c42b17c Cleans up Doxyfile comments. Tom Hicks 2023-04-16 04:06:01 -07:00
  • 382aa14611 Adds doxygen comments and MIT license comment to Abilities.h. Tom Hicks 2023-04-16 03:01:18 -07:00
  • 38014594ee Adds docs and read-docs Makefile targets. Tom Hicks 2023-04-16 03:00:35 -07:00
  • d0ed32bc23 Adds the MIT license file. Tom Hicks 2023-04-16 02:58:15 -07:00
  • 09dcfd86b2 Adds a basic Doxyfile. Tom Hicks 2023-04-16 02:57:58 -07:00
  • 2e937ce02c Implements clans and tests. Tom Hicks 2023-04-15 23:25:00 -07:00
  • 670c517326 Implements backgrounds and tests. Tom Hicks 2023-04-15 22:54:04 -07:00
  • 3111b9a8aa Implements Attributes. Moves attribute functions from Character.cpp to Attributes.cpp. Tom Hicks 2023-04-15 22:15:42 -07:00
  • 11ccce8ce1 Fixes indentation in Archetypes_test.cpp. Tom Hicks 2023-04-15 22:14:17 -07:00
  • 02e3b2f10a Adds a new c++ stdlib header to file associations. Tom Hicks 2023-04-15 22:13:58 -07:00
  • ffbcce2d35 Implements Archetypes functions. Adds tests for them. Tom Hicks 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. Tom Hicks 2023-04-15 18:45:37 -07:00
  • 20e413742c Fixes typo in Makefile "ehco" instead of "echo". Tom Hicks 2023-04-15 18:43:46 -07:00
  • a5fff60a61 Adds vector compare helper to TinyTest. Tom Hicks 2023-04-15 18:43:04 -07:00
  • fb02bf059a Disables clang warning for a not yet used color variable. Tom Hicks 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. Tom Hicks 2023-04-15 16:30:06 -07:00
  • e68973c1b1 Documents Abilities. Adds full test coverage for Abilities. Tom Hicks 2023-04-15 16:27:23 -07:00
  • 31a5b60f7f Outputs the error count when running tests. Outputs a summary of failure messages after running tests. Tom Hicks 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. Tom Hicks 2023-04-15 16:22:40 -07:00
  • 7f95c4dabb Removes a bunch of old comments. Tom Hicks 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. Tom Hicks 2023-04-14 16:16:24 -07:00
  • 5e27ff5b89 Allows spending freebie points on disciplines and attributes. Tom Hicks 2023-04-13 22:59:28 -07:00
  • 97352b489e Adds a MaybeCls sub that only clears the screen if isDebugging is set. Tom Hicks 2023-04-13 21:11:00 -07:00
  • 247b8c760a save-state-1 Tom Hicks 2023-04-12 16:05:22 -07:00
  • ff65bd12a5 Adds targets make target and cleans up makefile. Tom Hicks 2023-04-12 15:55:01 -07:00
  • 97b5f557c5 Adds the ability to build and run a single test suite. Tom Hicks 2023-03-31 03:37:28 -07:00
  • c2f04de4f8 Changes to test system to allow per class tests. Tom Hicks 2023-03-31 03:00:17 -07:00
  • c5c8bddb48 Filled in all c++ headers from QB code. Copied methods not yet implemented from QB to cpp files. Tom Hicks 2023-03-30 00:51:00 -07:00
  • 64eac55804 Adds some unicode and ncurses links to Notes.md. Tom Hicks 2023-03-28 19:26:47 -07:00
  • 1d347e105a Cleans up makefile and adds better testing targets. Tom Hicks 2023-03-28 19:25:32 -07:00
  • c47c7e5a93 Streamlines tests greatly. Tom Hicks 2023-03-28 18:56:21 -07:00
  • bc961f6ba3 Cleans up the way tests work in test.cpp. Tom Hicks 2023-03-28 01:45:05 -07:00
  • e2a60b14da Adds test for make_wrap_lines. Tom Hicks 2023-03-26 19:56:51 -07:00
  • b6d097f84f Cleanup, comments, and making extra test aps. Tom Hicks 2023-03-26 03:55:57 -07:00
  • 732283b699 Adds ncursesw support. Tom Hicks 2023-03-26 02:53:41 -07:00
  • f19ec79b1e Adds a basic c++ app using ncurses and a build system. Tom Hicks 2023-03-25 17:12:32 -07:00
  • 9ba05f381f Adds a bunch of todo items. Tom Hicks 2023-03-17 10:49:39 -07:00
  • a952943814 Updates the splash screen. Tom Hicks 2023-03-17 09:34:29 -07:00