------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.1.txz Installing /packages/All/gmake-4.2.1_3.txz Installing /packages/All/libogg-1.3.4,4.txz Installing /packages/All/png-1.6.37.txz Installing /packages/All/libvorbis-1.3.6,3.txz Installing /packages/All/expat-2.2.8.txz Installing /packages/All/libffi-3.2.1_3.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/wayland-1.16.0.txz Installing /packages/All/pciids-20200222.txz Installing /packages/All/libpciaccess-0.16.txz Installing /packages/All/libdrm-2.4.100.txz Installing /packages/All/libelf-0.8.13_3.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2019.2.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9,1.txz Installing /packages/All/libXfixes-5.0.3_2.txz Installing /packages/All/libXdamage-1.1.5.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXrandr-1.5.2.txz Installing /packages/All/libxshmfence-1.3.txz Installing /packages/All/libXxf86vm-1.1.4_3.txz Installing /packages/All/mesa-libs-18.3.2_4.txz Installing /packages/All/libGLU-9.0.1.txz Installing /packages/All/libICE-1.0.10,1.txz Installing /packages/All/libSM-1.2.3,1.txz Installing /packages/All/libXcursor-1.2.0.txz Installing /packages/All/libXt-1.2.0,1.txz Installing /packages/All/libXpm-3.5.13.txz Installing /packages/All/libXxf86dga-1.1.5.txz Installing /packages/All/allegro-4.4.3.1.txz SUCCEEDED 00:00:06 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The fargoal port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> fargoal-20040629_3 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The fargoal port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> fargoal-20040629_3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fargoal-20040629_3 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The fargoal port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> fargoal-20040629_3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fargoal-20040629_3 for building => SHA256 Checksum OK for fargoal20040629.zip. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The fargoal port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> fargoal-20040629_3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fargoal-20040629_3 for building ===> Extracting for fargoal-20040629_3 => SHA256 Checksum OK for fargoal20040629.zip. Extracted Memory Use: 3.28M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for fargoal-20040629_3 ===> Applying ports patches for fargoal-20040629_3 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> fargoal-20040629_3 depends on executable: gmake - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> fargoal-20040629_3 depends on shared library: liballeg.so - found (/usr/local/lib/liballeg.so) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> fargoal-20040629_3 depends on executable: gmake - found ===> fargoal-20040629_3 depends on shared library: liballeg.so - found (/usr/local/lib/liballeg.so) ===> Configuring for fargoal-20040629_3 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for fargoal-20040629_3 gmake[1]: Entering directory '/construction/games/fargoal/fargoal/src' cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o char.o char.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o config.o config.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o credits.o credits.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o game.o game.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o gfx.o gfx.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o main.o main.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o map.o map.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o menu.o menu.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o message.o message.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o monster.o monster.c credits.c: In function 'credits_render': credits.c:86:2: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from credits.c:1: /usr/local/include/allegro/alcompat.h:137:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:137:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ credits.c:88:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from credits.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ credits.c:99:3: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, x, 60 + y, layout_color (LC_TITLE), ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from credits.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ credits.c:104:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from credits.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c: In function '_draw_hits': game.c:507:2: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:137:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:137:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ game.c:513:5: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, hitx[i], hity[i], hitv[i] < 0 ? makecol (255, 0, 0) : makecol (0, 200, 0), "%i", abs (hitv[i])); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c: In function 'game_render': game.c:695:2: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:137:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:137:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ game.c:704:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, 30, 54, ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ map.c: In function 'map_draw': map.c:1069:3: warning: 'set_clip' is deprecated [-Wdeprecated-declarations] set_clip (page, DR_l[i] * tw, TOP + DR_t[i] * th, (DR_r[i] + 1) * tw - 1, TOP + (DR_b[i] + 1) * th - 1); ^~~~~~~~ game.c:713:3: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, 54, layout_color (LC_GOLD), ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from map.h:1, from map.c:19: /usr/local/include/allegro/alcompat.h:189:26: note: declared here AL_FUNC_DEPRECATED(void, set_clip, (BITMAP *bitmap, int x1, int y_1, int x2, int y2)); ^~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #degame.c:722:4: warning: 'textprintf_right' is deprecated [-Wdeprecated-declarations] textprintf_rfine AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:189:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(void, set_clip, (BITMAP *bitmap, int x1, int y_1, int x2, int y2)); ^~~~~~~~~~~~~~~~~~ ight (page, font, SCREEN_W - 30, 40, ^~~~~~~~~~~~~~~~ main.c: In function 'fix_alt_tab': map.c:1072:2: warning: 'set_clip' is deprecated [-Wdeprecated-declarations] set_clip (page, 0, 0, page->w, page->h); ^~~~~~~~ main.c:73:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (set_display_switch_mode (SWITCH_BACKGROUND)) ^~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/includeIn file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from map.h:1, from map.c:19: /usr/local/include/allegro/alcompat.h:189:26: note: declared here AL_FUNC_DEPRECATED(void, set_clip, (BITMAP *bitmap, int x1, int y_1, int x2, int y2)); ^~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:189:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(void, set_clip, (BITMAP *bitmap, int x1, int y_1, int x2, int y2)); ^~~~~~~~~~~~~~~~~~ /allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:161:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (strmain.c:75:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' set_display_switch_callback (SWITCH_IN, display_switch); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ uct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) main.c: In function 'run_render': ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:161:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ main.c:216:3: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (0); ^~~~~~~~~ game.c:726:4: warning: 'textprintf_right' is deprecated [-Wdeprecated-declarations] textprintf_right (page, font, SCREEN_W - 30, 54, ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from main.c:6: /usr/local/include/allegro/alcompat.h:137:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:137:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ main.c:217:3: warning: 'textprintf_right' is deprecated [-Wdeprecated-declarations] textprintf_right (screen, font, SCREEN_W, 0, makecol (255, 255, 255), "%d fps", fps); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:161:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (strIn file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from main.c:6: /usr/local/include/allegro/alcompat.h:161:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:161:1: nuct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:161:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, ote: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:739:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, stats_x, stats_y, layout_color (LC_STATS), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:741:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, stats_x, stats_y + 22, layout_color (LC_STATS), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:368:2: warning: 'set_window_close_button' is deprecated [-Wdeprecated-declarations] set_window_close_button (1); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:743:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, stats_x, stats_y + 44, layout_color (LC_STATS), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from main.c:6: /usr/local/include/allegro/alcompat.h:176:27: note: declared here AL_INLINE_DEPRECATED(int, set_window_close_button, (int enable), ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:91:68: note: in definition of macro 'AL_INLINE' extern __inline__ __attribute__((__gnu_inline__)) type name args code ^~~~ /usr/local/include/allegro/alcompat.h:176:1: note: in expansion of macro 'AL_INLINE_DEPRECATED' AL_INLINE_DEPRECATED(int, set_window_close_button, (int enable), ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BImain.c:369:2: warning: 'set_window_close_hook' is deprecated [-Wdeprecated-declarations] set_window_close_hook (close_button); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from main.c:6: /usr/local/include/allegro/alcompat.h:182:28: note: declared here AL_INLINE_DEPRECATED(void, set_window_close_hook, (void (*proc)(void)), ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:91:68: note: in definition of macro 'AL_INLINE' extern __inline__ __attribute__((__gnu_inline__)) type name args code ^~~~ /usr/local/include/allegro/alcompat.h:182:1: note: in expansion of macro 'AL_INLINE_DEPRECATED' AL_INLINE_DEPRECATED(void, set_window_close_hook, (void (*proc)(void)), ^~~~~~~~~~~~~~~~~~~~ main.c:423:4: warning: 'file_size' is deprecated [-Wdeprecated-declarations] int s = file_size ("agreement.txt"); ^~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from main.c:6: /usr/local/include/allegro/alcompat.h:132:26: note: declared here AL_FUNC_DEPRECATED(long, file_size, (AL_CONST char *filename)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:132:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(long, file_size, (AL_CONST char *filename)); ^~~~~~~~~~~~~~~~~~ TMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:747:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, info_x, info_y, layout_color (LC_INFO), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:749:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, info_x, info_y + 11, layout_color (LC_INFO), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:751:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, info_x, info_y + 44, layout_color (LC_DUNGEON), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:753:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, info_x, info_y + 55, layout_color (LC_DUNGEON), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:768:6: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, spellbook_x, spellbook_y + i * 11, c, ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:773:6: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, spellbook_x, spellbook_y + i * 11, c, ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~char.c: In function 'char_move': ~~~~~~~~~~ char.c:217:11: warning: variable 'oy' set but not used [-Wunused-but-set-variable] int ox, oy; ^~ char.c:217:7: warning: variable 'ox' set but not used [-Wunused-but-set-variable] int ox, oy; ^~ game.c:777:6: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, spellbook_x, spellbook_y + i * 11, c, ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:783:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, inventory_x, inventory_y, list[1].beaconx ? layout_color (LC_BEACON) : list[1].beacons ? layout_color (LC_BEACON) : layout_color (LC_EMPTY), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:785:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, inventory_x, inventory_y + 22, list[1].sacks ? layout_color (LC_SACKS) : layout_color (LC_EMPTY), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:787:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, inventory_x, inventory_y + 44, list[1].potions ? layout_color (LC_POTIONS) : layout_color (LC_NOPOTIONS), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o player.o player.c message.c: In function 'file_copy': message.c:28:2: warning: 'file_size' is deprecated [-Wdeprecated-declarations] s = file_size (src); ^ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from message.c:1: /usr/local/include/allegro/alcompat.h:132:26: note: declared here AL_FUNC_DEPRECATED(long, file_size, (AL_CONST char *filename)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:132:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(long, file_size, (AL_CONST char *filename)); ^~~~~~~~~~~~~~~~~~ message.c: In function 'messages_render': message.c:214:3: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from message.c:1: /usr/local/include/allegro/alcompat.h:137:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:137:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ message.c:216:4: warning: 'textout_right' is deprecated [-Wdeprecated-declarations] textout_right (page, font, messages[p].string, 4 + l * m / f, 4, layout_color (LC_MESSAGE)); ^~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from message.c:1: /usr/local/include/allegro/alcompat.h:149:28: note: declared here AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), ^~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:91:68: note: in definition of macro 'AL_INLINE' extern __inline__ __attribute__((__gnu_inline__)) type name args code ^~~~ /usr/local/include/allegro/alcompat.h:149:1: note: in expansion of macro 'AL_INLINE_DEPRECATED' AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), ^~~~~~~~~~~~~~~~~~~~ message.c:217:3: warning: 'textout' is deprecated [-Wdeprecated-declarations] textout (page, font, messages[message_current].string, 4 + l * m / f, 4, layout_color (LC_MESSAGE)); ^~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from message.c:1: /usr/local/include/allegro/alcompat.h:139:28: note: declared here AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), ^~~~~~~ /usr/local/include/allegro/internal/alconfig.h:91:68: note: in definition of macro 'AL_INLINE' extern __inline__ __attribute__((__gnu_inline__)) type name args code ^~~~ /usr/local/include/allegro/alcompat.h:139:1: note: in expansion of macro 'AL_INLINE_DEPRECATED' AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), ^~~~~~~~~~~~~~~~~~~~ menu.c: In function 'menu_render': menu.c:767:3: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:137:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:137:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ menu.c:809:5: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, x, 120 + y, color, "%s", str); ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:842:5: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, SCREEN_W / 2, 276, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:848:5: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, SCREEN_W / 2, 276, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:862:5: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, SCREEN_W / 2, 300, layout_color (LC_HELP), ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:865:5: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, SCREEN_W / 2, 300, layout_color (LC_HELP), ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:870:4: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, SCREEN_W / 2, 350, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:887:3: warning: 'textprintf_right' is deprecated [-Wdeprecated-declarations] textprintf_right (page, font, SCREEN_W - 5, SCREEN_H - 5 - 8, ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:161:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:161:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ monster.c: In function 'monster_change_position': monster.c:59:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (list[id].type >= CHAR_DIREWOLF) ^ monster.c:62:3: note: here case SPOT_UP: ^~~~ cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o save.o save.c save.c: In function 'game_load': save.c:72:17: warning: pointer targets in passing argument 2 of 'ass_get' differ in signedness [-Wpointer-sign] ass_get (#var, &var); ^~~~~~ static void ~~~~~~~~~~~ save_char (PACKFILE *file, int id) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~ int type = list[id].type; ~~~~~~~~~~~~~~~~~~~~~~~~~ PACKFILE *chunk; ~~~~~~~~~~~~~~~~ chunk = pack_fopen_chunk (file, 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (type); ~~~~~~~~~~~~ save (list[id].subtype); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].x); ~~~~~~~~~~~~~~~~~~ save (list[id].y); ~~~~~~~~~~~~~~~~~~ save (list[id].dx); ~~~~~~~~~~~~~~~~~~~ save (list[id].dy); ~~~~~~~~~~~~~~~~~~~ save (list[id].step); ~~~~~~~~~~~~~~~~~~~~~ save (list[id].hit); ~~~~~~~~~~~~~~~~~~~~ save (list[id].alive); ~~~~~~~~~~~~~~~~~~~~~~ save (list[id].fighting); ~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].trapped); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].attacked); ~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].healing_time); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].delay); ~~~~~~~~~~~~~~~~~~~~~~ save (list[id].exp); ~~~~~~~~~~~~~~~~~~~~ save (list[id].next); ~~~~~~~~~~~~~~~~~~~~~ save (list[id].lev); ~~~~~~~~~~~~~~~~~~~~ save (list[id].maxhit); ~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].dex); ~~~~~~~~~~~~~~~~~~~~ save (list[id].current_level); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[0]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[1]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[2]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[4]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[5]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[6]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[7]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[8]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[9]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[10]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[11]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[12]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[13]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[14]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[15]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[16]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[17]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[18]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[19]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[20]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].deepest_level); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].potions); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].sacks); ~~~~~~~~~~~~~~~~~~~~~~ save (list[id].beacons); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].gold); ~~~~~~~~~~~~~~~~~~~~~ save (list[id].weapon); ~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].map); ~~~~~~~~~~~~~~~~~~~~ save (list[id].sword); ~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[0].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[0].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[0].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[1].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[1].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[1].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[2].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[2].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[2].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[3].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[3].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[3].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[4].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[4].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[4].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[5].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[5].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[5].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].beaconx); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].beacony); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].sacrificed_gold); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].amulets_of_healing); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].amulets_of_light); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pack_fclose_chunk (chunk); ~~~~~~~~~~~~~~~~~~~~~~~~~~ } ~ static void ~~~~~~~~~~~ load_char (PACKFILE *file, int id) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~ int type; ~~~~~~~~~ memset (&list[id], 0, sizeof list[id]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ass_read (file); ~~~~~~~~~~~~~~~~ load (type); ~~~~~~~~~~~~ list[id].type = type; ~~~~~~~~~~~~~~~~~~~~~ load (list[id].subtype); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].x); ~~~~~~~~~~~~~~~~~~ load (list[id].y); ~~~~~~~~~~~~~~~~~~ load (list[id].dx); ~~~~~~~~~~~~~~~~~~~ load (list[id].dy); ~~~~~~~~~~~~~~~~~~~ load (list[id].step); ~~~~~~~~~~~~~~~~~~~~~ load (list[id].hit); ~~~~~~~~~~~~~~~~~~~~ load (list[id].alive); ~~~~~~~~~~~~~~~~~~~~~~ load (list[id].fighting); ~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].trapped); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].attacked); ~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].healing_time); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].delay); ~~~~~~~~~~~~~~~~~~~~~~ load (list[id].exp); ~~~~~~~~~~~~~~~~~~~~ load (list[id].next); ~~~~~~~~~~~~~~~~~~~~~ load (list[id].lev); ~~~~~~~~~~~~~~~~~~~~ load (list[id].maxhit); ~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].dex); ~~~~~~~~~~~~~~~~~~~~ load (list[id].current_level); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[0]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[1]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[2]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[4]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[5]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[6]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[7]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[8]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[9]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[10]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[11]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[12]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[13]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[14]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[15]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[16]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[17]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[18]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[19]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[20]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].deepest_level); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].potions); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].sacks); ~~~~~~~~~~~~~~~~~~~~~~ load (list[id].beacons); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].gold); ~~~~~~~~~~~~~~~~~~~~~ load (list[id].weapon); ~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].map); ~~~~~~~~~~~~~~~~~~~~ load (list[id].sword); ~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[0].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[0].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[0].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[1].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[1].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[1].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[2].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[2].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[2].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[3].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[3].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[3].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[4].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[4].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[4].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[5].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[5].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[5].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].beaconx); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].beacony); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].sacrificed_gold); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].amulets_of_healing); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].amulets_of_light); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* Save-file compatibility */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~ int i = 0; ~~~~~~~~~~ ass_get ("slain_foes", &i); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ list[id].slain_foes[0] += i; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ } ~ ass_clear (); ~~~~~~~~~~~~~ } ~ int ~~~ game_save (int nr) ~~~~~~~~~~~~~~~~~~ { ~ char name[256]; ~~~~~~~~~~~~~~~ PACKFILE *file; ~~~~~~~~~~~~~~~ sprintf (name, "data/save%i.dat", nr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file = pack_fopen (name, "wp"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if (file) ~~~~~~~~~ { ~ int i; ~~~~~~ int monster; ~~~~~~~~~~~~ PACKFILE *chunk = pack_fopen_chunk (file, 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (notrunning); ~~~~~~~~~~~~~~~~~~ save (won); ~~~~~~~~~~~ save (gameover); ~~~~~~~~~~~~~~~~ save (spiral_map); ~~~~~~~~~~~~~~~~~~ save (swordrun); ~~~~~~~~~~~~~~~~ save (global_steps); ~~~~~~~~~~~~~~~~~~~~ save (char_num); ~~~~~~~~~~~~~~~~ monster = monster_count (); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (monster); ~~~~~~~~~~~~~~~ save (monster_strength); ~~~~~~~~~~~~~~~~~~~~~~~~ save (monster_max); ~~~~~~~~~~~~~~~~~~~ save (spawnpoints); ~~~~~~~~~~~~~~~~~~~ save (spawnx[0]); ~~~~~~~~~~~~~~~~~ save (spawny[0]); ~~~~~~~~~~~~~~~~~ save (spawnx[1]); ~~~~~~~~~~~~~~~~~ save (spawny[1]); ~~~~~~~~~~~~~~~~~ save (spawnx[2]); ~~~~~~~~~~~~~~~~~ save (spawny[2]); ~~~~~~~~~~~~~~~~~ save (spawnx[3]); ~~~~~~~~~~~~~~~~~ save (spawny[3]); ~~~~~~~~~~~~~~~~~ save (spawnx[4]); ~~~~~~~~~~~~~~~~~ save (spawny[4]); ~~~~~~~~~~~~~~~~~ save (temple_x); ~~~~~~~~~~~~~~~~ save (temple_y); ~~~~~~~~~~~~~~~~ save (swordlev); ~~~~~~~~~~~~~~~~ save (mrand_seed); ~~~~~~~~~~~~~~~~~~ pack_fclose_chunk (chunk); ~~~~~~~~~~~~~~~~~~~~~~~~~~ for (i = 0; i < char_num; i++) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save_char (file, i); ~~~~~~~~~~~~~~~~~~~~ chunk = pack_fopen_chunk (file, 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ map_save (chunk); ~~~~~~~~~~~~~~~~~ pack_fclose_chunk (chunk); ~~~~~~~~~~~~~~~~~~~~~~~~~~ pack_fclose (file); ~~~~~~~~~~~~~~~~~~~ sprintf (name, "data/save%i.html", nr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ messages_exit (name); ~~~~~~~~~~~~~~~~~~~~~ return 1; ~~~~~~~~~ } ~ return 0; ~~~~~~~~~ } ~ int ~~~ game_load (int nr) ~~~~~~~~~~~~~~~~~~ { ~ char name[256]; ~~~~~~~~~~~~~~~ PACKFILE *file; ~~~~~~~~~~~~~~~ sprintf (name, "data/save%i.dat", nr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file = pack_fopen (name, "rp"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if (file) ~~~~~~~~~ { ~ int i; ~~~~~~ int monster; ~~~~~~~~~~~~ PACKFILE *chunk; ~~~~~~~~~~~~~~~~ ass_read (file); ~~~~~~~~~~~~~~~~ load (notrunning); ~~~~~~~~~~~~~~~~~~ load (won); ~~~~~~~~~~~ load (gameover); ~~~~~~~~~~~~~~~~ load (spiral_map); ~~~~~~~~~~~~~~~~~~ load (swordrun); ~~~~~~~~~~~~~~~~ load (global_steps); ~~~~~~~~~~~~~~~~~~~~ load (char_num); ~~~~~~~~~~~~~~~~ load (monster); ~~~~~~~~~~~~~~~ monster_set_count (monster); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (monster_strength); ~~~~~~~~~~~~~~~~~~~~~~~~ load (monster_max); ~~~~~~~~~~~~~~~~~~~ load (spawnpoints); ~~~~~~~~~~~~~~~~~~~ load (spawnx[0]); ~~~~~~~~~~~~~~~~~ load (spawny[0]); ~~~~~~~~~~~~~~~~~ load (spawnx[1]); ~~~~~~~~~~~~~~~~~ load (spawny[1]); ~~~~~~~~~~~~~~~~~ load (spawnx[2]); ~~~~~~~~~~~~~~~~~ load (spawny[2]); ~~~~~~~~~~~~~~~~~ load (spawnx[3]); ~~~~~~~~~~~~~~~~~ load (spawny[3]); ~~~~~~~~~~~~~~~~~ load (spawnx[4]); ~~~~~~~~~~~~~~~~~ load (spawny[4]); ~~~~~~~~~~~~~~~~~ load (temple_x); ~~~~~~~~~~~~~~~~ load (temple_y); ~~~~~~~~~~~~~~~~ load (swordlev); ~~~~~~~~~~~~~~~~ load (mrand_seed); ~~~~~~~~~~~~~~~~ save.c:348:3: note: in expansion of macro 'load' load (mrand_seed); ^~~~ save.c:40:1: note: expected 'int *' but argument is of type 'unsigned int *' ass_get (char const *str, int *ptr) ^~~~~~~ cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o scroller.o scroller.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o spell.o spell.c scroller.c: In function 'scroller_render': scroller.c:80:2: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:137:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:137:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ scroller.c:83:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "The sword of Fargoal!!"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:84:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "created by Jeff McCord"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:85:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "released by Epyx in 1983"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:91:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "presented by"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:92:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "Paul Pridham"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:93:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "and"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:94:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "Elias Pschernig"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:96:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, SCREEN_H + 7 * FPS - pos, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:103:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, 320, y, makecol (255, 255, 255), "%s", char_names[i]); ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:104:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, 480, y, makecol (255, 0, 0), "%i slain", list[1].slain_foes[i]); ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:159:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:159:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:111:3: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, SCREEN_H / 2, c, "The End"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:160:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:160:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ save.c:166:16: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] list[id].type = type; ~~~~~~~~~~~~~~^~~~~~ save.c:160:6: note: 'type' was declared here int type; ^~~~ save.c:331:3: warning: 'monster' may be used uninitialized in this function [-Wmaybe-uninitialized] monster_set_count (monster); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o ../sword -s char.o config.o credits.o game.o gfx.o main.o map.o menu.o message.o monster.o player.o save.o scroller.o spell.o `allegro-config --libs` -lm gmake[1]: Leaving directory '/construction/games/fargoal/fargoal/src' SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for fargoal-20040629_3 ===> Generating temporary packing list install -m 555 /construction/games/fargoal/fargoal-sh /construction/games/fargoal/stage/usr/local/bin/fargoal install -s -m 555 /construction/games/fargoal/fargoal/src/../sword /construction/games/fargoal/stage/usr/local/libexec/fargoal cd /construction/games/fargoal/fargoal/src/.. && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "agreement.txt data gfx sfx" /construction/games/fargoal/stage/usr/local/share/fargoal ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for fargoal-20040629_3 file sizes/checksums [50]: 0% file sizes/checksums [50]: 100% packing files [50]: 0% packing files [50]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:02 TOTAL TIME 00:00:13