Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

515 Fixes and Auxmos 2.5.2 #2703

Open
wants to merge 56 commits into
base: master
Choose a base branch
from

Conversation

covertcorvid
Copy link
Member

@covertcorvid covertcorvid commented Aug 10, 2024

About The Pull Request

This ups some version numbers, fixes a NAMEOF call, and updates atmos to use an actual library API instead of weird DLL hacks.

References yogstation13/Yogstation#13479 and Citadel-Station-13/Citadel-Station-13#16061

Why It's Good For The Game

I love the idea of not having weird DLL hacks, also the firelocks seem to work better.
Also also people will actually be able to compile and run the code in 515 now.

Testing Photographs and Procedure

Atmos tests:

  • Analyzed a turf
  • Analyzed a pipe
  • Can breathe
  • Ran plasma constrictors
  • Ran storm drive
  • Depressurized a room
  • Flooded a room with plasma

Changelog

🆑 juypterkat, covertcorvid
fix: Firelocks respond to depressurization better
refactor: A lot of the atmos subsystem got reorganized at minimum
add: auxmos might be handling fusion now if I understood this correctly
server: Updated auxmos to 2.5.2 and my fork - PreCompile.sh changed
server: Also updated rustg
/:cl:

covertcorvid and others added 20 commits June 15, 2024 12:44
* Bumps rust_g to the latest version

* Partial port of tgstation/tgstation#56183

Co-authored-by: AnturK <[email protected]>

* Re-formats fname params

---------

Co-authored-by: AnturK <[email protected]>
* Bump to rustg v3.1.0

* Implement rustg_icon_states

* Update dependencies.sh

* Update rust version too

* Revert "Implement rustg_icon_states"

This reverts commit 42db8ec27adc74e3b9742da35aa32d0bc452e4da.

* Bump to 3.1.1
* GAGS Rustg

* Bump rust-g to 3.1.2

* Move to tmp

* Copy json configs into tests

* Fix tests

* Begone tabs

* Optimize greyscale_layer init
code/__DEFINES/atmospherics.dm Outdated Show resolved Hide resolved
code/__DEFINES/atmospherics.dm Show resolved Hide resolved
code/__DEFINES/atmospherics.dm Show resolved Hide resolved
@@ -169,6 +200,80 @@
#define rustg_http_request_async(method, url, body, headers, options) RUSTG_CALL(RUST_G, "http_request_async")(method, url, body, headers, options)
#define rustg_http_check_request(req_id) RUSTG_CALL(RUST_G, "http_check_request")(req_id)

/// Generates a spritesheet at: [file_path][spritesheet_name]_[size_id].png
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how much I needed any of this

code/__HELPERS/game.dm Show resolved Hide resolved
@@ -2,7 +2,6 @@
//Datum gets created in master.dm because for whatever reason global code in there gets runs first
//In case we ever figure out how to manipulate global init order please move the datum creation into this file
/datum/debugger
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be completely honest I do not know what the debugger does and had to remove it from world.dm to stop everything from hanging on startup

auxmos_path = "./libauxmos.so"
else if (fexists("./auxtools/libauxmos.so"))
auxmos_path = "./auxtools/libauxmos.so"
else if (fexists("[world.GetConfig("env", "HOME")]/.byond/bin/libauxmos.so"))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still need to look in home?

@@ -4,11 +4,10 @@ SUBSYSTEM_DEF(callbacks)
wait = 1
priority = FIRE_PRIORITY_CALLBACKS

/proc/process_atmos_callbacks()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global proc moved to bindings.dm, this is fine

@covertcorvid covertcorvid marked this pull request as ready for review January 6, 2025 05:38
@covertcorvid
Copy link
Member Author

Still looking into gas meters not automatically connecting on map load when not on layer 3 pipes, but the pipenets are reportedly working now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants