Overload02 / DuckHunt

A Duck Hunt clone for the TI-84 Plus CE
https://www.cemetech.net/forum/viewtopic.php?p=290888
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

Add some angles for duck angle and dog mode #1

Closed ghost closed 1 year ago

ghost commented 1 year ago

I did:

  1. Add enums for duck angles (DUCK_FALLING, FACE_RIGHT, FACE_LEFT)
  2. Add enums for dog mde (DOG_HIDDEN, DOG_RUN_TO_CENTER, DOG_PEEK_UP)
  3. Added a few booleans into duck.c because the booleans should be expressed as true and false instead of 0 and 1 What I still need to do:
  4. Add enums for the other duck angles? (FACE_UP, FACE_DOWN)
Overload02 commented 1 year ago

Looks good as for the enum for the dog I would say put them in the dog.h because it's mainly used on the function void dog_SetMode(uint8_t pos); which is used in other files as well.