gcompris r3516 - in branches/GCOMPRIS_8_3: . src/boards
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3516 - in branches/GCOMPRIS_8_3: . src/boards
- Date: Sat, 30 Aug 2008 23:21:36 +0000 (UTC)
Author: bcoudoin
Date: Sat Aug 30 23:21:36 2008
New Revision: 3516
URL: http://svn.gnome.org/viewvc/gcompris?rev=3516&view=rev
Log:
fixed the zoom level that was too loo at level 2
Modified:
branches/GCOMPRIS_8_3/ChangeLog
branches/GCOMPRIS_8_3/src/boards/clickgame.c
Modified: branches/GCOMPRIS_8_3/src/boards/clickgame.c
==============================================================================
--- branches/GCOMPRIS_8_3/src/boards/clickgame.c (original)
+++ branches/GCOMPRIS_8_3/src/boards/clickgame.c Sat Aug 30 23:21:36 2008
@@ -509,7 +509,7 @@
/* Try the next level */
moveSpeed=100+(40/(gcomprisBoard->level));
fallSpeed=5000-gcomprisBoard->level*200;
- imageZoom = 0.75 + 0.25 * ((gcomprisBoard->maxlevel - gcomprisBoard->level + 1) / gcomprisBoard->maxlevel);
+ imageZoom = 0.75 + 0.25 * (((double)gcomprisBoard->maxlevel - gcomprisBoard->level + 1) / gcomprisBoard->maxlevel);
gcomprisBoard->sublevel=0;
gc_score_set(gcomprisBoard->sublevel);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]