Commit Graph

712 Commits

Author SHA1 Message Date
Florian Nücke
6322290f03 Minor cleanup. 2022-01-13 17:07:18 +01:00
Florian Nücke
ab17078ed5 Add utility method for time to tick conversion for better readability. 2022-01-13 17:07:17 +01:00
Florian Nücke
d73d0c0b0a Re-generate auto-generated assets. 2022-01-13 17:07:17 +01:00
Chloe
f30760cbd6 Add support for class file parameter names 2022-01-11 19:08:47 +00:00
Florian Nücke
3407e84d53 Homogenize scripts a little. 2022-01-10 19:53:17 +01:00
Florian Nücke
4ff68cd390 Reworded some item descriptions trying to make them more concise.
Makes tooltips a little less daunting.
Also enable description for manual item.
2022-01-10 19:26:01 +01:00
Sangar
f7983bcb40 Merge branch '1.18-forge' into rus 2022-01-10 18:35:32 +01:00
Florian Nücke
60871d30aa Made network cards configurable as to what faces they connect to. Closes #53. 2022-01-10 18:19:57 +01:00
Florian Nücke
44b2bfdc1d Fixed terminal tab evaluation when cursor sits on a tabulation. 2022-01-09 14:38:13 +01:00
Florian Nücke
bfb4798332 Renamed RobotEntity -> Robot to follow mapping style. 2022-01-09 11:57:43 +01:00
Florian Nücke
01dba40389 Mention interface renaming in scripting docs and vice versa. 2022-01-09 11:56:34 +01:00
Florian Nücke
eecee804e6 Update Sedna version in mods.toml. 2022-01-09 09:53:52 +01:00
Florian Nücke
728504900e Fixed devices not being updated when loading item list. Fix not applying loaded device data to existing devices.
Fixes initial robot state on placement.
2022-01-09 09:53:37 +01:00
Florian Nücke
1e59043b01 Fixed potential crash when computer stops immediately while still initializing disk from image. 2022-01-09 09:13:05 +01:00
Florian Nücke
a0885e7350 Fix ROWS -> LINES. 2022-01-08 08:09:53 +01:00
Florian Nücke
e8b2c836e8 Clean up worker thread join logic a bit and fire resuming event immediately to avoid performance issues/race conditions for some devices (e.g. network cards). 2022-01-08 07:46:08 +01:00
Florian Nücke
8798f958f9 Add startup script that sets terminfo and terminal size environment variables. 2022-01-08 06:30:59 +01:00
Florian Nücke
63602bfef7 Use RIS for terminal reset. 2022-01-08 06:30:16 +01:00
Florian Nücke
99fa59cfc6 Color directories that cannot be opened gray. 2022-01-07 12:50:07 +01:00
Florian Nücke
c392ad0f90 Don't allow opening files/dirs that are not accessible via double-click (when button is already disabled for that reason). 2022-01-07 12:49:46 +01:00
Florian Nücke
d139ea4679 Fix potential NRE when selecting file to import. 2022-01-07 12:48:50 +01:00
Florian Nücke
28734a68d9 Fix javadoc. 2022-01-07 08:18:33 +01:00
Florian Nücke
0169158e95 Set run state if runner errored to avoid NRE later on (since RUNNING implies runner != null). 2022-01-07 08:18:25 +01:00
Florian Nücke
1b9d4061af Horrible hack to avoid Forge stealing keyboard input in terminal screens. 2022-01-07 08:12:21 +01:00
Florian Nücke
54ab9418e3 Add some missing functionality to terminal emulator and fix some things.
Also make it a little more readable by splitting actual commands out into separate methods.
2022-01-07 07:55:53 +01:00
Florian Nücke
ed81efb4d6 Correctly send \r instead of \n for returns and fix some other combinations. Fixes #76. 2022-01-07 07:53:10 +01:00
Florian Nücke
708745def2 Fix duplicate character sending for alt+{key} combinations. 2022-01-07 07:52:08 +01:00
Florian Nücke
b466ff932b Support terminal user tracking on robots.
Unused for now, but we claim it exists in the documentation, and it doesn't hurt to pre-emptively do so.
2022-01-07 07:51:31 +01:00
Florian Nücke
998dab052b Reduce Side util class API surface a bit. 2022-01-07 07:50:33 +01:00
Florian Nücke
94e57af093 Some documentation improvements. 2022-01-07 07:48:40 +01:00
Bs0Dd
3d612f6435 Sample program for redstone device 2022-01-03 15:52:47 +01:00
Bs0Dd
a2577378d1 Russian Handbook 2022-01-03 15:29:43 +01:00
Bs0Dd
96067b0bb1 All valid names for sides 2022-01-03 15:25:58 +01:00
Bs0Dd
9b51445a02 Russian localization 2022-01-03 15:23:37 +01:00
Bs0Dd
088b592800 English descriptions expanded 2022-01-03 15:09:59 +01:00
Florian Nücke
b656e27f43 Put some more effort into avoiding listeners keeping references to things that may otherwise be garbage collected. 2022-01-02 15:15:53 +01:00
Florian Nücke
143be7cea1 Patch the stack size in item stack serializer to support stacks with size that does not fit into NBT serialization (which uses byte). Fixes #61. 2022-01-01 19:12:09 +01:00
Florian Nücke
72b7774a57 Ensure slot info icons render on top of slot content icon and wrap slot info tooltips. 2022-01-01 08:51:48 +01:00
Florian Nücke
079bff36d2 Avoid trying to access unloaded chunks when collecting devices. Should fix #85. 2022-01-01 08:16:59 +01:00
Florian Nücke
0da6f68455 Store cable linking in player instead of in static list. 2022-01-01 07:57:02 +01:00
Florian Nücke
7cb428b142 Fix caching of terminal lines. 2022-01-01 06:37:50 +01:00
Florian Nücke
4a5b02f5e3 Fix loss of precision in energy values for robot/computer UI. 2022-01-01 05:07:57 +01:00
Florian Nücke
4e30d28e8d Fix access to client-only type on server. Fixes #72. 2022-01-01 04:25:08 +01:00
Florian Nücke
783b405017 Fix tests. 2022-01-01 03:00:47 +01:00
Florian Nücke
46543eb817 Fixed item coloring. 2021-12-31 17:51:10 +01:00
Florian Nücke
bb77b3ef95 Terminal rendering working properly again. 2021-12-31 17:29:04 +01:00
Florian Nücke
1b57fe3de3 Fix cursor blink. 2021-12-31 05:43:25 +01:00
Florian Nücke
93886ae816 Started working on fixing terminal rendering. 2021-12-31 04:54:06 +01:00
Florian Nücke
072e4421e7 More instanceof pattern matching. 2021-12-31 04:26:22 +01:00
Florian Nücke
3fab593a3c Autoformat and organize imports. 2021-12-31 02:36:29 +01:00