-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a pretty big function, and I'll admit that my code for it is pretty low quality. But it matches. Scratch is here if you'd like to make improvements: https://decomp.me/scratch/xok2Z A lot of the things that I tried to remove the gotos and temp variables didn't work. The entity extension for this uses f32 variables. Those are defined in `game.h`, but `game.h` is not accessible to `entity.h`, so I moved the definition of f32 to `types.h` which is accessible in all places and overall seems like a better place for it anyway.
- Loading branch information
Showing
6 changed files
with
459 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.