Mercurial > hg > demos > bussi
comparison demo.c @ 16:80634079f275
Import asset.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 23 May 2015 03:18:30 +0300 |
parents | 952e27204992 |
children | da7ac3f7d014 |
comparison
equal
deleted
inserted
replaced
15:6cd7392439c7 | 16:80634079f275 |
---|---|
62 | 62 |
63 | 63 |
64 static DMItemDef items[] = | 64 static DMItemDef items[] = |
65 { | 65 { |
66 { 0, 3, 1, 0.53, 0.2, "viitta.png", NULL, 0 }, | 66 { 0, 3, 1, 0.53, 0.2, "viitta.png", NULL, 0 }, |
67 { 0, 1, 3, -0.2, 0.05, "pilvi.png", NULL, 0 }, | |
67 { 0, 1, 3, 0.28 , 0.1 , "puu_pv_2.png", NULL, 0 }, | 68 { 0, 1, 3, 0.28 , 0.1 , "puu_pv_2.png", NULL, 0 }, |
68 { 1, 9, 2, 0.25 , 0.8 , "puu_pv_1.png", NULL, 0 }, | 69 { 1, 9, 2, 0.25 , 0.8 , "puu_pv_1.png", NULL, 0 }, |
69 }; | 70 }; |
70 | 71 |
71 static const int nitems = sizeof(items) / sizeof(items[0]); | 72 static const int nitems = sizeof(items) / sizeof(items[0]); |
366 engine->screen, fadeVal); | 367 engine->screen, fadeVal); |
367 | 368 |
368 // Puut ym. liikennejutut | 369 // Puut ym. liikennejutut |
369 #define DM_MAX_MITEMS 16 | 370 #define DM_MAX_MITEMS 16 |
370 static DMFooItemDef mitems[DM_MAX_MITEMS]; | 371 static DMFooItemDef mitems[DM_MAX_MITEMS]; |
371 if (t > 0) | 372 if (t > 6) |
372 { | 373 { |
373 float dt = (t - 0); | 374 float dt = (t - 6); |
374 static BOOL nollattu = FALSE; | 375 static BOOL nollattu = FALSE; |
375 int i; | 376 int i; |
376 | 377 |
377 if (!nollattu) | 378 if (!nollattu) |
378 { | 379 { |