|
|
| version 1.1, 2003/10/16 17:58:51 | version 1.3, 2005/02/07 14:46:14 |
|---|---|
| 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 { | |
| const UINT8 *fnt; | |
| const DCPOS *pos; | |
| UINT8 flm[8]; | |
| UINT8 now[8]; | |
| UINT8 bak[8]; | |
| UINT16 drawing; | |
| UINT8 clk_x; | |
| UINT8 _padding; | |
| UINT8 dat[(DCLOCK_X * DCLOCK_Y / 8) + 4]; | |
| } _DCLOCK, *DCLOCK; | |
| typedef struct { | typedef struct { |
| BYTE *dclock_fnt; | RGB32 pal32[4]; |
| DCLOCK_POS *dclock_put; | RGB16 pal16[4]; |
| void (*init)(void); | UINT32 pal8[4][16]; |
| } DCLOCK_FNT; | } DCLOCKPAL; |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| extern RGB32 dclock_pal[4]; | extern _DCLOCK dclock; |
| extern DCLOCKPAL dclockpal; | |
| void dclock_init(void); | void dclock_init(void); |
| void dclock_init8(void); | void dclock_init8(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(UINT8 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 |
| } | } |