Rev 8429 | Rev 8438 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8429 | Rev 8436 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | #ifndef NULL |
|
1 | #define NULL ((void*)0) |
2 | #define NULL ((void*)0) |
- | 3 | #endif |
|
Line 2... | Line 4... | ||
2 | 4 | ||
3 | #define SHM_OPEN 0 |
5 | #define SHM_OPEN 0 |
4 | #define SHM_OPEN_ALWAYS 0x04 |
6 | #define SHM_OPEN_ALWAYS 0x04 |
5 | #define SHM_CREATE 0x08 |
7 | #define SHM_CREATE 0x08 |
Line 44... | Line 46... | ||
44 | typedef struct |
46 | typedef struct |
45 | { |
47 | { |
46 | unsigned p00; |
48 | unsigned p00; |
47 | unsigned p04; |
49 | unsigned p04; |
48 | unsigned p08; |
50 | char *p08; |
49 | unsigned p12; |
51 | unsigned p12; |
50 | unsigned p16; |
52 | unsigned p16; |
51 | char p20; |
53 | char p20; |
52 | char *p21; |
54 | char *p21; |
53 | } kol_struct70; |
55 | } kol_struct70; |
54 | #pragma pack(pop) |
56 | #pragma pack(pop) |
Line 141... | Line 143... | ||
141 | int kol_clip_num(); |
143 | int kol_clip_num(); |
142 | char* kol_clip_get(int n); |
144 | char* kol_clip_get(int n); |
143 | int kol_clip_set(int n, char buffer[]); |
145 | int kol_clip_set(int n, char buffer[]); |
144 | 146 | ||
Line -... | Line 147... | ||
- | 147 | void kos_blit(int dstx, int dsty, int w, int h, int srcx, |
|
- | 148 | int srcy,int srcw, int srch, int stride, char *d); |
|
- | 149 | int kos_random(int num); |