Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2005-02-01 22:51:06 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2005-02-01 22:51:06 (GMT)
commit40aadbd6445c805f60a7c4e0025a3b03994d8a62 (patch)
tree36517e71b912072e811bd0a015dd33d58817bcb2
parent79a8c32dc083bd5025b5dc8d9d62cdf35917ebfe (diff)
updated updated u-turn bug in 3D and 2D Relative
* gcompris.desktop.in: updated * src/boards/maze.c: (key_press_2D_relative), (key_press_3D): updated u-turn bug in 3D and 2D Relative
-rw-r--r--ChangeLog5
-rw-r--r--gcompris.desktop.in1
-rw-r--r--src/boards/maze.c10
3 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9fcff20..3fd96df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-02-01 Bruno coudoin <bruno.coudoin@free.fr>
+ * gcompris.desktop.in: updated
+ * src/boards/maze.c: (key_press_2D_relative), (key_press_3D): updated u-turn bug in 3D and 2D Relative
+
+2005-02-01 Bruno coudoin <bruno.coudoin@free.fr>
+
Created a new smallnumbers2 activity that play with 2 dices (in section math)
smallnumbers uses only one dice (in section computer)
diff --git a/gcompris.desktop.in b/gcompris.desktop.in
index dc401e4..c660107 100644
--- a/gcompris.desktop.in
+++ b/gcompris.desktop.in
@@ -1,6 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
_Name=Educational suite gcompris
+_GenericName=Multiple activities for kids
_Comment=Educational game from 2 to 10 years old
Exec=gcompris
Icon=gcompris.png
diff --git a/src/boards/maze.c b/src/boards/maze.c
index b257c9e..3c37df0 100644
--- a/src/boards/maze.c
+++ b/src/boards/maze.c
@@ -936,7 +936,10 @@ static gint key_press_2D_relative(guint keyval)
break;
case GDK_Up: one_step(viewing_direction);
break;
- case GDK_Down: one_step(U_TURN(viewing_direction));
+ case GDK_Down:
+ viewing_direction=TURN_RIGHT(viewing_direction);
+ viewing_direction=TURN_RIGHT(viewing_direction);
+ update_tux(viewing_direction);
break;
default: return FALSE;
}
@@ -964,7 +967,10 @@ static gint key_press_3D(guint keyval)
break;
case GDK_Up: one_step(viewing_direction);
break;
- case GDK_Down: one_step(U_TURN(viewing_direction));
+ case GDK_Down:
+ viewing_direction=TURN_RIGHT(viewing_direction);
+ viewing_direction=TURN_RIGHT(viewing_direction);
+ update_tux(viewing_direction);
break;
case GDK_2:
case GDK_space: