-
Notifications
You must be signed in to change notification settings - Fork 0
/
body.cpp
35 lines (35 loc) · 1.08 KB
/
body.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//-----------------------------------------------------------------------------
#include "avr-debug/debug.h"
#include "data.h"
#include "body.h"
#include "climate.h"
//-----------------------------------------------------------------------------
BYTE_DATA ignition = 0;
CFontAreaSet disp_car;
CFontAreaSet disp_doors;
CFontArea* disp_door_FL;
CFontArea* disp_door_BL;
CFontArea* disp_door_FBL;
CFontArea* disp_door_FR;
CFontArea* disp_door_BR;
CFontArea* disp_door_FBR;
CFontAreaSet disp_fuel;
CFontArea* disp_fuel_value;
CFontAreaSet disp_tire[4];
CFontArea* disp_tire_value[4];
//-----------------------------------------------------------------------------
void hideCar()
{
disp_car.hide();
for(BYTE i = 0; i < 4; i++)
{
disp_tire[i].hide();
disp_doors.hide();
}
}
//-----------------------------------------------------------------------------
void showCar()
{
disp_car.show();
}
//-----------------------------------------------------------------------------