|
|
| version 1.1, 2004/08/01 05:31:31 | version 1.2, 2004/08/04 10:49:21 |
|---|---|
| Line 1 | Line 1 |
| #define DCLOCK_X 56 | |
| #define DCLOCK_Y 12 | |
| typedef struct { | |
| BYTE dclock_flm[8]; | |
| BYTE dclock_now[8]; | |
| BYTE dclock_bak[8]; | |
| WORD dclock_drawing; | |
| } DCLOCK_T; | |
| enum { | |
| DCLOCK_X = 56, | |
| DCLOCK_Y = 12 | |
| }; | |
| typedef struct { | typedef struct { |
| BYTE *dclock_pos; | UINT8 *pos; |
| WORD dclock_mask; | UINT16 mask; |
| BYTE dclock_rolbit; | UINT8 rolbit; |
| BYTE reserved; | UINT8 reserved; |
| } DCLOCK_POS; | } DCPOS; |
| typedef struct { | typedef struct { |
| BYTE *dclock_fnt; | const UINT8 *fnt; |
| DCLOCK_POS *dclock_put; | const DCPOS *pos; |
| void (*init)(void); | UINT8 frm[8]; |
| } DCLOCK_FNT; | UINT8 now[8]; |
| UINT8 bak[8]; | |
| UINT16 drawing; | |
| UINT8 clk_x; | |
| UINT8 _padding; | |
| UINT8 dat[(DCLOCK_X * DCLOCK_Y / 8) + 4]; | |
| } _DCLOCK; | |
| extern RGB32 dclock_pal[4]; | typedef struct { |
| RGB32 pal32[4]; | |
| RGB16 pal16[4]; | |
| UINT32 pal8[4][16]; | |
| } DCLOCKPAL; | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| extern _DCLOCK dclock; | |
| extern DCLOCKPAL dclockpal; | |
| void dclock_init(void); | void dclock_init(void); |
| void dclock_init8(void); | void dclock_init8(void); |
| void dclock_init16(void); | void dclock_init16(void); |
| Line 37 void dclock_reset(void); | Line 44 void dclock_reset(void); |
| void dclock_callback(void); | void dclock_callback(void); |
| void dclock_redraw(void); | void dclock_redraw(void); |
| BOOL dclock_disp(void); | BOOL dclock_disp(void); |
| void __fastcall dclock_cntdown(BYTE value); | void dclock_cntdown(BYTE value); |
| void dclock_make(void); | void dclock_make(void); |
| void __fastcall dclock_out8(void *ptr, DWORD width); | void dclock_out8(void *ptr, UINT width); |
| void __fastcall dclock_out16(void *ptr, DWORD width); | void dclock_out16(void *ptr, UINT width); |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |