Divine game integration
Yo Loki I made a first integration effort
Anyways, some parts of the code are not very clean, but I then again the aim is really to just mostly finish the project.
Disclaimer: I havent tested the wifi, and I havent tested on the NDS.
Long story short, you might want to look at the changes I made to your files:
- Input.h/c
- Added ReqAction new round
- Switched the singleplayer multiplayer conditions (they were inversed and i didnt want to make an issue)
- graphics.h/c
- added a bool
timer_timeout
and a functionget_timer_timeout
- Timer timeout doesnt call
gameover()
, instead sets the variabletimer-timeout
- Changed the show_sprites functions to use the player thats given as input
- added a bool
For the soundeffects, I just put them where they were easiest to implement. (Not in clean locations. One is in the sync_fsm, the other is when taking damage. Ill attach a function call graph)
So any thoughts? Is this fine or do you see some issues already?