openkknd: compiling... In file included from src/rng.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/config.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/png.c:8: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/snapshot.c:6: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ src/snapshot.c: In Funktion »snapshot_capture«: src/snapshot.c:62:5: warning: diese »if«-Klausel beschützt nicht … [-Wmisleading-indentation] 62 | if (camx < 0) camx = 0; if (camy < 0) camy = 0; | ^~ src/snapshot.c:62:29: note: … diese Anweisung, aber letztere ist verwirrend eingerückt, als wäre sie abhängig von »if« 62 | if (camx < 0) camx = 0; if (camy < 0) camy = 0; | ^~ In file included from src/map.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ src/map.c: In Funktion »map_init«: src/map.c:66:13: warning: Variable »pos« wird nicht verwendet [-Wunused-variable] 66 | int pos = rng_range(rng, 8, m->w - 9); | ^~~ In file included from src/sprites.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/units.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/buildings.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/projectiles.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/render.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ src/render.c: In Funktion »render_buildings«: src/render.c:106:17: warning: Variable »pct« wird nicht verwendet [-Wunused-variable] 106 | int pct = (int)(b->build * 100); | ^~~ In file included from src/input.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/ai.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/audio.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/save.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/engine.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ In file included from src/main.c:1: include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment] 10 | * matching src/*.c translation units. include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert 277 | #define MAX_PARTICLES 2048 | ^~~~~~~~~~~~~ include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition 46 | #define MAX_PARTICLES 4000 | ^~~~~~~~~~~~~ src/main.c: In Funktion »main«: src/main.c:50:16: warning: Variable »diff« gesetzt, aber nicht verwendet [-Wunused-but-set-variable=] 50 | Difficulty diff = DIFF_NORMAL; | ^~~~ src/main.c: Auf höchster Ebene: src/main.c:32:13: warning: »save_snapshot« definiert, aber nicht verwendet [-Wunused-function] 32 | static void save_snapshot(Game *g, int n) { | ^~~~~~~~~~~~~ openkknd: built -> ./openkknd usage: ./openkknd [--easy|--normal|--hard] [--load savegame.kknd]