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

Use enums instead of numbers. #160

Open
nkrapivin opened this issue Mar 14, 2021 · 1 comment
Open

Use enums instead of numbers. #160

nkrapivin opened this issue Mar 14, 2021 · 1 comment

Comments

@nkrapivin
Copy link
Collaborator

Most of the state-machine stuff in STT is using numbers to represent states, which isn't very convenient.
(have to open the state reference, and considering how awful GM:S 1.4's IDE is... well...)
It's better to rewrite all of it to use enums, a good example of this is the objMusic refactor in the release/1.1.2 branch.

@AlexKhayrullin AlexKhayrullin added this to the 1.1.2 milestone Mar 14, 2021
@nkrapivin
Copy link
Collaborator Author

Should do that while porting the game to GMS 2. But not now. (now - 1.1.2)

@AlexKhayrullin AlexKhayrullin removed this from the 1.1.2 milestone Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants