Skip to content

Divine game integration

Simon Josef Thür requested to merge divine_game_integration into master

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:

  1. Input.h/c
    • Added ReqAction new round
    • Switched the singleplayer multiplayer conditions (they were inversed and i didnt want to make an issue)
  2. graphics.h/c
    • added a bool timer_timeout and a function get_timer_timeout
    • Timer timeout doesnt call gameover(), instead sets the variable timer-timeout
    • Changed the show_sprites functions to use the player thats given as input

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?


image

Merge request reports