Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Dicelib code into MapTool Repo #4000

Merged
merged 71 commits into from
Apr 25, 2023

Conversation

cwisniew
Copy link
Member

@cwisniew cwisniew commented Apr 25, 2023

Identify the Bug or Feature request

resolves #3999

Description of the Change

The source for Dicelib has been merged into the MapTool Repo (preserving history as I don't want to steal anyones thunder).

Possible Drawbacks

Little longer to build, but shouldn't be much longer

Release Notes

  • Dicelib code is now a part of MapTool repo

This change is Reviewable

cwisniew and others added 30 commits May 3, 2015 13:59
Fix build and add keep lowest/drop highest dice rolls
new rolls and support for listing rolled dice
changed location that rolls are recorded
Develop
…tion to return a sequence of pre-configured roll values for use in testing dice expressions. Providing some expression tests that use the new RunDataMockForTesting to verify dice expression behavior against specific known roll sequences.
Add additional RerollOnce tests and apply formatting
Phergus and others added 20 commits August 29, 2020 11:27
ShadowRun 5 Dice Roll
…s using RunData to avoid a mock object being left as Current for tests not expecting it.

RPTools/dicelib#82
Inform parent RunData when child makes a roll
Added function "rollSubWithUpper". Ordered existing functions: Upper/Lower, Add Upper/Lower, Sub Upper/Lower
Added regex for XdYaZlW for the existing function rollAddWithLower.
Added regex for XdYsZuW for the newly submitted function rollSubWithUpper.
The function seems to have been introduced specifically for a substraction, but is now used for both addition and substraction.
The variable is already named "mod" in the file "RollWithBounds.java", so I'm matching the name here.
Forgot to declare the name. Please confirm this one in particular, because I only have a vague understanding of what "3, 4" does for super() here.
Most of the other functions have a data conversion here, so I included the same.
I checked dicelib and maptool for usages of "RollWithBounds" and looked for the six different function names. I didn't find any conflict with the int to BigDecimal change.

Spaces due to auto-formatting.
@thelsing
Copy link
Collaborator

thelsing commented Apr 25, 2023

Isn't this the perfect time to use move the current code into a subdir and use a proper multiproject configuration in the repository? I think I have done this locally in a branch I could check and prepare a PR.

@cwisniew
Copy link
Member Author

cwisniew commented Apr 25, 2023

Isn't this the perfect time to use move the current code into a subdir and use a proper multiproject configuration in the repository? I think I have done this locally in a branch I could check and prepare a PR.

As already discussed before, what benefit would this buy us that out weighs the extra complexity, (especially for those new to GIT). No benefits were given last time it was discussed, so I have no inclination to do it just for the sake of doing it.

@cwisniew cwisniew added this pull request to the merge queue Apr 25, 2023
Merged via the queue into RPTools:develop with commit 73a7498 Apr 25, 2023
@cwisniew cwisniew added the code-maintenance Adding/editing javadocs, unit tests, formatting. label Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-configuration code-maintenance Adding/editing javadocs, unit tests, formatting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Refactoring]: Dicelib should be merged into MapTool Repository
8 participants