Skip to content

Enum types built as structs#1

Open
mbrengman wants to merge 12 commits intoMojoGameDevs:mainfrom
mbrengman:main
Open

Enum types built as structs#1
mbrengman wants to merge 12 commits intoMojoGameDevs:mainfrom
mbrengman:main

Conversation

@mbrengman
Copy link
Copy Markdown

I built each enum as its own struct and used minimal space with 'value' variable times. If this causes an issue then I'll have to revert back to int32 bit types for value field in the structs.

I used minimal space with my types. If this causes an issue then I'll have to revert back to int and float 32 bit types for value field in the structs.
Signed-off-by: Mathew B <148673495+mbrengman@users.noreply.github.com>
Signed-off-by: Mathew B <148673495+mbrengman@users.noreply.github.com>
Signed-off-by: Mathew B <148673495+mbrengman@users.noreply.github.com>
Signed-off-by: Mathew B <148673495+mbrengman@users.noreply.github.com>
Accidentally loaded this file in the wrong folder.

Signed-off-by: Mathew B <148673495+mbrengman@users.noreply.github.com>
I decided to start remaking this file into helper functions rather than in a struct. This follows more closely with the godot file that it is based on. 

Signed-off-by: Mathew B <148673495+mbrengman@users.noreply.github.com>
In the process of changing struct functions into standalone functions which more closely resembles the source file in godot.

Signed-off-by: Mathew B <148673495+mbrengman@users.noreply.github.com>
Signed-off-by: Mathew B <148673495+mbrengman@users.noreply.github.com>
Signed-off-by: Mathew B <148673495+mbrengman@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

1 participant