Subversion Repositories Games.Carmageddon

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 pmbaty 1
#ifdef __MSDOS__ // Pierre-Marie Baty -- compile guard
2
 
3
#include "readmse.h"
4
#include "harness/trace.h"
5
 
6
host_real_memory mouseMemory;
7
host_regs regs;
8
br_boolean mouseActive;
9
unsigned char mouseHandler[245];
10
 
11
// IDA: br_error __cdecl DOSMouseBegin()
12
br_error DOSMouseBegin(void) {
13
    host_info hi;
14
    LOG_TRACE("()");
15
    NOT_IMPLEMENTED();
16
}
17
 
18
// IDA: void __cdecl DOSMouseEnd()
19
void DOSMouseEnd(void) {
20
    LOG_TRACE("()");
21
    NOT_IMPLEMENTED();
22
}
23
 
24
// IDA: br_error __cdecl DOSMouseRead(br_int_32 *mouse_x, br_int_32 *mouse_y, br_uint_32 *mouse_buttons)
25
br_error DOSMouseRead(br_int_32* mouse_x, br_int_32* mouse_y, br_uint_32* mouse_buttons) {
26
    br_int_16 mx;
27
    br_int_16 my;
28
    static br_int_16 ox;
29
    static br_int_16 oy;
30
    LOG_TRACE("(%p, %p, %p)", mouse_x, mouse_y, mouse_buttons);
31
    NOT_IMPLEMENTED();
32
}
33
 
34
#endif // __MSDOS__