Searched refs:cur_pos (Results 1 – 1 of 1) sorted by relevance
| /TwlSDK-5.5/build/demos/fs/overlay-staticinit/src/ |
| D | mode_2.c | 32 static struct Point { int x, y; } bak_pos, cur_pos; variable 58 bak_pos = cur_pos; in MyUpdateFrame() 62 cur_pos.x = input[own_player_id].tp.x; in MyUpdateFrame() 63 cur_pos.y = input[own_player_id].tp.y; in MyUpdateFrame() 90 DEMOFillRect(cur_pos.x - 2, cur_pos.y - 2, 4, 4, GX_RGBA(0, 31, 0, 1)); in MyDrawFrame() 93 DEMODrawLine(bak_pos.x, bak_pos.y, cur_pos.x, cur_pos.y, GX_RGBA(16, 16, 31, 1)); in MyDrawFrame() 132 cur_pos.x = HW_LCD_WIDTH / 2; in NitroStaticInit() 133 cur_pos.y = HW_LCD_HEIGHT / 2; in NitroStaticInit() 134 bak_pos = cur_pos; in NitroStaticInit()
|