Commit Graph

7 Commits

Author SHA1 Message Date
Matt Atlas
99ed2bf2f3 Look up/down hotkeys and quality of life. (#20355)
- You can now look down open spaces by shift clicking/examining them
when they're next to you.
- You can now look up open spaces by clicking the HUD element at the top
right.
- Fixed inconsistencies with the camera getting stuck while looking up
or down. It should now be much more fluid.

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2025-01-28 17:47:50 +00:00
DreamySkrell
7caa11ec69 BAPI - mapmanip grid alloc bugfix (#20029)
changes:
  - bugfix: "BAPI - mapmanip grid alloc bugfix."



![image](https://github.com/user-attachments/assets/c23ee55f-218d-4814-89ce-2a22d8fe64c4)

![image](https://github.com/user-attachments/assets/7ca852f7-a656-499b-b9a9-769e5207ed2b)

Yeah, it was allocating HUGE grids for no reason
oops
Thank you to @warriorstar-orion for catching it

---------

Co-authored-by: DreamySkrell <>
Co-authored-by: AuroraBuildBot <action@github.com>
2024-10-13 21:16:12 +00:00
DreamySkrell
60c5a2abe5 BAPI - mapmanip multiz support (#19687)
changes:
  - rscadd: "BAPI - mapmanip multiz support."

needed for the current map freeze

before, multiz dmm maps were not handled at all, always assuming there's
one zlevel (reading and writing)
now with this PR, multiz dmm maps will be handled correctly, both
submaps and the maps they are inserted into

---------

Co-authored-by: DreamySkrell <>
Co-authored-by: AuroraBuildBot <action@github.com>
2024-07-24 19:42:03 +00:00
DreamySkrell
13082e71ad BAPI - mapmanip submap perf improv + mapmanip script (#19634)
changes:
  - rscadd: "BAPI - mapmanip submap performance improvements."
  - rscadd: "BAPI - mapmanip script."

perf improv in the form of changing the map container from hashmap to a
flat grid
hashmap was only bad for big maps with lots of submaps - did not affect
horizon with its one small submap

the script:


![image](https://github.com/user-attachments/assets/136365c3-5cbc-4189-90a0-f163ea836735)

---------

Co-authored-by: DreamySkrell <>
Co-authored-by: AuroraBuildBot <action@github.com>
2024-07-22 14:40:13 +00:00
DreamySkrell
41071421f0 BAPI - mapmanip submap area/turf handling and submap repeating (#19523)
changes:
  - rscadd: "BAPI - mapmanip submap noop handling."
  - rscadd: "BAPI - mapmanip submap repeat setting."

both features are explained in forum thread
<https://forums.aurorastation.org/topic/20511-mapmanip-guide-submaps/>

but basically:
- "noop" areas and turfs has special meaning and determine whether the
submap manipulation is more like "replacing" or "appending"
- repeat setting controls whether extracted submaps should repeat on
insertion

---------

Co-authored-by: DreamySkrell <>
Co-authored-by: AuroraBuildBot <action@github.com>
2024-07-11 18:16:57 +00:00
DreamySkrell
5082ed7db3 BAPI - mapmanip extract-insert (#19311)
![image](https://github.com/Aurorastation/Aurora.3/assets/107256943/9b2b58ed-1709-42eb-8c61-0360cfb9f673)

![image](https://github.com/Aurorastation/Aurora.3/assets/107256943/b51da86e-a263-43cd-b017-8295200056ba)

![image](https://github.com/Aurorastation/Aurora.3/assets/107256943/fcc8e82c-ed13-4f4f-a609-a0c0ce0fbefc)

---------

Co-authored-by: DreamySkrell <>
Co-authored-by: AuroraBuildBot <action@github.com>
2024-06-14 14:19:40 +00:00
DreamySkrell
a78701f553 BAPI - spacemandmm dmm reading (#19118)
More bapi work, docs, etc.


The actual changes seen from DM side, is that all maps are parsed and
checked by spacemandmm. It does not really add much safety for us, as
everyone uses strongdmm anyways (which uses spacemandmm), but I will
need to do that anyways in future work.

The bapi call is on every map in the maploader, so if it does not work,
if it crashes or panics or whatever, we'll see it immediately (cause the
maps don't load). It should work fine, though, unless the setup is
wrong. I wrote more about safety and other things in readme text file in
rust/bapi dir.


So, yeah. The point of this PR is to do something meaningful with bapi,
and see if the whole workflow and setup and everything works correctly,
before doing any further work in future PRs.

---------

Co-authored-by: DreamySkrell <>
Co-authored-by: AuroraBuildBot <action@github.com>
2024-05-23 19:23:38 +00:00