#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "ephysics_test.h"
_grow_cb(void *data)
{
Test_Data *test_data = data;
int size, i = -1;
{
size += i * 8;
i++;
if ((size < 20) || (size > 120))
continue;
}
}
static void
_add_sphere(Test_Data *test_data, const char *group, int size, int x, int y)
{
group);
}
static void
_world_populate(Test_Data *test_data)
{
_add_sphere(test_data, "big-red-ball", 60, 100, 100);
_add_sphere(test_data, "big-blue-ball", 60, 150, 150);
_add_sphere(test_data, "big-green-ball", 60, 200, 200);
}
static void
_win_del(
void *data,
Evas *e __UNUSED__,
Evas_Object *obj __UNUSED__,
void *event_info __UNUSED__)
{
Test_Data *test_data = data;
if (timer)
test_data_del(test_data);
}
static void
_restart(
void *data,
Evas_Object *obj __UNUSED__,
const char *emission __UNUSED__,
const char *source __UNUSED__)
{
Test_Data *test_data = data;
if (timer)
test_clean(test_data);
_world_populate(test_data);
}
void
test_growing_balls(
void *data __UNUSED__,
Evas_Object *obj __UNUSED__,
void *event_info __UNUSED__)
{
Test_Data *test_data;
return;
test_data = test_data_new();
test_win_add(test_data,
"Growing Balls",
EINA_FALSE);
_win_del, test_data);
_restart, test_data);
WIDTH - 100, FLOOR_Y - 40, DEPTH);
test_data->world = world;
_world_populate(test_data);
}