diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-02 01:43:44 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-02 01:43:44 (EDT) |
commit | 754f250ef420f11225d3f9f75157c4c02287deff (patch) | |
tree | 8e6399aa6ffc9ce7180b049d33d5f7bcba048acc /src/main.c | |
parent | 6726ddebccda0eaa6b75d1d14587aecce62ad826 (diff) | |
download | mazefight-754f250ef420f11225d3f9f75157c4c02287deff.zip mazefight-754f250ef420f11225d3f9f75157c4c02287deff.tar.gz mazefight-754f250ef420f11225d3f9f75157c4c02287deff.tar.bz2 |
dirs: New functions
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,7 @@ #include <SDL_ttf.h> #include <stdlib.h> #include "defs.h" +#include "dirs.h" static SDL_Window *_mf_window; static SDL_Renderer *_mf_renderer; @@ -86,6 +87,9 @@ int main(int argc __attribute__((__unused__)), char *argv[] __attribute__((__unused__))) { + /* Find data directories */ + mf_find_dirs(argv[0]); + /* Initialize SDL libraries */ if (_mf_init() < 0) { return EXIT_FAILURE; |