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
Fingercomp
401e347227
Adjust the position of the node port legend by 1px
2025-08-01 21:04:17 +03:00
Fingercomp
7cdc316d24
Add a fade-in and fade-out animation to the port legend
2025-08-01 21:02:05 +03:00
Fingercomp
0dac2b2f1f
Deduplicate code
2025-08-01 20:51:39 +03:00
Fingercomp
3315764951
Choose the side or the direction in connection hints as appropriate too
2025-08-01 20:48:45 +03:00
Fingercomp
189d26c4a1
Only show the node port legend on hover
2025-08-01 20:44:27 +03:00
Fingercomp
223bbd5048
Show the cardinal direction or the side as appropriate for each node
2025-08-01 20:42:05 +03:00
UnicornFreedom
87f8aaaed5
Remove Hub side tooltip, add new connection hint overlay
2025-08-01 19:36:16 +02:00
Fingercomp
bdcbdc3fd8
Draw a node port legend on hover
2025-08-01 20:11:05 +03:00
UnicornFreedom
424c5fc202
Add a tooltip displaying connected Hub sides
2025-08-01 17:19:03 +02:00
Dmitry Zhidenkov
0d0046fd05
Merge branch 'feature/configurable-transparency' into 'develop'
...
Make inactive windows transparency configurable
See merge request cc-ru/ocelot/ocelot-desktop!106
2025-08-01 11:56:19 +00:00
UnicornFreedom
a1cd8cab00
The terrible crime of a bracketless if was averted
2025-08-01 13:40:17 +02:00
UnicornFreedom
00be88f571
Make the "hide when unfocused" feature more explicit
2025-08-01 13:40:17 +02:00
UnicornFreedom
18fc7b46ac
Refactor window refresh method to be less hacky
2025-08-01 13:40:16 +02:00
UnicornFreedom
47f92b06c1
Make inactive windows transparency configurable
2025-08-01 13:40:16 +02:00
Fingercomp
a0754f4cd8
Merge branch 'refactor/screen-window' into develop
2025-08-01 13:24:25 +03:00
Fingercomp
af3e887a1d
Adjust ScreenWindow's drag regions
...
The union of new regions is the window area sans the screen view and the
bottom right corner. This differs from the old regions when the
resolution is too small for the screen view to occupy the entirety of
the window's inner width.
2025-07-31 22:57:59 +03:00
Fingercomp
04550de173
Make the screen window look sane even when it's ridiculously small
2025-07-31 22:51:14 +03:00
Fingercomp
182d42a843
Pull ScreenView out of ScreenWindow
2025-07-31 18:29:53 +03:00
Dmitry Zhidenkov
6babdcf6d8
Merge branch 'feature/key-mappings' into 'develop'
...
Configurable key mappings
See merge request cc-ru/ocelot/ocelot-desktop!105
2025-07-29 22:57:55 +00:00