]> git.draconx.ca Git - rrace.git/blobdiff - src/game.h
Very slightly simplify game_reset implementation.
[rrace.git] / src / game.h
index d17eb992f7fd3d86d19d521b537588c4e1dbe2c5..fb2fe9767135e8bfe97bab3cf2bfe46ab035a9a3 100644 (file)
@@ -45,8 +45,9 @@ struct board {
         *   game[0] - least significant bit of the tile's colour.
         *   game[1] - tile colour.
         *   game[2] - most significant bit of the tile's colour.
-        *   game[3] - the board mask, all bits set except one indicating the
-        *             absense of a tile at this position.
+        *   game[3] - No internal meaning.  The game_reset function will clear
+        *             the bit at the empty position and set all others, and
+        *             game_do_move will adjust it.
         */
        uint_least32_t game[4];