1
0
mirror of https://github.com/teoxoy/factorio-blueprint-editor.git synced 2024-12-26 20:54:22 +02:00
Commit Graph

902 Commits

Author SHA1 Message Date
teoxoy
0c5bded5da test blueprints 2024-12-20 00:59:17 +01:00
teoxoy
3933fe8e95 wip replace dat.gui with tweakpane 2024-12-20 00:59:17 +01:00
Teodor Tanasoaia
cba774314b add 404.html
This is needed for cloudflare to not infer that we are a SPA
and serve index.html on any route it doesn't find.
2024-12-11 23:44:01 +01:00
Teodor Tanasoaia
035ccfe2d8 update CSP 2024-12-11 23:44:01 +01:00
teoxoy
ddbdb81155 only use new clipboard API 2024-12-11 23:44:01 +01:00
teoxoy
886ce08eb9 switch to vite 2024-12-11 23:44:01 +01:00
teoxoy
e275eeb8ec update eslint and simplify its config 2024-12-09 03:39:51 +01:00
teoxoy
1262502e9b reformat files
via `npm run format:fix`
2024-12-09 03:39:28 +01:00
teoxoy
4eb31e53dc update prettier 2024-12-09 03:39:28 +01:00
teoxoy
f4d11f4647 update vscode configs 2024-12-08 23:07:56 +01:00
teoxoy
6eb7907d22 update graphics 2024-12-08 23:07:56 +01:00
teoxoy
441b964960 upgrade basis to 1.16.4 2024-12-08 23:07:54 +01:00
teoxoy
dd37d97b87 update the exporter
add support for windows
2024-12-08 01:59:37 +01:00
teoxoy
a5f1af7591 bump vulnerable deps via npm audit fix 2024-12-08 00:30:59 +01:00
teoxoy
0d9eca6244 remove yarn 2024-12-08 00:30:58 +01:00
Teodor Tanasoaia
e0b5c2e1b6
Make signal name optional for unset roboport signal outputs 2024-03-31 18:34:11 +02:00
Bart Duisters
a2bdcd2d79 Update index.html - fix typo
Avalible -> Available
2024-03-15 10:17:24 +01:00
teoxoy
65d3fe33d8 update output data after factorio version bump (v1.1.100) 2024-01-08 12:06:52 +01:00
Joel Verhagen
2f295d4e70
Update to Factorio 1.1.100 (#255) 2024-01-08 12:04:10 +01:00
cryhot
83343e6a6c fix duplicate wires on same entity
Bug that was fixed: connecting the input to the output of a decider/arithmetic combinator produced a different wire than connecting the output to the input.
2023-11-26 13:35:46 +01:00
Craig P. Motlin
fd197792d8
Add the ability to fetch blueprint data from https://www.factorio.school/api/blueprintData (#250)
* Add the ability to fetch blueprint data from https://www.factorio.school/api/blueprintData

* Use href

---------

Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
2023-05-13 01:25:36 +02:00
Cryhot
0bec144b89
Adds circuit wires (#248)
* add option to allow unreachable wire connections
this affects how the entities can be repositionned

* refactor IConnection to allow arbitrary wire connection points

* made getEntityAtPosition take a IPoint instead of x and y

* add util.sumprod function for vector manipulation

* add helper functions for locating wire connection points
namely:
- Entity.getWireConnectionBoundingBox
- PositionGrid.getConnectionPointAtPosition

* add circuit wire placement from the UI

* fix tile rotation (e.g., hazard concrete)

* make the connection point bounding box a full cell when it is single

* make wire "rotation" cycling from red to green

* make BlueprintContainer default settings reflect the saved settings

(dirty fix, it would have been cleaner to save the settings outside of BPC)

* mostly fixing typos

* make pressing the pipette (Q) while placing wire cancel the wire
2023-02-20 22:44:09 +01:00
Joel Verhagen
21ab873d83
Add executable bit to basisu (#247)
Resolves "permission denied" error when the exporter attempts to run an non-executable file.
2023-01-05 16:02:32 +01:00
teoxoy
6350222b8f update rust deps 2022-11-21 18:47:33 +01:00
smithtad
e1fd94b9ce
Added editor for Train Stop (#232)
* Added editor for Train Stop with inputs for station name and train limit #231

* add history support to train stop editor

Co-authored-by: Tad Smith <tad.smith@americo.com>
Co-authored-by: teoxoy <28601907+teoxoy@users.noreply.github.com>
2022-04-19 11:46:22 +02:00
KenCoder
8c58aa765c
Implement constrained click and drag that doesn't leave spaces (#241) 2022-04-19 10:58:24 +02:00
Teodor Tanasoaia
9748ecf88b fix ccw rotate not working for single entity 2022-03-11 17:00:26 +01:00
Ken Vogel
455cd36034 Blueprint tools (rotate, flip) for #9, and additive past e (#237) 2022-03-11 17:00:26 +01:00
Ken Vogel
200093f68f Support rotate of whole Blueprint 2022-03-11 17:00:26 +01:00
teoxoy
de9e3a0411 fix not all files getting copied 2021-12-16 16:30:17 +01:00
teoxoy
fa700ad63a add nvmrc file 2021-12-16 15:28:04 +01:00
teoxoy
b8143b5a3e update dependencies 2021-12-16 15:18:18 +01:00
teoxoy
c02052012b delete old stuff (everything related to adding mod support) 2021-12-12 23:53:36 +01:00
teoxoy
1eb3901f5b fix cache control headers for js and css 2021-12-12 01:03:01 +01:00
teoxoy
475516f31a remove cloudflare web analytics (will be enabled automatically by cf pages) 2021-12-12 00:47:53 +01:00
teoxoy
38f29998cd add cache control headers 2021-12-12 00:44:15 +01:00
teoxoy
879aeedad8 add support for deploying on cloudflare pages 2021-12-11 19:31:42 +01:00
teoxoy
a3c35d4c4a ignore basis folder 2021-09-30 13:33:19 +02:00
teoxoy
1b2c193702 add missing read_trains_count & trains_count_signal
fixes #229
2021-09-29 23:33:13 +02:00
teoxoy
a27f8138fd fix issue where landmines would offset the blueprint by half a tile 2021-09-29 22:46:17 +02:00
teoxoy
7554cc76c5 fix offset rail pos 2021-09-29 22:29:33 +02:00
teoxoy
daa2742c9f fix clippy warnings 2021-09-29 18:55:06 +02:00
teoxoy
35f3d38224 update PIXI to 6.1.3 2021-09-29 18:18:37 +02:00
teoxoy
a5bb51f72f update factorio to 1.1.41 2021-09-29 18:10:50 +02:00
teoxoy
eb3766b4b0 upgrade basis to 1.15 2021-09-29 18:08:10 +02:00
teoxoy
a6cb87c489 support books containing upgrade and deconstruction planners 2021-09-28 16:12:25 +02:00
teoxoy
d26c2dbb87 add missing spidertron-remote 2021-03-09 18:11:56 +01:00
teoxoy
abe58f4b3b add factorio.school as a source
closes #227
2021-02-10 16:27:12 +01:00
teoxoy
b6910441d3 fix offset by ignoring tiles if there are entities in the blueprint 2021-01-24 16:05:45 +01:00
teoxoy
70f0e7581f encode URI component 2021-01-23 14:56:40 +01:00