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

Introduce a way to set IP #37

Open
Emilgardis opened this issue Jun 3, 2024 · 4 comments
Open

Introduce a way to set IP #37

Emilgardis opened this issue Jun 3, 2024 · 4 comments

Comments

@Emilgardis
Copy link
Contributor

Emilgardis commented Jun 3, 2024

Being able to set IP would be helpful

@Ryex
Copy link
Owner

Ryex commented Jun 3, 2024

How do you mean?

@Emilgardis
Copy link
Contributor Author

Sorry, it's called Instruction Pointer (IP) in stationeers :D

The ability to change the IP would be useful when debugging, where right now you have to either insert a jump or reset, but resetting clears registers and stack

@Emilgardis Emilgardis changed the title Introduce a way to set PC Introduce a way to set IP Jun 3, 2024
@Ryex
Copy link
Owner

Ryex commented Jun 3, 2024

Technically you can change the line number field of the housing. That will set the ip. But yes. I'll try to add that. Perhaps some sort of modifyer click on a line in the editor? Like alt click?

@Emilgardis
Copy link
Contributor Author

Making this field editable would make the most sense to me, alt click can probably be reserved for later

image

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

No branches or pull requests

2 participants