Commit Graph

18632 Commits

Author SHA1 Message Date
Anuken
074aad3ba2 Allow building shard cores in maps with core zone tiles 2024-09-30 22:14:07 -04:00
Anuken
567b515611 Wider objective editing dialog 2024-09-29 12:35:24 -04:00
Anuken
4f05904b4a Closes Anuken/Mindustry-Suggestions/issues/5025 2024-09-29 00:02:30 -04:00
Anuken
9df98c1962 Closes Anuken/Mindustry-Suggestions/issues/5239 2024-09-28 23:31:48 -04:00
Anuken
339af6b3cc Better warmup for Erekir turrets 2024-09-27 14:23:48 -04:00
Anuken
b2041194da Fixed turret tracking range again / Reinforced container capacity increase 2024-09-27 13:08:59 -04:00
Anuken
575965e295 Fixed unit payload pickup/drop spam 2024-09-27 12:18:50 -04:00
Anuken
cfbbee8746 Removed RTS AI difficulty modifier 2024-09-26 11:44:48 -04:00
Anuken
3b3257f376 Typo fix 2024-09-25 17:07:35 -04:00
Anuken
1ef1486257 Why is it orange 2024-09-25 14:23:08 -04:00
Anuken
40565b8197 Reverted conveyor health change due to annoyance 2024-09-25 14:12:37 -04:00
Anuken
0cf2ad1cca Naval Fortress map tweaks 2024-09-25 14:01:48 -04:00
Anuken
1dec92d25d Testing naval fortress submission 2024-09-25 07:44:07 -04:00
Anuken
cbc4797f4e Fixed turrets ignoring nearby targets with increased tracking range 2024-09-24 22:09:46 -04:00
Anuken
d6912b10d1 Removed Polar Aerodrome for now 2024-09-24 15:56:19 -04:00
Anuken
978f16b8e3 Applied jabel to other submodules 2024-09-24 15:49:58 -04:00
Anuken
b2ef7f346f Separate turret tracking range for malign/smite 2024-09-24 12:36:51 -04:00
Anuken
56f3dac3d2 Sectors with world processors get reset on gameover 2024-09-23 22:51:14 -04:00
Anuken
8e1df180bc Mod browser dialog back button moved to overlay 2024-09-23 21:06:54 -04:00
way-zer
116798e328 OC: fix slow of LCanvas 2024-09-23 22:38:36 +07:00
code-explorer786
a5de131711 Trapezoidal jumps
I haven't checked this yet, but it seems like it also reduces the
complexity (runtime) from ≈O(n^2) to ≈O(k^2 + n)
(n = number of jump curves)
(k = number of unique destinations)

The worst case, that is k = n, is still O(n^2) but generally it's much
more (scalably) performant.

Thanks Arkanic for suggesting this!
https://discord.com/channels/391020510269669376/663854113418641429/1256161815503704104

Co-authored-by: Arkanic <50847107+Arkanic@users.noreply.github.com>
2024-09-23 22:31:21 +07:00
Ilya246
c5b8133ff9 optimise jump colors and attempt to space them apart 2024-09-23 22:26:11 +07:00
code-explorer786
939f6939d0 Jump curve coloring
See #general-programming in the Mindustry Discord server:
https://discord.com/channels/391020510269669376/663854113418641429/1256146387834372106

Co-authored-by: Ilya246 <ilyukarno@gmail.com>
2024-09-23 22:26:06 +07:00
code-explorer786
89b67fc4b4 Transition jump heights
It looks good.
2024-09-23 22:26:03 +07:00
code-explorer786
282d21db05 Update jump heights only when necessary.
This method uses signaling (through a boolean) and I feel like it's
extremely hacky, but I tested this and it (kind of?) works.
Unfortunately I found this to potentially lag when resizing.

I am not sure if this is guaranteed to work (as in, produce correct
behaviour) or not, but to my understanding only LogicDialog uses LCanvas
(grep out "LCanvas\|canvas" and see) so it will most likely work?

I tested this and accidentally found an unrelated issue related to
LCanvas.maxJumpsDrawn, but I hope this will be fixed in the near future.
2024-09-23 21:04:45 +07:00
code-explorer786
26105a64f1 Use pools
It feels hacky, but it works regardless. The GC should be working as
hard as it was beforehand.
2024-09-23 21:04:42 +07:00
code-explorer786
b58a6bb8d6 wip: different heights for jump arrows
Note that this is very incomplete, for two different reasons:
- it's O(n^2) or potentially worse
- it makes the GC work hard (it invokes `new` in
  `LCanvas.DragLayout.layout()`)

For the second reason this does not clearly fit the criteria of
CONTRIBUTING.md, but I have yet to figure out ways to work around this
(or make the algorithm more efficient).
2024-09-23 21:01:54 +07:00
code-explorer786
b8c9a05963 LCanvas: jumps -> statements.jumps
Original canvas.jumps is now a reference to canvas.statements.jumps.
Please remove canvas.jumps in favour of canvas.statements.jumps in a
future release. Thanks!
2024-09-23 18:14:38 +07:00
Anuken
51b415731a Fixed units sometimes exploding when payload dropped 2024-09-22 08:58:09 -04:00
Anuken
830fcb6360 Fixed database opening when selecting commanded units 2024-09-21 09:00:24 -04:00
Anuken
63c90968c7 Triggering build to test newer Java version 2024-09-20 15:42:22 -04:00
Anuken
c6e702441d Basin's missile is no longer 'nuclear' 2024-09-20 14:37:53 -04:00
Anuken
f00b79906b Fixed database dialog fade 2024-09-20 14:09:39 -04:00
Anuken
0c540f9527 Minor fix 2024-09-20 14:04:55 -04:00
Anuken
65e7891991 Core database content icon click support 2024-09-20 14:04:08 -04:00
Anuken
4f93a5c332 Separator output display 2024-09-20 14:04:07 -04:00
Anuken
68dccab5ca Improved crash logs; source mod of crashes now included in report 2024-09-20 13:15:26 -04:00
Anuken
c36e638826 Polar aerodrome fixes / Objective timer multiplier for difficulty 2024-09-20 11:17:12 -04:00
Anuken
bd1f750673 Minor fixes / Desktop detach camera hotkey 2024-09-19 20:37:22 -04:00
Anuken
ab39291626 Pathfinder bugfixes 2024-09-18 19:22:51 -04:00
Anuken
e521a56712 Many bugfixes / Support for repairing derelict in selection 2024-09-18 16:27:54 -04:00
Anuken
63e246cc9d Headless crash fix 2024-09-18 09:02:05 -04:00
Anuken
cd7f2459b9 Merge remote-tracking branch 'origin/master' 2024-09-18 07:05:42 -04:00
Anuken
a293cb4687 Fixed campaign rules in portrait mode 2024-09-18 07:05:34 -04:00
Github Actions
65c4dd6695 Automatic bundle update 2024-09-17 22:04:39 +00:00
Anuken
90fcafa80d Merge remote-tracking branch 'origin/master' 2024-09-17 18:03:40 -04:00
Anuken
5b9d3029a5 Loop unit transfer command 2024-09-17 18:03:31 -04:00
Github Actions
d1648004cb Automatic bundle update 2024-09-17 18:30:26 +00:00
Anuken
b81553f490 Minor bugfixes / New easier difficulty mode 2024-09-17 14:29:24 -04:00
Anuken
a9c5fdb959 Merge remote-tracking branch 'origin/master' 2024-09-16 20:38:52 -04:00