1063 Commits

Author SHA1 Message Date
AtomicScience
bbfb840430 Bring back platform lwjgl deps 2025-02-17 12:46:53 +03:00
AtomicScience
cb902180c6 Fix scalafmt errors, remove unneded logging 2025-02-17 12:14:47 +03:00
AtomicScience
6f1f1fffc7 Bump OpenGL version to allow using inverse()
Perhaps Metal is more strict about versions, or vendors provide this function in 140 on other platforms
2025-02-17 11:30:05 +03:00
AtomicScience
7b89069c40 Fix issue with alpha channel blending on Metal 2025-02-17 11:29:57 +03:00
AtomicScience
b67cd2a7f2 Add support for manually compiled LWJGL instance 2025-02-17 09:20:05 +03:00
Fingercomp
1a69b55f5e
Merge branch 'master' into develop 2025-02-13 22:00:26 +03:00
Fingercomp
34bcb0bd4c
Merge branch 'develop' v1.13.1 2025-02-13 21:59:20 +03:00
Fingercomp
5fa0cdcb0b
Version 1.13.1 2025-02-13 21:59:10 +03:00
Fingercomp
3f4f32d71c
Fix a glitch when removing a screen node while its window is open
Fixes #161.
2025-02-13 21:23:13 +03:00
Fingercomp
8d80e41a2f
Merge branch 'master' into develop 2025-02-09 17:48:39 +03:00
Fingercomp
23eadac441
Merge branch 'develop' v1.13.0 2025-02-09 16:50:12 +03:00
Fingercomp
21f9d25371
Version 1.13.0 2025-02-09 16:49:51 +03:00
Fingercomp
46ca2709af
Update ocelot-brain 2025-02-09 16:48:43 +03:00
Fingercomp
dbbe289af8
Perform η-reduction of plot constructors
Closes #157.
2025-02-09 02:02:20 +03:00
Fingercomp
e29555e592
Add a hint for the home key to the status bar 2025-02-02 01:13:01 +03:00
Fingercomp
f62acc1cb8
Don't show null addresses in item tooltips
Fixes #159.
2025-02-01 16:11:32 +03:00
Fingercomp
6f9558bed1
Merge branch 'refactor/entity-id' into develop 2025-02-01 16:03:11 +03:00
Fingercomp
e37a910d69
Allow non-Environment entities in SyncedInventories
To that end, entities are identified by their entityIds instead of their
environment's node addresses.
2025-02-01 02:38:41 +03:00
LeshaInc
709acb268a
scalafmt: Set docstrings.forceBlankLineBefore = false 2025-01-31 21:36:34 +03:00
LeshaInc
70bdbcd630 Merge branch 'refactor/add-scalafmt' into 'develop'
Add scalafmt

Closes #88

See merge request cc-ru/ocelot/ocelot-desktop!100
2025-01-30 20:29:55 +00:00
LeshaInc
ee4f2dcc3b Add scalafmt 2025-01-30 20:29:55 +00:00
LeshaInc
edd9916905 Merge branch 'feature/scalatest' into 'develop'
Add scalatest

Closes #153

See merge request cc-ru/ocelot/ocelot-desktop!98
2025-01-27 21:09:19 +00:00
LeshaInc
234442f5ea Add scalatest 2025-01-27 21:09:19 +00:00
Fingercomp
9d323138d3
Merge branch 'feature/relay-gui' into develop 2025-01-27 00:20:25 +03:00
Fingercomp
7a6d62efbe
Use semantic naming for relay window colors 2025-01-27 00:16:13 +03:00
Fingercomp
cd86902dd5
Add a relay GUI
Closes #74.
2025-01-26 22:32:54 +03:00
Fingercomp
63030f505f
Merge branch 'refactor/click-sounds' into develop 2025-01-26 00:09:33 +03:00
Fingercomp
d2845d9320
Create a new iterator for every event dispatch
Previously, if the same `dispatchEvent(...)` callback was reused for
different events, only the first call actually delivered the event,
whereas the following calls would find the widget iterator exhausted.
2025-01-25 23:13:36 +03:00
Fingercomp
79284270bc
Dispatch events to items in any kind of Inventory 2025-01-25 22:49:39 +03:00
Fingercomp
68643be2b8
Make focused text fields and screen windows consume handled events 2025-01-25 22:19:48 +03:00
Fingercomp
bdf0037146
Split click sounds into two, played on press and release 2025-01-25 18:33:56 +03:00
Fingercomp
477b3586f0
Use Option[T] instead of nulls 2025-01-25 16:48:51 +03:00
Fingercomp
3374053a5a
Merge branch 'refactor/click-and-drag' into develop 2025-01-25 16:05:35 +03:00
Fingercomp
766f0e5ae6
Remove ComponentSelector*
Nothing uses these classes, apparently.
2025-01-25 02:37:30 +03:00
Fingercomp
11e3254925
Make IconButtons behave more like regular buttons 2025-01-25 02:20:33 +03:00
Fingercomp
47a858b788
Register clicks as long as the button is released within the bounds 2025-01-25 01:57:50 +03:00
Fingercomp
1a64e949dd
Unify ClickHandler and DragHandler
This fixes long-standing annoyances regarding click detection: if a
widget handles both the click and the drag events, pressing down a
button, dragging the cursor away, moving it back, and releasing the
button would trigger a click event. No other UI behaves like that.
2025-01-25 01:35:25 +03:00
Fingercomp
8efa8e84c1
Synchronize access to screen buffers
Also fix screen viewport rendering, which previously used "live" screen
data instead of the buffer copies updated every tick.
2025-01-24 21:47:32 +03:00
Fingercomp
e6ac48862e
Open the simulation speed dialog on left-click
See #143.
2025-01-24 19:23:16 +03:00
Fingercomp
6df90c0fca
Highlight the TPS counter on mouse hover
Closes #143.
2025-01-24 19:20:49 +03:00
Fingercomp
34337b2cc3
Merge branch 'feature/icon-button-hover-highlighting' into develop 2025-01-24 13:19:38 +03:00
Fingercomp
5b6e378000
Highlight the rest of IconButtons on mouse hover
See #143.
2025-01-24 01:39:18 +03:00
Fingercomp
aa635a6d1c
Leave words of wisdom for whoever touches TextInput code again
Let's hope it won't be me who does that.
2025-01-23 21:10:58 +03:00
Fingercomp
a81dbb3ba2
Merge branch 'feature/screenshot' into develop 2025-01-23 20:27:16 +03:00
Fingercomp
b1a1cef365
Allow both left and right modifiers in key bindings 2025-01-23 19:53:36 +03:00
UnicornFreedom
a65caad242 Add shutter sound and effect 2025-01-23 17:36:34 +01:00
Fingercomp
08ef6f9075
Merge branch 'refactor/node-icon-sources' into develop 2025-01-23 13:31:40 +03:00
Fingercomp
82b35d9dbc
Load workspaces in the main thread
Fixes #147.
2025-01-23 02:08:01 +03:00
Fingercomp
33b08dcef8
Remove an obsolete TODO 2025-01-23 01:54:44 +03:00
Fingercomp
a69f04bcf3
Use IconSources to refer to node sprites 2025-01-23 01:46:43 +03:00