Commit Graph

20 Commits

Author SHA1 Message Date
Patric Stout
eebb2eba93 fix: ShipAttribute storybook uses invalid attribute-name (#19)
The name changed a while ago from cpuUsage to cpuUsed.
2023-11-24 13:07:24 +00:00
Patric Stout
390c92b2dc fix: datafiles don't load when content-encoding is used (#18)
content-length is not set by Cloudflare when content-encoding is used.
So no longer depend on content-length, and just read till the end of the
file.
2023-11-24 13:06:52 +00:00
Patric Stout
edb388d322 chore: bump datafiles to v1.2-20231115 (#17)
* fix: incorrect mimetype for Protobuf files
2023-11-21 21:51:19 +00:00
Patric Stout
76f3467829 feat: show icons in statistics (#16) 2023-11-20 22:10:34 +01:00
Patric Stout
8ee97f2dc2 feat: recharge rates for defense in statistics panel (#15) 2023-11-19 13:35:56 +00:00
Patric Stout
b5b147eed6 feat: show eHP statistics of the ship (#14) 2023-11-19 11:12:21 +00:00
Patric Stout
a471c04aa0 feat: update the SDE to 2023-11-15 (#13)
This includes the new data for the Havoc Expansion.
2023-11-19 11:10:19 +00:00
Patric Stout
7cc287b4c2 chore: fix type of "skills" (#12) 2023-11-19 11:05:57 +00:00
Patric Stout
2b3bb585ed feat: calculate velocity boost for AB / MWD correctly (#11)
For this the dataset is modified to add effects and modifier.
Additionally, some bugs in dogma-engine resulted in wrong numbers, so we
bump that while at it.
2023-11-14 22:12:59 +00:00
Patric Stout
056a839f4e feat: allow toggling the state of the modules (Offline, Online, Active, Overload) (#10) 2023-11-13 22:35:43 +00:00
Patric Stout
c5b60e2eae chore: be consistent with naming hislot/medslot/lowslot (#9) 2023-11-13 19:14:04 +00:00
Patric Stout
1c2466b475 chore: fix typo and extend docs a bit (#8) 2023-11-13 19:05:19 +00:00
Patric Stout
0e1d028459 fix: parsing quantity (... x5) fails when loading EFT fits (#7) 2023-11-12 19:36:53 +00:00
Patric Stout
d9c10090da fix: slots layout look odd as they are full rectangles (#6)
Now instead, they are a bit trapezium, and the outer border is a bit
rounded. Additionally, slots are a bit darker to stand out better.
2023-11-12 20:27:08 +01:00
Patric Stout
ad863eaabc fix: failure to process data-files on first load (#5)
When data-files are not cached, some chunks are really small (like 36
bytes small). This could cause the buffer to be too small to decode the
next entry, causing a failure.

Solve this by always reading at least 2048 bytes in the next buffer.
This is a bit slow, as it has to copy over all the chunks leading up to
2048 bytes into a new buffer.
2023-11-12 18:36:22 +00:00
Patric Stout
8395cb710f fix: publish the npm package with the right version (#4) 2023-11-12 14:48:52 +00:00
Patric Stout
c0e9eb5b2a chore: push the release of the storybook build to the right branch (#3) 2023-11-12 14:47:44 +00:00
Patric Stout
7977ceaf9f chore: publish storybook under main and fix npm package versioning (#2) 2023-11-12 15:43:22 +01:00
Patric Stout
12bf3bd7d2 feat: initial work in rendering a fit (#1) 2023-11-12 15:37:04 +01:00
Patric Stout
e8bad8c7a9 chore: initial empty commit 2023-10-28 10:37:57 +02:00