aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitrij D. Czarkoff <czarkoff@gmail.com>2016-04-26 13:58:28 +0200
committerDmitrij D. Czarkoff <czarkoff@gmail.com>2016-04-26 14:19:59 +0200
commit98ca878b7e6a97091c82ca532bf0837f6e55d266 (patch)
tree43479f0ff99cab4e382d363bfc776ec88796acc7
parent9d50ed23333fd2ef2d294788cb13e5273100ad8c (diff)
downloadimv-98ca878b7e6a97091c82ca532bf0837f6e55d266.tar.gz
Add vim modelines
-rw-r--r--src/loader.c3
-rw-r--r--src/loader.h3
-rw-r--r--src/main.c3
-rw-r--r--src/navigator.c3
-rw-r--r--src/navigator.h3
-rw-r--r--src/texture.c3
-rw-r--r--src/texture.h3
-rw-r--r--src/util.c3
-rw-r--r--src/util.h3
-rw-r--r--src/viewport.c3
-rw-r--r--src/viewport.h3
-rw-r--r--test/loader.c3
-rw-r--r--test/navigator.c3
13 files changed, 39 insertions, 0 deletions
diff --git a/src/loader.c b/src/loader.c
index e7d0321..e152d3b 100644
--- a/src/loader.c
+++ b/src/loader.c
@@ -412,3 +412,6 @@ static void error_occurred(struct imv_loader *ldr)
ldr->out_err = strdup(ldr->path);
pthread_mutex_unlock(&ldr->lock);
}
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/src/loader.h b/src/loader.h
index a11ee55..d2418a2 100644
--- a/src/loader.h
+++ b/src/loader.h
@@ -75,3 +75,6 @@ void imv_loader_load_next_frame(struct imv_loader *ldr);
void imv_loader_time_passed(struct imv_loader *ldr, double dt);
#endif
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/src/main.c b/src/main.c
index aa642a1..395c2c6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -695,3 +695,6 @@ int main(int argc, char** argv)
return 0;
}
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/src/navigator.c b/src/navigator.c
index 22b5d81..a64fb44 100644
--- a/src/navigator.c
+++ b/src/navigator.c
@@ -248,3 +248,6 @@ int imv_navigator_poll_changed(struct imv_navigator *nav, const int nopoll)
}
return 0;
}
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/src/navigator.h b/src/navigator.h
index fc4d5f9..1645cae 100644
--- a/src/navigator.h
+++ b/src/navigator.h
@@ -68,3 +68,6 @@ int imv_navigator_find_path(struct imv_navigator *nav, const char *path);
int imv_navigator_poll_changed(struct imv_navigator *nav, const int nopoll);
#endif
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/src/texture.c b/src/texture.c
index 5395b7c..52ec521 100644
--- a/src/texture.c
+++ b/src/texture.c
@@ -141,3 +141,6 @@ void imv_texture_draw(struct imv_texture *tex, int bx, int by, double scale)
offset_y += tex->chunk_height * scale;
}
}
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/src/texture.h b/src/texture.h
index a5660ac..4d2aea9 100644
--- a/src/texture.h
+++ b/src/texture.h
@@ -49,3 +49,6 @@ int imv_texture_set_image(struct imv_texture *tex, FIBITMAP *image);
void imv_texture_draw(struct imv_texture *tex, int x, int y, double scale);
#endif
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/src/util.c b/src/util.c
index 0a15238..bdc36f2 100644
--- a/src/util.c
+++ b/src/util.c
@@ -182,3 +182,6 @@ void imv_printf(SDL_Renderer *renderer, TTF_Font *font, int x, int y,
SDL_FreeSurface(surf);
va_end(args);
}
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/src/util.h b/src/util.h
index 09d5554..039d55f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -38,3 +38,6 @@ void imv_printf(SDL_Renderer *renderer, TTF_Font *font, int x, int y,
SDL_Color *fg, SDL_Color *bg, const char *fmt, ...);
#endif
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/src/viewport.c b/src/viewport.c
index 07fc1cf..e706643 100644
--- a/src/viewport.c
+++ b/src/viewport.c
@@ -186,3 +186,6 @@ int imv_viewport_needs_redraw(struct imv_viewport *view)
}
return redraw;
}
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/src/viewport.h b/src/viewport.h
index c4b9613..0f19b85 100644
--- a/src/viewport.h
+++ b/src/viewport.h
@@ -85,3 +85,6 @@ void imv_viewport_update(struct imv_viewport *view, struct imv_texture *tex);
int imv_viewport_needs_redraw(struct imv_viewport *view);
#endif
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/test/loader.c b/test/loader.c
index b528c8f..bbbb8d7 100644
--- a/test/loader.c
+++ b/test/loader.c
@@ -38,3 +38,6 @@ int main(void)
return cmocka_run_group_tests(tests, NULL, NULL);
}
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */
diff --git a/test/navigator.c b/test/navigator.c
index 4659f80..2c29ea2 100644
--- a/test/navigator.c
+++ b/test/navigator.c
@@ -73,3 +73,6 @@ int main(void)
return cmocka_run_group_tests(tests, NULL, NULL);
}
+
+
+/* vim:set ts=2 sts=2 sw=2 et: */