diff --git a/README.md b/README.md index f5c4b56..304c132 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,11 @@ collection. 4. **Disc Colors**: - 10 different stone colors to choose from +5. **Input controls** + - Keyboard + - Joystick + - Mouse + ## Othello Rules Othello, also known as Reversi, is a two-player strategy board game played on an diff --git a/img/cx16-othello.gif b/img/cx16-othello.gif index e9f6ad3..8d6ff57 100644 Binary files a/img/cx16-othello.gif and b/img/cx16-othello.gif differ diff --git a/src/constants.h b/src/constants.h index 6c0d0fe..3873769 100644 --- a/src/constants.h +++ b/src/constants.h @@ -107,4 +107,6 @@ #define RAMBANK (*(uint8_t*)0) +#define SCROLL_BACKGROUND 1 + #endif // _CONSTANTS_H \ No newline at end of file diff --git a/src/video.c b/src/video.c index d8c5f36..22f57dc 100644 --- a/src/video.c +++ b/src/video.c @@ -313,6 +313,7 @@ void clear_foreground() { * */ void update_background_diagonal() { + #if SCROLL_BACKGROUND == 1 clock_t curtick = clock(); if(((curtick - prevtick) * 1000 / CLOCKS_PER_SEC) > 30) { @@ -320,6 +321,7 @@ void update_background_diagonal() { VERA.layer0.hscroll = (VERA.layer0.hscroll - 1) % 16; VERA.layer0.vscroll = (VERA.layer0.vscroll - 1) % 16; } + #endif } /**