mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-13 09:52:01 -04:00
import sdl, some tests, nothing work yet
This commit is contained in:
parent
a7278bac40
commit
378b5586ab
37 changed files with 721 additions and 167 deletions
|
@ -78,12 +78,12 @@ static void change_turn()
|
|||
|
||||
static void unwire_setup();
|
||||
|
||||
static EVENT_PROC(setup_keyboard)
|
||||
static void setup_keyboard(EVENT_MSG *msg,void **)
|
||||
{
|
||||
user_ptr;
|
||||
WHEN_MSG(E_KEYBOARD)
|
||||
if (msg->msg == E_KEYBOARD)
|
||||
{
|
||||
if (GET_DATA(char)==27)
|
||||
char c= va_arg(msg->data, int);
|
||||
if (c==27)
|
||||
{
|
||||
unwire_proc();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue