7 std::map
<std::string
, std::string
> status
;
10 void window::init() {}
11 void window::quit() {}
12 void window::poll_inputs() throw(std::bad_alloc
) {}
13 void window::notify_screen_update(bool full
) throw() {}
14 void window::set_main_surface(screen
& scr
) throw() {}
15 void window::paused(bool enable
) throw() {}
16 void window::wait_usec(uint64_t usec
) throw(std::bad_alloc
) {}
17 void window::cancel_wait() throw() {}
18 void window::sound_enable(bool enable
) throw() {}
19 void window::play_audio_sample(uint16_t left
, uint16_t right
) throw() {}
20 void window::set_window_compensation(uint32_t xoffset
, uint32_t yoffset
, uint32_t hscl
, uint32_t vscl
) {}
22 bool window::modal_message(const std::string
& msg
, bool confirm
) throw(std::bad_alloc
)
24 std::cerr
<< "Modal message: " << msg
<< std::endl
;
28 void window::fatal_error() throw()
30 std::cerr
<< "Exiting on fatal error." << std::endl
;
34 void window::message(const std::string
& msg
) throw(std::bad_alloc
)
36 if(msg
[msg
.length() - 1] == '\n')
39 std::cout
<< msg
<< std::endl
;
42 std::map
<std::string
, std::string
>& window::get_emustatus() throw()
47 uint64_t get_ticks_msec() throw()
49 static uint64_t c
= 0;
53 void window::set_sound_rate(uint32_t rate_n
, uint32_t rate_d
)