Skip to content

Cleanup: droid.c - #216

Open
unofficial-fish wants to merge 1 commit into
phoboslab:masterfrom
unofficial-fish:cleanup-droid-c
Open

Cleanup: droid.c#216
unofficial-fish wants to merge 1 commit into
phoboslab:masterfrom
unofficial-fish:cleanup-droid-c

Conversation

@unofficial-fish

Copy link
Copy Markdown

Changes:

  • (bugfix) The droid no longer teleports at end of rescue.
  • (bugfix) Set the droid position correctly at end of droid_update_intro.
  • (bugfix) A single vertex on the bottom of the droid now changes color correctly.
  • update_timer is read from in the intro and never again. It has been renamed to intro_timer and excess assignments have been removed.
  • droid_update_idle angle math has been simplified
  • Remove siren_started, it is never read from
  • Add explanatory names in droid_draw
  • State transitions are marked with comments, and other stylistic tweaks.
  • Various dead code removed

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