Fingercomp
1c19df7cf3
Implement event capturing
2025-08-14 19:13:56 +03:00
Fingercomp
9ced3b99b4
Merge branch 'feature/scrollable-context-menu' into develop
2025-08-14 17:30:34 +03:00
Fingercomp
5dda7c2b0d
Put context menus in a scroll view and try harder to fit them
...
Closes #149 .
2025-08-13 23:17:13 +03:00
Fingercomp
c789722d4c
Use PartialFunction.applyOrElse when dispatching
2025-08-13 22:47:15 +03:00
Fingercomp
22d854ed34
Merge branch 'refactor/scroll-view' into develop
2025-08-13 14:57:35 +03:00
Fingercomp
34537bd76c
Lay the ScrollView's children out using a Layout like the rest
...
This fixes a long-standing problem with the LogWidget not picking up the
latest scroll offset.
2025-08-13 01:03:39 +03:00
Fingercomp
c1020ff1cb
Refactor ScrollView
2025-08-13 00:51:04 +03:00
Fingercomp
79e3d8ca73
Replace a redundant field with a def
2025-08-12 18:29:51 +03:00
Fingercomp
ed6ff78956
Batch changes to Entry.y when removing entries
...
This improves performance significantly (by more than an order of
magnitude) when spamming messages.
Closes #177 .
2025-08-12 16:36:51 +03:00
Fingercomp
47ea0e7d9a
Update scalafmt settings
...
This is the docstring style we have decided we prefer.
2025-08-12 01:57:04 +03:00
Fingercomp
6b1da4162c
Fix the window state update logic
2025-08-12 00:00:48 +03:00
Fingercomp
094ac8cb48
Fix brain event snapshotting; remove obsolete synchronization
2025-08-11 23:49:25 +03:00
Fingercomp
fd6400f39a
Process a snapshot of the BrainEvent queue on update
...
Closes #177 .
2025-08-11 01:43:49 +03:00
Fingercomp
a042c76b0f
Update ocelot-brain
2025-08-11 01:18:38 +03:00
Fingercomp
eb6f6b0d8d
Emulate clipboard limits
...
See ocelot-brain#44.
2025-08-09 00:16:56 +03:00
Fingercomp
d0682ea063
Remove debug print statements left by mistake
2025-08-08 00:45:24 +03:00
Fingercomp
9192d7fc48
Downmix SDC SFX sounds to mono to allow positioning to work
...
Closes #174 .
2025-08-05 01:04:39 +03:00
Fingercomp
09277887a6
Indicate the current tier in the tier selection submenu
...
This is useful with microcontrollers, whose apperance does not change
depending on the tier, unlike, say, computer cases.
2025-08-05 00:20:43 +03:00
Fingercomp
4bcdebedfa
Have each sound card create its own sound stream
...
In addition to that, fixes a long-standing bug concerning brain event
dispatch to inventory items: items could receive events coming from a
component with a different address.
Fixes #175 .
2025-08-04 01:06:57 +03:00
Fingercomp
d1d2deddff
if is an expression; use that
2025-08-03 22:36:37 +03:00
Fingercomp
c06b048393
Fix the initial configuration of μCs
...
Closes #173 .
2025-08-03 22:30:05 +03:00
Fingercomp
d05aa8d89d
Merge branch 'feature/self-destructing-card-enhancements' into develop
2025-08-03 22:28:01 +03:00
Fingercomp
7c68939d54
Adjust SDC effects
2025-08-03 22:12:20 +03:00
Fingercomp
901d81aa8b
Make the SDC's tooltip more descriptive when the fuse is lit
2025-08-03 18:40:35 +03:00
Fingercomp
a5a9b18771
Make BoomCardFxHandler a supertrait of ComputerAwareNode
2025-08-03 18:39:41 +03:00
Fingercomp
7ecb9a6fe7
Refactor so as to handle SDC FX in racks too
2025-08-03 18:25:34 +03:00
Fingercomp
f6e81d6752
Refactor the boom glow effect
2025-08-03 17:55:58 +03:00
UnicornFreedom
09f688cbb3
Rebase implementation on a new particle system
2025-08-03 16:35:23 +02:00
smok1e
89da2e9f39
Yeah, the code won't work if i don't add comma after the last argument...
2025-08-03 16:35:23 +02:00
smok1e
b697d3c0c4
Applied scalafmt (probably)
2025-08-03 16:35:22 +02:00
smok1e
a9393ab2be
Added glow indicating soon explosion
2025-08-03 16:35:22 +02:00
smok1e
4209a05c62
Added explosion animation
2025-08-03 16:35:22 +02:00
smok1e
549833f3e9
Added countdown beep sound for Self-Destructing card
2025-08-03 16:35:21 +02:00
Fingercomp
82d98ff4f8
Merge branch 'refactor/sync-brain-dispatch' into develop
2025-08-03 16:28:11 +03:00
Fingercomp
d64314a9db
Dispatch BrainEvents synchronously from the main thread
...
Closes #172 .
2025-08-03 16:18:24 +03:00
Dmitry Zhidenkov
c3fcf7ed52
Merge branch 'feature/particle-system' into 'develop'
...
Refactor and unify particle system
See merge request cc-ru/ocelot/ocelot-desktop!109
2025-08-03 12:59:04 +00:00
Fingercomp
e3ccfeba9f
Fix a race when spawning ocelot log particles
2025-08-03 15:43:27 +03:00
Fingercomp
69dcca71dc
Make ParticleSystem.count O(1)
2025-08-03 15:42:47 +03:00
UnicornFreedom
7466b7d4db
Move particle speed into Particle class
2025-08-03 01:46:42 +02:00
Fingercomp
6554a1ef84
Deduplicate code by using the newly added side property
2025-08-03 02:36:59 +03:00
UnicornFreedom
c510cbb834
Refactor and unify particle system
2025-08-03 01:35:50 +02:00
Fingercomp
b248c4beeb
Highlight nodes in the rack window
...
Closes #167 .
2025-08-03 02:32:27 +03:00
Fingercomp
88f6870aa1
Rip out scalafmt from the CI pipeline
...
How can Scala people be satisfied with such a defective tool? It takes
all the bad parts of clang-format and none of the good ones. It can't
even enfore the official Scala style guide!
Anyway, I'm open to adding it back as long as it's set up to only check
files that have been modified in a MR or a commit. But I, personally,
don't feel like digging through giant piles of yaml to accomplish that.
2025-08-03 00:20:21 +03:00
UnicornFreedom
e0b8f61b6e
Get rid of assembly errors and warnings
2025-08-02 23:05:56 +02:00
Fingercomp
e23db58c4c
Remove audio sources before destroying their buffers
...
Fixes the OpenAL error messages printed on exit.
2025-08-02 21:57:15 +03:00
UnicornFreedom
c0dad8daed
Update ocelot-brain to v0.24.0
2025-08-02 16:51:30 +02:00
UnicornFreedom
ee8ff464ad
Use immutable IntMap in Font class to avoid boxed numeric operations
2025-08-02 00:27:15 +02:00
Fingercomp
24678b803b
Merge branch 'feature/more-tooltips' into develop
2025-08-01 21:47:14 +03:00
Fingercomp
8d3e71c8ad
Lighten the front/south side color
2025-08-01 21:27:27 +03:00
UnicornFreedom
fe86cb22de
Do not show side hint text on Cable nodes
2025-08-01 20:12:33 +02:00