aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_funptr.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-03 14:47:33 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-03 14:47:33 +0100
commit8866ef5699150d0549096efa94fc311ff7a48dc7 (patch)
tree4a03267f7e7f9b399a9ad0536b50ba6a90407e47 /src/ft_init_funptr.c
parentMusic is pretty bav (diff)
download42-cub3d-8866ef5699150d0549096efa94fc311ff7a48dc7.tar.gz
42-cub3d-8866ef5699150d0549096efa94fc311ff7a48dc7.tar.bz2
42-cub3d-8866ef5699150d0549096efa94fc311ff7a48dc7.tar.xz
42-cub3d-8866ef5699150d0549096efa94fc311ff7a48dc7.tar.zst
42-cub3d-8866ef5699150d0549096efa94fc311ff7a48dc7.zip
Changing stuff
Diffstat (limited to '')
-rw-r--r--src/ft_init_funptr.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/ft_init_funptr.c b/src/ft_init_funptr.c
index 1988cb0..d9ebf1f 100644
--- a/src/ft_init_funptr.c
+++ b/src/ft_init_funptr.c
@@ -15,21 +15,21 @@
void
ft_init_funptr(t_cub *clist)
{
- clist->key_ptr[0] = ft_w_key;
- clist->key_ptr[1] = ft_a_key;
- clist->key_ptr[2] = ft_s_key;
- clist->key_ptr[3] = ft_d_key;
- clist->key_ptr[4] = ft_left_key;
- clist->key_ptr[5] = ft_right_key;
- clist->get_ptr[0] = ft_get_res;
- clist->get_ptr[1] = ft_get_tex_no;
- clist->get_ptr[2] = ft_get_tex_so;
- clist->get_ptr[3] = ft_get_tex_ea;
- clist->get_ptr[4] = ft_get_tex_we;
- clist->get_ptr[5] = ft_get_sprite;
- clist->get_ptr[6] = ft_get_f_color;
- clist->get_ptr[7] = ft_get_c_color;
- clist->get_ptr[8] = ft_get_path_nl;
- clist->get_ptr[9] = ft_get_tex_nl;
- clist->get_ptr[10] = ft_get_music;
+ clist.key_ptr[0] = ft_w_key;
+ clist.key_ptr[1] = ft_a_key;
+ clist.key_ptr[2] = ft_s_key;
+ clist.key_ptr[3] = ft_d_key;
+ clist.key_ptr[4] = ft_left_key;
+ clist.key_ptr[5] = ft_right_key;
+ clist.get_ptr[0] = ft_get_res;
+ clist.get_ptr[1] = ft_get_tex_no;
+ clist.get_ptr[2] = ft_get_tex_so;
+ clist.get_ptr[3] = ft_get_tex_ea;
+ clist.get_ptr[4] = ft_get_tex_we;
+ clist.get_ptr[5] = ft_get_sprite;
+ clist.get_ptr[6] = ft_get_f_color;
+ clist.get_ptr[7] = ft_get_c_color;
+ clist.get_ptr[8] = ft_get_path_nl;
+ clist.get_ptr[9] = ft_get_tex_nl;
+ clist.get_ptr[10] = ft_get_music;
}