change_sun(actor, desktop_plugin);
scene.actors = g_slist_append(scene.actors, actor);
- actor = init_object(desktop_plugin, "dot", "dot1.png", 0, 0, 10, 50, 50,
+ actor = init_object(desktop_plugin, "dot", "dot1.png", 0, 0, 11, 50, 50,
TRUE, 100, 255, NULL, NULL);
scene.actors = g_slist_append(scene.actors, actor);
change_static_actor(actor, desktop_plugin);
scene.actors = g_slist_append(scene.actors, actor);
-
-
- actor = init_object(desktop_plugin, "moon", "moon1.png", 400, 6, SUN_LEVEL, 60, 60,
+ actor = init_object(desktop_plugin, "moon", "moon1.png", 400, 20, 10, 60, 60,
FALSE, 100, 255, &change_moon, NULL);
change_moon(actor, desktop_plugin);
scene.actors = g_slist_append(scene.actors, actor);
scene.daytime = get_daytime();
scene.actors = NULL;
- actor = init_object(desktop_plugin, "sky", "sky.png", 0, 0, SKY_LEVEL, 800, 480,
+ actor = init_object(desktop_plugin, "sky", "sky.png", 0, 0, 5, 800, 480,
TRUE, 100, 255, &change_static_actor, NULL);
change_static_actor(actor, desktop_plugin);
scene.actors = g_slist_append(scene.actors, actor);
- actor = init_object(desktop_plugin, "sun", "sun.png", 0, 0, SUN_LEVEL, 88, 88,
+
+
+ actor = init_object(desktop_plugin, "sun", "sun.png", 0, 0, 6, 88, 88,
TRUE, 100, 255, &change_sun, &probability_sun);
actor->time_start_animation = time(NULL);
actor->duration_animation = G_MAXINT;
change_sun(actor, desktop_plugin);
scene.actors = g_slist_append(scene.actors, actor);
+ actor = init_object(desktop_plugin, "dot", "dot1.png", 0, 0, 9, 50, 50,
+ TRUE, 100, 255, NULL, NULL);
+ scene.actors = g_slist_append(scene.actors, actor);
+
- actor = init_object(desktop_plugin, "town", "town.png", 0, 0, TOWN_LEVEL, 800, 480,
+ actor = init_object(desktop_plugin, "town", "town.png", 0, 0, 7, 800, 480,
TRUE, 100, 255, &change_static_actor, NULL);
change_static_actor(actor, desktop_plugin);
scene.actors = g_slist_append(scene.actors, actor);
- actor = init_object(desktop_plugin, "moon", "moon1.png", 400, 20, SUN_LEVEL, 60, 60,
+ actor = init_object(desktop_plugin, "moon", "moon1.png", 400, 15, 8, 60, 60,
FALSE, 100, 255, &change_moon, NULL);
change_moon(actor, desktop_plugin);
scene.actors = g_slist_append(scene.actors, actor);