Project

General

Profile

Revision 321

correcting some problems

View differences:

proj_structures.h
15 15
    uint8_t lb_pressed      : 1;
16 16
} keys_t;
17 17

  
18
typedef struct __attribute__((packed)) {
18
typedef struct {
19 19
    // host
20 20
    double  host_x;
21 21
    double  host_y;
......
39 39
    bool   *bullets_shooter; // false for host, true for remote
40 40
} host_info_t;
41 41

  
42
typedef struct __attribute__((packed)) {
42
typedef struct {
43 43
    keys_t  remote_keys_pressed;
44 44
    double  remote_angle;
45 45
} remote_info_t;
46 46

  
47
typedef struct __attribute__((packed)) {
47
typedef struct {
48 48
    bool   new_bullet;
49 49
} bullet_info_t;
50 50

  

Also available in: Unified diff