Skip to content

Commit

Permalink
Upgrade to @planarally/dice 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruptein committed Aug 11, 2024
1 parent b3ac4b1 commit 083c98a
Show file tree
Hide file tree
Showing 23 changed files with 597 additions and 959 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ tech changes will usually be stripped from release notes for the public
- now renders hexes instead of squares in Hex grid mode
- step size changed to 1 in Hex grid mode
- shape bar is no longer visible, only hex is available in hex grid mode for now
- Dice
- non-3D mode
- option to use a click interface to build dice strings
- extra operators and selectors (e.g. keep highest 2)
- 3D code & assets are only loaded when settin "use 3D" to true in the tool config for the first time
- 3D physics now uses havok engine instead of ammo (babylonjs upgraded from 4 to 7)
- history & result UI slightly changed
- Option to share result with nobody
- clicking on the notification of another player's roll shows the details
- clicking on a history entry shows the details

## [2024.2.0] - 2024-05-18

Expand Down
140 changes: 121 additions & 19 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
"coverage": "vitest run --coverage"
},
"dependencies": {
"@babylonjs/materials": "^7.19.1",
"@babylonjs/core": "^7.20.1",
"@babylonjs/materials": "^7.20.1",
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/free-regular-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/vue-fontawesome": "^3.0.8",
"@planarally/dice": "^0.5.0",
"@planarally/dice": "^0.6.0",
"mathjs": "^12.4.2",
"path-data-polyfill": "^1.0.6",
"socket.io-client": "^4.7.5",
Expand Down Expand Up @@ -79,4 +80,4 @@
}
}
}
}
}
1 change: 0 additions & 1 deletion client/src/apiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ export interface Viewport {
export interface DiceRollResult {
player: string;
roll: string;
result: string;
shareWith: "all" | "dm" | "none";
}
export interface FloorBackgroundSet {
Expand Down
2 changes: 2 additions & 0 deletions client/src/fa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import {
faCogs,
faCommentDots,
faCut,
faDiceSix,
faDoorClosed,
faDownload,
faDrawPolygon,
Expand Down Expand Up @@ -101,6 +102,7 @@ export function loadFontAwesome(): void {
faCommentDots,
faCut,
faDAndD,
faDiceSix,
faDiscord,
faDoorClosed,
faDownload,
Expand Down
2 changes: 1 addition & 1 deletion client/src/game/api/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import "../systems/access/events";
import "../systems/auras/events";
import "../systems/characters/events";
import "../systems/chat/events";
import "../systems/dice/events";
import "../systems/groups/events";
import "../systems/labels/events";
import "../systems/logic/door/events";
Expand All @@ -12,7 +13,6 @@ import "../systems/room/events";
import "../systems/trackers/events";

import "./events/client";
import "./events/dice";
import "./events/floor";
import "./events/initiative";
import "./events/lg";
Expand Down
14 changes: 0 additions & 14 deletions client/src/game/api/events/dice.ts

This file was deleted.

22 changes: 0 additions & 22 deletions client/src/game/dice/ammo.ts

This file was deleted.

Loading

0 comments on commit 083c98a

Please sign in to comment.