Rev 300 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 300 | Rev 324 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | } FILEINFO; |
62 | } FILEINFO; |
63 | 63 | ||
Line 64... | Line 64... | ||
64 | void _stdcall InitHeap(int heap_size); |
64 | void _stdcall InitHeap(int heap_size); |
65 | void* _stdcall UserAlloc(int size); |
65 | void* _stdcall UserAlloc(int size); |
- | 66 | int _stdcall UserFree(void* p); |
|
- | 67 | ||
66 | void _stdcall GetNotify(DWORD *event); |
68 | void _stdcall GetNotify(DWORD *event); |
Line 67... | Line 69... | ||
67 | 69 | ||
68 | //void _stdcall CreateThread(void *fn, char *p_stack); |
70 | //void _stdcall CreateThread(void *fn, char *p_stack); |
69 | DWORD _stdcall GetMousePos(DWORD rel_type); |
71 | DWORD _stdcall GetMousePos(DWORD rel_type); |
Line 80... | Line 82... | ||
80 | 82 | ||
Line 81... | Line 83... | ||
81 | void _stdcall debug_out_hex(DWORD val); |
83 | void _stdcall debug_out_hex(DWORD val); |
82 | void debug_out_str(char* str); |
84 | void debug_out_str(char* str); |
Line 83... | Line 85... | ||
83 | 85 | ||
84 | int _stdcall get_fileinfo(char *name,FILEINFO* pinfo); |
86 | int _stdcall get_fileinfo(const char *name,FILEINFO* pinfo); |
85 | int _stdcall read_file (char *name,char*buff,int offset, int count,int *reads); |
87 | int _stdcall read_file (const char *name,char*buff,DWORD offset, DWORD count,DWORD *reads); |
Line 86... | Line 88... | ||
86 | int _stdcall write_file(char *name,char*buff,int offset,int count,int *writes); |
88 | int _stdcall write_file(const char *name,char*buff,int offset,int count,int *writes); |
87 | 89 | ||
- | 90 | //void exit(); |
|
- | 91 | int _stdcall get_key(int *key); |
|
88 | //void exit(); |
92 | int _stdcall remap_key(int key); |
- | 93 | ||
89 | int _cdecl get_key(void); |
94 | int _cdecl get_button_id(); |
90 | int _cdecl get_button_id(); |
95 | |
91 | void delay(int val); |
96 | void delay(int val); |
92 | int wait_for_event(int time); |
97 | int wait_for_event(int time); |
93 | int wait_for_event_infinite(); |
98 | int wait_for_event_infinite(); |