summaryrefslogtreecommitdiff
path: root/src/client/hotKey.c
diff options
context:
space:
mode:
authorDusan Durech <dusan@debian.debian>2009-04-12 23:00:24 +0200
committerDusan Durech <dusan@debian.debian>2009-04-12 23:00:24 +0200
commit0287f62578cb4aa643649a9d62dc753586b16b30 (patch)
tree7f6e2721d71ab2824b7d163a5b878d390ddb7918 /src/client/hotKey.c
parent5876841408bf307d78d254b5ca355c61044e9e72 (diff)
fix bad preFixs
Diffstat (limited to 'src/client/hotKey.c')
-rw-r--r--src/client/hotKey.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/client/hotKey.c b/src/client/hotKey.c
index bf8cc96..94d4b24 100644
--- a/src/client/hotKey.c
+++ b/src/client/hotKey.c
@@ -53,13 +53,13 @@ static hotKey_t *findHotkey(SDLKey key)
return NULL;
}
-void hotKey_init()
+void hot_key_init()
{
listHotKey = list_new();
lastActive = timer_get_current_time();
}
-void hotKey_register(SDLKey key, void (*handler) ())
+void hot_key_register(SDLKey key, void (*handler) ())
{
hotKey_t *hotkey;
/*
@@ -71,7 +71,7 @@ void hotKey_register(SDLKey key, void (*handler) ())
list_ins(listHotKey, 0, hotkey);
}
-void unhotKey_register(SDLKey key)
+void unhot_key_register(SDLKey key)
{
hotKey_t *hotkey;
int my_index;
@@ -87,7 +87,7 @@ void unhotKey_register(SDLKey key)
list_del_item(listHotKey, my_index, destroyHotKey);
}
-void hotKey_enable(SDLKey key)
+void hot_key_enable(SDLKey key)
{
hotKey_t *hotkey;
@@ -101,7 +101,7 @@ void hotKey_enable(SDLKey key)
hotkey->active = TRUE;
}
-void hotKey_disable(SDLKey key)
+void hot_key_disable(SDLKey key)
{
hotKey_t *hotkey;
@@ -115,7 +115,7 @@ void hotKey_disable(SDLKey key)
hotkey->active = FALSE;
}
-void hotKey_event()
+void hot_key_event()
{
my_time_t currentTime;
Uint8 *mapa;
@@ -144,7 +144,7 @@ void hotKey_event()
}
}
-void hotKey_quit()
+void hot_key_quit()
{
list_destroy_item(listHotKey, destroyHotKey);
}