gzdoom/code/c_bind.h

20 lines
527 B
C
Raw Normal View History

1998-04-07 00:00:00 +00:00
#ifndef __C_BINDINGS_H__
#define __C_BINDINGS_H__
#include "doomtype.h"
1998-12-22 00:00:00 +00:00
#include "d_event.h"
1998-04-07 00:00:00 +00:00
#include <stdio.h>
1998-12-22 00:00:00 +00:00
BOOL C_DoKey (event_t *ev);
1998-04-07 00:00:00 +00:00
void C_ArchiveBindings (FILE *f);
1998-04-07 00:00:00 +00:00
// Stuff used by the customize controls menu
int C_GetKeysForCommand (char *cmd, int *first, int *second);
void C_NameKeys (char *str, int first, int second);
void C_UnbindACommand (char *str);
void C_ChangeBinding (char *str, int newone);
1998-07-14 00:00:00 +00:00
// Returns string bound to given key (NULL if none)
char *C_GetBinding (int key);
1998-04-07 00:00:00 +00:00
#endif //__C_BINDINGS_H__