[four-in-a-row] Fix type.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row] Fix type.
- Date: Mon, 23 Dec 2019 02:50:28 +0000 (UTC)
commit e2cab7d6344fbaeda91dc23db8509e21372b4f43
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Dec 23 03:49:58 2019 +0100
Fix type.
src/four-in-a-row.vala | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/four-in-a-row.vala b/src/four-in-a-row.vala
index de10af2..f040c89 100644
--- a/src/four-in-a-row.vala
+++ b/src/four-in-a-row.vala
@@ -21,6 +21,7 @@
using Gtk;
+// if you want to play, update also the two const in ai.vala
private const uint8 BOARD_COLUMNS = 7;
private const uint8 BOARD_COLUMNS_MINUS_ONE = 6;
private const uint8 BOARD_ROWS = 6;
@@ -34,9 +35,9 @@ private class FourInARow : Gtk.Application
/* Translators: application name, as used in the window manager, the window title, the about dialog... */
private const string PROGRAM_NAME = _("Four-in-a-row");
private const uint8 SIZE_VSTR = 53;
- private const int SPEED_BLINK = 150;
- private const int SPEED_MOVE = 35;
- private const int SPEED_DROP = 20;
+ private const uint SPEED_BLINK = 150;
+ private const uint SPEED_MOVE = 35;
+ private const uint SPEED_DROP = 20;
private const char vlevel [] = { '0','a','b','c' };
private const uint COMPUTER_INITIAL_DELAY = 1200;
private const uint COMPUTER_MOVE_DELAY = 600;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]